PDA

View Full Version : I get a warning - Cannot set time limit!!


macin1818
04-19-2004, 06:32 AM
Hi

In the admin section when im spidering and stufff, I get this warning and im a bit concerened....

Warning: Cannot set time limit in safe mode in /home/sites/site154/web/phpdig/admin/cleanup_engine.php on line 24

and.... on the spidering page......

Warning: Cannot set time limit in safe mode in /home/sites/site154/web/phpdig/admin/spider.php on line 16


and.....

Warning: Cannot set time limit in safe mode in /home/sites/site154/web/phpdig/admin/robot_functions.php on line 97



The phpdig files are uploaded to a linux server using apache and mysql3 and php 3


Any help please?

Thanks

Charter
04-20-2004, 11:51 AM
Hi. From php.net (http://www.php.net/manual/en/function.set-time-limit.php) is the following:

set_time_limit() has no effect when PHP is running in safe mode. There is no workaround other than turning off safe mode or changing the time limit in the php.ini.

For PhpDig to fully function, safe_mode should be set to no. However, you might find this (http://www.phpdig.net/showthread.php?threadid=221) thread useful.