[wp-trac] [WordPress Trac] #11865: Somethimes xml response instead of html

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 23 08:50:11 UTC 2010


#11865: Somethimes xml response instead of html
--------------------------+-------------------------------------------------
 Reporter:  icns          |        Owner:          
     Type:  defect (bug)  |       Status:  reopened
 Priority:  normal        |    Milestone:          
Component:  General       |      Version:  2.9.1   
 Severity:  normal        |   Resolution:          
 Keywords:                |  
--------------------------+-------------------------------------------------
Changes (by vibechild):

 * cc: vibechild (added)
  * status:  closed => reopened
  * resolution:  worksforme =>


Comment:

 I am having this exact problem.  I have it with or without a custom theme.
 I am not using any kind of caching or load balancing.  It is just a plain
 apache virtual host on a single server with no fancy configuration.  It
 happens with or without plugins enabled.  It is not only the server header
 that is changing.  When the header is text/html, it is returning the web
 page - when it is text/xml, it is returning the rss feed for the requested
 page.  In my testing, I have also seen it return "Content-Type:
 application/atom+xml; charset=UTF-8" for the same URL, and then change
 back to text/html a few seconds later.  The content that is returned
 always matches the content-type header, so it is not just the header that
 is wrong.  I also can't see how WP could return a content type of text/xml
 for these pages - never the less, it is doing just that.  I have had this
 happening since at August and have tried every change to my server
 configuration that I can think of.  I have a few observations that might
 help:


 {{{
 I have never seen it happen on the main home page, but it happens on
 calendar and category pages as well as article pages
 It seems to return the same thing for a while and then change to another
 type and stick with that for a while.
 I have reverted to the default theme and still see the problem
 I have removed eAccellerator from my server and still see the problem
 I test with curl from the command line from multiple locations to rule out
 web browser or proxy issues
 There are no caches between me and the web server, and it happens when
 requested from the command line on the web server
 The web server does not log anything useful, just the status code that is
 returned to the browser - the URL is the same regardless of what is
 returned.
 The problem exists with or without suhosin enabled
 }}}


 You can see for yourself at:  http://www.glutenfreemaui.com - I would be
 happy to work with someone to resolve this.  If you really believe that it
 can't be a wordpress bug, the ticket should at least include a solid
 understanding of why it is happening before it is closed.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11865#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list