Don’t know if it would be connected with the issue that I posted before, but just now I see that I have permanent php warnings like this in my forum:
Quote:
Warning: file_exists(): open_basedir restriction in effect. File(/proc/loadavg) is not within the allowed path(s): (*******************/httpdocs:/tmp) in *****************/httpdocs/global.php on line 70
Date: Monday 22nd of May 2006 06:26:03 PM
Username:
IP Address: **********
|
And some other like this
Quote:
Warning: mysql_free_result(): supplied argument is not a valid MySQL result resource in ***************/includes/class_core.php on line 744
Date: Monday 22nd of May 2006 06:19:47 PM
Username: No Registrado
IP Address: *************
|
This is line 70 from my global.php
HTML Code:
if ($vbulletin->options['loadlimit'] > 0 AND PHP_OS == 'Linux' AND @file_exists('/proc/loadavg') AND $filestuff = @file_get_contents('/proc/loadavg'))
And this is line 744 from clas_core.php
HTML Code:
return @$this->functions['free_result']($queryresult);
I don’t know how to afford those warnings and db errors, orient me please
-------------------------------
I’ve just “solved” the first php warning, the one about /proc/loadavg
I was using the admincp option that controls the server load
Quote:
*NIX Server Load Limit
vBulletin can read the overall load of the server on certain *NIX setups (including Linux).
This allows vBulletin to determine the load on the server and processor, and to turn away further users if the load becomes too high.
If you do not want to use this option, set it to 0.
A typical level would be 5.00 for a reasonable warning level.
|
and now when I try to disable this the 20warnings/minute had gone
Don’t know clearly what the NIX is and how to use it or if the problem is just with this, ?any one could point me?