Webalizer not updating
Posted: 26. March 2015 15:37
Just to start I had changed the main directory to where my website files are to a different drive. I had copied over the webalizer.php file from the htdocs and edited the coding as follows. I had also manually ran the script and still not updated. I had checked the LOG file and it is updated with the latest and greatest of updates.
Here is what the BAT file outputs
- Code: Select all
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="author" content="Kai Oswald Seidler, Kay Vogelgesang, Carsten Wiedmann">
<link href="xampp.css" rel="stylesheet" type="text/css">
<title></title>
</head>
<body>
<p>
<pre>
<?php
shell_exec("C:\xampp\webalizer\webalizer.bat");
?>
<script type="text/javascript">
document.location = "/webalizer/";
</script>
</pre>
</body>
</html>
Here is what the BAT file outputs