WordPress.org

Ready to get started?Download WordPress

Forums

error 500 on site but admin ok, possible solution (3 posts)

  1. bokel
    Member
    Posted 8 years ago #

    I just installed a wordpress blog for a friend of mine and encountered a strange problem. Installation went smoothly but the blog always showed error 500, while the admin section worked without a problem.

    I digged into the code and found out, that the problem comes from a call to the method handle_404 inside method main of class WP.
    It seems like my server doesn't like the output of the second 200 header. If i understand your code correctly, headers have been sent in send_headers already.
    I'm not sure though, if this is a bug of your code or a problem with my server.

    Cheers,
    bokel

  2. IIIIIIIV
    Member
    Posted 8 years ago #

    What does your friend's site error log say. If it uses Cpanel, there'll be an error log applet which will tell you what caused the 500.

  3. bokel
    Member
    Posted 8 years ago #

    Unfortunately the error log doesn't say anything more than error 500. The server doesn't have support for mod_rewrite, i'm not sure if this important.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags