Plesk 9.5.4 PHP Error Reporting

Discussion in 'Site & Server Administration' started by scottlpool2003, Aug 3, 2012.

  1. #1
    I'm managing a Plesk web server and fairly new to server-side things.

    Error reporting is not switched on so as I'm coding websites I'm just getting:

    The website encountered an error while retrieving *SITE.COM*. It may be down for maintenance or configured incorrectly.

    How annoying when I can't see what the error is.

    Anyway, any simple way to switch it on? I've looked all through the settings but can't find it. I ran phpini and it does say it's switched off.

    HELP!!

    Thanks
     
    scottlpool2003, Aug 3, 2012 IP
  2. MilesWeb

    MilesWeb Well-Known Member

    Messages:
    869
    Likes Received:
    35
    Best Answers:
    7
    Trophy Points:
    173
    #2
    You can enable display_errors to On in php.ini. To know the file path use command as below.

    Set it to On and restart apache/httpd.
     
    MilesWeb, Aug 3, 2012 IP
  3. RoseHosting

    RoseHosting Well-Known Member

    Messages:
    230
    Likes Received:
    11
    Best Answers:
    11
    Trophy Points:
    138
    #3
    To enable 'error reporting', log in to your Plesk control panel for your domain, click the setup icon under 'hosting', then uncheck the 'Custom Error Documents' option from the 'Services' menu and click 'ok'.

    To fix the error you are getting, you should check the permissions and ownership of your website files and directories, especially the the permissions and ownership of your website's root directory.
     
    RoseHosting, Aug 4, 2012 IP