Originally Posted by till
Yes, you can force the creation. Run the command:
/root/ispconfig/php/php -q /root/ispconfig/scripts/shell/logs.php
and after it has finished:
/root/ispconfig/php/php -q /root/ispconfig/scripts/shell/webalizer.php
Hi guys - just tried running the above command to "force" the web stats and received the error below:
ws0:~# /root/ispconfig/php/php -q /root/ispconfig/scripts/shell/logs.php
Warning: asort() expects parameter 1 to be array, null given in /root/ispconfig/scripts/shell/logs.php on line 172
Warning: Invalid argument supplied for foreach() in /root/ispconfig/scripts/shell/logs.php on line 173
I too received a 404 error when navigating to domain.xx/stats; /stats isnt a folder in this domains web space as far as I can see, so I cant check permissions?
I'm reluctant to run the second command as I don't know if i have broke anything, I'm not a DBA and have limited MySQL knowledge. This box is in production and if it needs downtime, I will need to do this off-peak.
ISPConfig2 - Debian 5 - 2.6.26-2-amd64 -MySQL 5.0.51a-24+lenny4 |