Jump to content

Php Fatal Error. What Can I Do?


Valerio M

Recommended Posts

Hi guys!

 

I've this issue on my Prestashop site.

 

[11-Feb-2016 18:22:46 Europe/Amsterdam] PHP Fatal error: Maximum execution time of 90 seconds exceeded in /home/lecobott/public_html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php on line 196

 

This continuous error depletes resources and sends the site down!

 

What can i do?

 

Thanks ;)

Link to comment
Share on other sites

if you are lucky bacuse a lot hosting providers not accept any php.ini file.

create php.ini file in your shop root folder and write these line in file

max_execution_time = 360 ;
max_input_time = 120 ;
memory_limit = 128M ;

if you still unsuccess try contact your hosting provider and tell this errors.

good luck

Link to comment
Share on other sites

i don't think increasing the time out to 360 seconds is the answer.  if something is running for more than 90 seconds, you want to know why. 

 

as for how, you need to start looking at more logs and determine what that is

 

you're totaly right 90 seconds is very long time , my fault "360 seconds is not solve " 

we need more log records for problem source. thanks..

Link to comment
Share on other sites

I paste here last errors in the report.

I hope this'll be enough !

 

[12-Feb-2016 12:26:52 Europe/Amsterdam] PHP Fatal error:  Maximum execution time of 90 seconds exceeded in /home/lecobott/public_html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php on line 197
[12-Feb-2016 12:41:35 Europe/Amsterdam] PHP Fatal error:  Maximum execution time of 120 seconds exceeded in /home/lecobott/public_html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php on line 196
[12-Feb-2016 12:43:48 Europe/Amsterdam] PHP Fatal error:  Maximum execution time of 120 seconds exceeded in /home/lecobott/public_html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php on line 196
[12-Feb-2016 12:44:42 Europe/Amsterdam] PHP Fatal error:  Maximum execution time of 120 seconds exceeded in /home/lecobott/public_html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php on line 196
[12-Feb-2016 12:45:34 Europe/Amsterdam] PHP Fatal error:  Maximum execution time of 120 seconds exceeded in /home/lecobott/public_html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php on line 197
[12-Feb-2016 12:51:47 Europe/Amsterdam] PHP Fatal error:  Maximum execution time of 120 seconds exceeded in /home/lecobott/public_html/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php on line 201
[12-Feb-2016 13:02:38 Europe/Amsterdam] PHP Notice:  Uninitialized string offset: 0 in /home/lecobott/public_html/classes/Media.php on line 226
[12-Feb-2016 13:02:43 Europe/Amsterdam] PHP Notice:  Uninitialized string offset: 0 in /home/lecobott/public_html/classes/Media.php on line 226
[12-Feb-2016 13:03:22 Europe/Amsterdam] PHP Notice:  Uninitialized string offset: 0 in /home/lecobott/public_html/classes/Media.php on line 226
[12-Feb-2016 13:05:59 Europe/Amsterdam] PHP Notice:  Uninitialized string offset: 0 in /home/lecobott/public_html/classes/Media.php on line 226
[12-Feb-2016 13:06:48 Europe/Amsterdam] PHP Notice:  Uninitialized string offset: 0 in /home/lecobott/public_html/classes/Media.php on line 226
[12-Feb-2016 13:07:32 Europe/Amsterdam] PHP Notice:  Uninitialized string offset: 0 in /home/lecobott/public_html/classes/Media.php on line 226
[12-Feb-2016 13:09:25 Europe/Amsterdam] PHP Notice:  Uninitialized string offset: 0 in /home/lecobott/public_html/classes/Media.php on line 226
[12-Feb-2016 13:14:40 Europe/Amsterdam] PHP Notice:  Uninitialized string offset: 0 in /home/lecobott/public_html/classes/Media.php on line 226
[12-Feb-2016 13:16:26 Europe/Amsterdam] PHP Notice:  Uninitialized string offset: 0 in /home/lecobott/public_html/classes/Media.php on line 226
[12-Feb-2016 13:27:14 Europe/Amsterdam] PHP Strict Standards:  Declaration of Mail::Send() should be compatible with MailCore::Send($id_lang, $template, $subject, $template_vars, $to, $to_name = NULL, $from = NULL, $from_name = NULL, $file_attachment = NULL, $mode_smtp = NULL, $template_path = _PS_MAIL_DIR_, $die = false, $id_shop = NULL, $bcc = NULL, $reply_to = NULL) in /home/lecobott/public_html/override/classes/Mail.php on line 315
[12-Feb-2016 13:27:15 Europe/Amsterdam] PHP Notice:  Uninitialized string offset: 0 in /home/lecobott/public_html/classes/Media.php on line 226
[12-Feb-2016 13:36:10 Europe/Amsterdam] PHP Notice:  Uninitialized string offset: 0 in /home/lecobott/public_html/classes/Media.php on line 226
[12-Feb-2016 14:47:24 Europe/Amsterdam] PHP Notice:  Uninitialized string offset: 0 in /home/lecobott/public_html/classes/Media.php on line 226
[12-Feb-2016 14:54:39 Europe/Amsterdam] PHP Notice:  Uninitialized string offset: 0 in /home/lecobott/public_html/classes/Media.php on line 226
[12-Feb-2016 16:39:22 Europe/Amsterdam] PHP Notice:  Undefined index: categoryProducts in /home/lecobott/public_html/cache/smarty/compile/7c/ec/56/7cec5621c290f6924fbc15f39322c8e1a0139c88.file.productscategory.tpl.cache.php on line 27
[12-Feb-2016 16:39:22 Europe/Amsterdam] PHP Notice:  Trying to get property of non-object in /home/lecobott/public_html/cache/smarty/compile/7c/ec/56/7cec5621c290f6924fbc15f39322c8e1a0139c88.file.productscategory.tpl.cache.php on line 27
[12-Feb-2016 16:39:23 Europe/Amsterdam] PHP Notice:  Undefined index: videosNb in /home/lecobott/public_html/cache/smarty/compile/ab/96/c2/ab96c2f85239035ec9c41011ff6a52dbe2f1dc50.file.tab.tpl.cache.php on line 28
[12-Feb-2016 16:39:23 Europe/Amsterdam] PHP Notice:  Trying to get property of non-object in /home/lecobott/public_html/cache/smarty/compile/ab/96/c2/ab96c2f85239035ec9c41011ff6a52dbe2f1dc50.file.tab.tpl.cache.php on line 28
[12-Feb-2016 17:16:58 Europe/Amsterdam] PHP Notice:  Uninitialized string offset: 0 in /home/lecobott/public_html/classes/Media.php on line 226
[12-Feb-2016 17:32:55 Europe/Amsterdam] PHP Notice:  Uninitialized string offset: 0 in /home/lecobott/public_html/classes/Media.php on line 226
[13-Feb-2016 17:35:09 Europe/Amsterdam] PHP Strict Standards:  Declaration of Mail::Send() should be compatible with MailCore::Send($id_lang, $template, $subject, $template_vars, $to, $to_name = NULL, $from = NULL, $from_name = NULL, $file_attachment = NULL, $mode_smtp = NULL, $template_path = _PS_MAIL_DIR_, $die = false, $id_shop = NULL, $bcc = NULL, $reply_to = NULL) in /home/lecobott/public_html/override/classes/Mail.php on line 315
[13-Feb-2016 17:39:23 Europe/Amsterdam] PHP Notice:  Uninitialized string offset: 0 in /home/lecobott/public_html/classes/Media.php on line 226
[14-Feb-2016 09:00:56 Europe/Amsterdam] PHP Strict Standards:  Declaration of Mail::Send() should be compatible with MailCore::Send($id_lang, $template, $subject, $template_vars, $to, $to_name = NULL, $from = NULL, $from_name = NULL, $file_attachment = NULL, $mode_smtp = NULL, $template_path = _PS_MAIL_DIR_, $die = false, $id_shop = NULL, $bcc = NULL, $reply_to = NULL) in /home/lecobott/public_html/override/classes/Mail.php on line 315
[15-Feb-2016 15:40:03 Europe/Amsterdam] PHP Strict Standards:  Declaration of Mail::Send() should be compatible with MailCore::Send($id_lang, $template, $subject, $template_vars, $to, $to_name = NULL, $from = NULL, $from_name = NULL, $file_attachment = NULL, $mode_smtp = NULL, $template_path = _PS_MAIL_DIR_, $die = false, $id_shop = NULL, $bcc = NULL, $reply_to = NULL) in /home/lecobott/public_html/override/classes/Mail.php on line 315
[16-Feb-2016 23:23:20 Europe/Amsterdam] PHP Notice:  Uninitialized string offset: 0 in /home/lecobott/public_html/classes/Media.php on line 226
[16-Feb-2016 23:37:47 Europe/Amsterdam] PHP Strict Standards:  Declaration of Mail::Send() should be compatible with MailCore::Send($id_lang, $template, $subject, $template_vars, $to, $to_name = NULL, $from = NULL, $from_name = NULL, $file_attachment = NULL, $mode_smtp = NULL, $template_path = _PS_MAIL_DIR_, $die = false, $id_shop = NULL, $bcc = NULL, $reply_to = NULL) in /home/lecobott/public_html/override/classes/Mail.php on line 315
Link to comment
Share on other sites

  • 4 weeks later...
  • 4 weeks later...
  • 5 months later...
  • 1 year later...
  • 4 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...