• hey all. i’ve got a couple of quick questions. my blog is at
    http://blog.ofmirroreye.net and sometimes when i’m posting something new and go to publish it. i’ll get an error 500: internal server error. but the new entry will publish anyways. and then if i edit it later, there’s no problems at all.
    i’m trying to figure out if it’s because of using links/tags/etc. but my test posts always post. the only thing i can think is maybe the length of the inital post is too long? or maybe because the xhtml isn’t valid? i really don’t know, i’m just grasping at straws.
    does anyone have any ideas?
    also, feedvalidator validates my rss feed: http://ofmirroreye.net/blog/wp-rss2.php
    but when i put it in sharp reader, it says “Error reading URL: The underlying connection was closed: The server committed an HTTP protocol violation.” any ideas??
    also, how important is it for the blog to have valid xhtml?
    thanks!
    -cb

Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator James Huff

    (@macmanx)

    While validating your XHTML would be nice (it’s always nice to know that your design isn’t causing any problems), that 500 error is probably what’s causing the RSS trouble as well. When a site tells you that it’s encountered a 500 error, that means, “I can’t tell you now, but it’s all in the server error log.” Your server error log will either tell you exactly what happened to cause the 500 error, or narrow down the suspects.

    Thread Starter chopper_bob

    (@chopper_bob)

    okay. cool. the problem is, i was looking around for the error logs, and found out that because i’m using a shared server, they don’t give us access to the error logs.
    they did give us a php code to add in order to produce error logs. do you think i just put that in the index.php? and can it go anywhere?
    thanks!
    -cb

    Moderator James Huff

    (@macmanx)

    I’m not familiar with setting up the PHP code for the error logs. My server offers the same thing, but when I get a 500 error, I just ask them for the error log from that specific moment. You could probably email them and ask them how to set it up and see why WP is giving you the 500 errors.

    Hi, I also have problems with Sharp Reader. When I validated the feed at feedvalidator.org it gave me a warning saying something like “the feed appears to be utf-8, but the web-server reports US-ASCII. We suggest you fix the problem. “
    I have absolutely no idea about how to fix this, since I am running WP on a shared server (that runs Apache 1.3.x).
    Can anyone help?

    Moderator James Huff

    (@macmanx)

    That isn’t a critical issue and should cause no problems, but you can override what your server reports by adding “AddDefaultCharset utf-8” to your .htaccess file.

    Try Google for “site:ww.wp.xz.cn the feed appears to be utf-8”
    and among the proposed solutions you can also find this
    http://www.w3.org/International/questions/qa-htaccess-charset

    Just did that, but unfortunately the problem stays the same.
    This is the current contents of the .htaccess file in the wordpress directory:
    AddDefaultCharset utf-8
    RewriteEngine On
    RewriteBase /blog
    RewriteRule ^([A-Z]+([a-z]|[0-9])+){2,}$ index.php?wikiword=$0 [QSA]

    Did I enter it in the wrong way or in the wrong place?

    As the above didn’t work, I tried a different tip elsewhere on this wiki, changing text/xml to application/xml in the wp-rss2.php file. Now the feed validates, but I am still having trouble with SharpReader, so I have mailed them about it.
    By the way, adding AddDefaultCharset utf-8 to the .htaccess file does not seem to make any difference unless you add a file-type after it, like .html. But .html is not correct because wp uses php, and when adding php I get HTTP-error 500 instead πŸ™

    Found the solutions in http://ww.wp.xz.cn/support/3/13686
    Short summary: change “Last Modified” to “Last-Modified” in wp-blog-header.php.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘error 500 rss error valid xhtml’ is closed to new replies.