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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to investigate Fatal error

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

  1. Onklmaps

    Onklmaps Member

    Joined:
    Nov 9, 2016
    Messages:
    12
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
  3. Onklmaps

    Onklmaps Member

    Joined:
    Nov 9, 2016
    Messages:
    12
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page