WordPress.org

Support

Support » Installation » error 500 on site but admin ok, possible solution

error 500 on site but admin ok, possible solution

  • 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

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘error 500 on site but admin ok, possible solution’ is closed to new replies.