1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Enable PHP Error Reporting On Dedicated GoDaddy Server

Discussion in 'Plesk 11.x for Linux' started by JoeJoomla, Jul 11, 2012.

  1. JoeJoomla

    JoeJoomla Guest

    0
     
    I need to troubleshoot php errors that are occurring on a site. Pages are being served up blank when trying to view a Joomla! website via the iPhone. There is a mobile template being used for the iPhone. I have error reporting turned on inside the Joomla! CMS. Usually this will show the php errors generated on the page.

    How can I enable php error reporting using Plesk on a dedicated GoDaddy server.

    GoDaddy's chat help told me:

    "that's far, far outside the scope of our support - we're not PHP devleopers (sic) in Server Chat"

    Thanks
     
  2. Mike_GoDaddy

    Mike_GoDaddy New Pleskian

    10
     
    Joined:
    Jun 27, 2012
    Messages:
    3
    Likes Received:
    0
    Location:
    Scottsdale, AZ
  3. JoeJoomla

    JoeJoomla Guest

    0
     
    Thanks for your reply Mike.

    I made this change on the php.ini file in the root directory. I have error reporting set to maximum level inside Joomla! but I am still not seeing the error messages on the pages.
     
  4. Mike_GoDaddy

    Mike_GoDaddy New Pleskian

    10
     
    Joined:
    Jun 27, 2012
    Messages:
    3
    Likes Received:
    0
    Location:
    Scottsdale, AZ
    Did you restart Apache after making the changes to the php.ini file?

    If you are still not seeing errors you can manually check /var/www/vhosts/<domain>/statistics/logs where <domain> is the domain name you are wanting to check the logs for.
     
  5. JoeJoomla

    JoeJoomla Guest

    0
     
    I just restarted Apache and the errors still don't show.

    The error_log in the directory you show me the path to is over 18GB in size! I am not going to be able to download this.
     
  6. abdi

    abdi Platinum Pleskian

    31
    18%
    Joined:
    May 14, 2006
    Messages:
    2,913
    Likes Received:
    60
    You can see or view domain name php errors by going to either

    tail -f /var/www/vhosts/domain.com/statistics/logs/error
     
Loading...