View Single Post
  #1  
Old 10th May 2013, 13:16
vaiojunkie vaiojunkie is offline
Junior Member
 
Join Date: Jul 2008
Posts: 15
Thanks: 0
Thanked 1 Time in 1 Post
Default Broken php scripts

Hello

I had to rebuild our server, all data, databases and users etc has been migrated and all is working OK apart from awstats is not updating and I'm not receiving the Quota alert emails. Running the php script's directly I get the below errors.

Code:
root@ispc1:~# php ispconfig/scripts/shell/awstats.php 

PHP Notice:  Undefined variable: HTTP_GET_VARS in /home/admispconfig/ispconfig/lib/config.inc.php on line 32
PHP Warning:  Invalid argument supplied for foreach() in /home/admispconfig/ispconfig/lib/config.inc.php on line 32
PHP Notice:  Undefined variable: HTTP_POST_VARS in /home/admispconfig/ispconfig/lib/config.inc.php on line 38
PHP Warning:  Invalid argument supplied for foreach() in /home/admispconfig/ispconfig/lib/config.inc.php on line 38
PHP Notice:  Undefined variable: HTTP_COOKIE_VARS in /home/admispconfig/ispconfig/lib/config.inc.php on line 44
PHP Warning:  Invalid argument supplied for foreach() in /home/admispconfig/ispconfig/lib/config.inc.php on line 44
PHP Notice:  Undefined variable: HTTP_GET_VARS in /home/admispconfig/ispconfig/lib/config.inc.php on line 53


and 

root@ispc1:~# php ispconfig/scripts/shell/quota_msg.php 

PHP Notice:  Undefined variable: HTTP_GET_VARS in /home/admispconfig/ispconfig/lib/config.inc.php on line 32
PHP Warning:  Invalid argument supplied for foreach() in /home/admispconfig/ispconfig/lib/config.inc.php on line 32
PHP Notice:  Undefined variable: HTTP_POST_VARS in /home/admispconfig/ispconfig/lib/config.inc.php on line 38
PHP Warning:  Invalid argument supplied for foreach() in /home/admispconfig/ispconfig/lib/config.inc.php on line 38
PHP Notice:  Undefined variable: HTTP_COOKIE_VARS in /home/admispconfig/ispconfig/lib/config.inc.php on line 44
PHP Warning:  Invalid argument supplied for foreach() in /home/admispconfig/ispconfig/lib/config.inc.php on line 44
PHP Notice:  Undefined variable: HTTP_GET_VARS in /home/admispconfig/ispconfig/lib/config.inc.php on line 53
Any clues please?
Reply With Quote
Sponsored Links