]
Quote:
Originally posted by Mutt
my new server won't read uptime either. I'd love to get it working again, but not sure how
|
the problem is in user rights... look here :
Quote:
Warning: SAFE MODE Restriction in effect. The script whose uid is 1740 is not allowed to access /proc/uptime owned by uid 0 in /home/www/web1/html/forum/admin/index.php on line 158
Warning: fopen("/proc/uptime", "r") - Success in /home/www/web1/html/forum/admin/index.php on line 158
Warning: fgets(): supplied argument is not a valid File-Handle resource in /home/www/web1/html/forum/admin/index.php on line 159
Warning: fclose(): supplied argument is not a valid File-Handle resource in /home/www/web1/html/forum/admin/index.php on line 160
Server Uptime:
0 days, 0 hours and 0 minutes
Load Averages:
: :
Warning: SAFE MODE Restriction in effect. The script whose uid is 1740 is not allowed to access /proc/sys/kernel/hostname owned by uid 0 in /home/www/web1/html/forum/admin/index.php on line 140
Warning: fopen("/proc/sys/kernel/hostname", "r") - Success in /home/www/web1/html/forum/admin/index.php on line 140
|
don't look at the number of lines and try to compare to yours... the main idea is to chmod + chown /proc/sys/kernel/hostname to the same uid as your webuser (vbb)