planktonicme / phproxyimproved

Automatically exported from code.google.com/p/phproxyimproved
0 stars 0 forks source link

Fatal Error #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Happens whenever I try to instal the server. 

What is the expected output? What do you see instead?

"Fatal error: Call to undefined function sys_getloadavg() in 
D:\hosting\8728047\html\proxy\admin.php on line 72"

What version of the product are you using? On what operating system?
Current version via direct download. OS X 10.8 on comp side

On what url? or host?
GoDaddy host, Windows server

Original issue reported on code.google.com by Matthias...@gmail.com on 11 Sep 2012 at 10:45

GoogleCodeExporter commented 8 years ago
Its your host blocking it

Original comment by Jeffsche...@gmail.com on 13 Sep 2012 at 9:45

GoogleCodeExporter commented 8 years ago
False. The user is using Windows. A simple check in the PHP script can output 
something else instead of using the sys_getloadavg().

if(PHP_OS == "Linux") {
    $sysload = sys_getloadavg();
    $sysload0 = $sysload[0];
} else {
    $sysload0 = "Not avaliable on your operative system!";
}

Original comment by Emil.Hem...@gmail.com on 12 Nov 2012 at 8:20

GoogleCodeExporter commented 8 years ago
Jeff - blocking what?
Does it matter that I'm running PHProxy 0.5b2 w/out any issues?

BTW I too am getting this error.  intall.php loads ok > hit next> fail on 
admin.php .. line 72
Thanks

Original comment by s...@rozas.com on 5 Dec 2012 at 3:07