Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How to investigate Fatal error

Discussion in 'General Discussion' started by Onklmaps, Jun 15, 2017.

  1. Onklmaps

    Onklmaps Member

    Joined:
    Nov 9, 2016
    Messages:
    14
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Norway
    cPanel Access Level:
    DataCenter Provider
    I get "Fatal error" with no more information on my Prestashop during checkout in frontoffice.

    What is likely the cause of the error and how can I investigate it (and fix it)?
    How can I investigate the error? with 500 errors i can usually find a clue in the error_log, but this is not the case for this error.

    I have tried to change php max memory from 128 to 512 (and confirmed this is in effect using phpinfo), but still the error shows up from time to time.

    Any suggestions?
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,384
    Likes Received:
    1,951
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    Did you check both the Apache error log (/usr/local/apache/logs/error_log) and any error_log files within the document root of the website when this happens? Also, which PHP handler are you using?

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. Onklmaps

    Onklmaps Member

    Joined:
    Nov 9, 2016
    Messages:
    14
    Likes Received:
    1
    Trophy Points:
    3
    Location:
    Norway
    cPanel Access Level:
    DataCenter Provider
    Found nothing in /usr/local/apache/logs/error_log, and nothing in the local error_log about this particular error.
    I'm using PHP 5.6 cgi

    Thank you
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,384
    Likes Received:
    1,951
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello,

    You could try modifying Prestashop's defines.inc.php in the config directory to change the display errors option to:

    Code:
    "@ini_set('display_errors', 'on')"
    Then, check to see if the PHP errors appear on the page when this happens.

    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice