PHP Fatal error: Maximum execution time of 10 seconds exceeded in /home/xxx/public_html/includes/classes/reefless.class.php on line 296
what's with this error? my error log is full with this error, repeted over and over again?
PHP Fatal error: Maximum execution time of 10 seconds exceeded in /home/xxx/public_html/includes/classes/reefless.class.php on line 296
what's with this error? my error log is full with this error, repeted over and over again?
Hello,
You can circumvent it by adding the following line:
ini_set('max_execution_time', 120);
120 - is the number of seconds.
No, you can add this code in php script (for example: index.php)in htaccess?
Below is an option for htaccess:
php_value max_execution_time 120
ok. thank you.
In addition what you did you can try
set_time_limit(0);
Reason of the problem in some page which can't be reached in the reefless -> getPageContent function
I think the following code will help to remove this error
open classes/reefless.class.php find the function getPageContent and change as below
Code:Only registered members can view the code.
Can anyone confirm if this fixed the PHP Fatal error: Maximum execution time of 10 seconds exceeded error?
Thanks,
I have triehttp://www.flynax.com/forum/newreply.php?p=5369&noquote=1d this modification without the set_time_limit(0); and it works like a charm...