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.

Post showing 500 Internal Server Error

Discussion in 'General Discussion' started by Harshal Vaidya, Sep 26, 2012.

  1. Harshal Vaidya

    Joined:
    Jul 25, 2012
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Planet Earth
    cPanel Access Level:
    Root Administrator
    Hello,

    One of my client is having Dedicated Cpanel Server with wordpress installations, with frequent posts per day..

    The site works fine but occasionally, it throws 500 Internal Server Error on opening a post. Upon investigation it has been observed that, "error_log" file is generated under Document root.. and deleting the same. The issue got fix.

    Shall we try to disable log_error through php.ini ?

    Your help will be appreciable, if you could provide us the exact details about the above matter..


    Thanks in Advance :)


    Regards,
    Harshal Vaidya...
     
    #1 Harshal Vaidya, Sep 26, 2012
    Last edited: Sep 26, 2012
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,470
    Likes Received:
    197
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Whats in the log, causing the errors? You might want to fix the error instead of disabling the log that helps you find out the problem.
     
  3. Harshal Vaidya

    Joined:
    Jul 25, 2012
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Planet Earth
    cPanel Access Level:
    Root Administrator
    Thank you for your reply ..

    Yes. definitely..

    The error log is : series of "Premature end of script"
    PHP Module on server is SuPHP
     
  4. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,470
    Likes Received:
    197
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    To be clear, when you remove the error log, the site operates as expected? Not sure I understand that.

    There is a list of tags here you might look thru for any useful tips, having to do with 500 errors and Wordpress:
    WordPress › Support » Tags — 500-error

    What happens if you rename your .htaccess to htaccess.txt for a moment? Does the site work ok, then? If yes, you might want to look into whats in that .htaccess file. As one suggestion to troubleshoot this.
     
Loading...

Share This Page