Internal 500 Error in `error.log`

Discussion in 'Installation/Configuration' started by Emsanator, Jan 16, 2022.

  1. Emsanator

    Emsanator Member

    Hello,

    When I get an Internal 500 error, I can't see the error in the error.log file.
    I currently have an Error 500 but I can't find where the error is.
    The file is empty;
    What can I do to be able to log/see the 500 Error?
    PHP 7.4 PHP-FPM

    Thank you.
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    Check the global web server error log and also check access.log of the site if the request is handled by the site that you check at all. Also, some CMS throws errors themself (not the webserver) without writing them to the webserver log, in such a case it can help to enable debug mode in that cms if it has such a mode.
     
  3. Emsanator

    Emsanator Member

    Do you mean files in this location for "global web server error log"?
    Code:
    /var/log/nginx
    I was wondering if there is an error log in a different location because I haven't been able to fix the internal 500 error for two days.
    I do not use CMS, I am working on a project that I am trying to develop.
     
  4. Emsanator

    Emsanator Member

    I solved the problem, I think posting here brought me luck. :)
    I had unwittingly made changes to the YAML file and I was getting 500 errors because there was a syntax issue.
     

Share This Page