Quote:
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:
Code:
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.
Spec:
ISPConfig2 - Debian 5 - 2.6.26-2-amd64 -MySQL 5.0.51a-24+lenny4 |
Recent comments
1 day 11 hours ago
1 day 20 hours ago
1 day 23 hours ago
2 days 30 min ago
2 days 1 hour ago
2 days 3 hours ago
2 days 5 hours ago
2 days 6 hours ago
2 days 22 hours ago
2 days 23 hours ago