Hello Babynus,
Cron stops with the following reason and doesn t restart anymore.
Fri Nov 21 14:26:14.222055 2014] [:error] [pid 4496:tid 1736] [client 192.168.1.58:58603] PHP Fatal error: Maximum execution time of 30 seconds exceeded in C:\\wamp\\www\\projeqtor\\model\\Cron.php on line 302, referer: http://192.168.1.12/projeqtor/view/main.php
We cannot define if this is caused by Apache or Projeqtor.
Do you have any idea for thus issue please?
Regards, ND
Thanks for your quick reply.
I don t find the message warning in logs.
And I m not skilled enough to run test php code.
I don t find the string "set_time_limit" in any files of wamp folder!!! Is this strange or not?
Try the attached script (after unzipping and copying into your web directory)
Run it from a browser.
It should result in something like :
SET REPORTING LEVEL TO GET ALL ERRORS
SET TIME LIMIT TO UNLIMITED EXECUTION
OK, NEW TIME LIMIT ACCEPTED BY PHP
SCRIPT RUNNING FOR 0 S
SCRIPT RUNNING FOR 10 S
SCRIPT RUNNING FOR 20 S
SCRIPT RUNNING FOR 30 S
SCRIPT RUNNING FOR 40 S
SCRIPT RUNNING FOR 50 S
SCRIPT RUNNING FOR 60 S
SCRIPT RUNNING FOR 70 S
SCRIPT RUNNING FOR 80 S
SCRIPT RUNNING FOR 90 S
SCRIPT RUNNING FOR 100 S
...
SCRIPT RUNNING FOR 110 S
never ending
If it stops after 30 seconds, it means set_time_limit(0) failed. This is the case when PHP is in safe mode.
Try and change php.ini
max_execution_time = 300
but this is only for testing, as it is not good practice to keep it to zero in production mode.
You may also face some time limit defined in Apache or IIS.
En poursuivant votre navigation, vous acceptez le dépôt de cookies tiers destinés au bon fonctionnement et à la sécurisation du site (gestion de session, reCaptcha) et à une analyse statistique anonymisée des accès sur notre site (Google Analytics). Si vous vous inscrivez, les informations que vous fournirez ne seront jamais divulguées à un tiers sous quelque forme que ce soit. En savoir plus
Cookies settings
×
Functional Cookies
Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.
Session
Please login to see yours activities!
Other cookies
Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.