Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a Plone site that has begun to randomly serve up the wrong content. Any given content suddenly shows something else. Sometimes a JPEG loads a stylesheet instead or a stylesheet loads as a page or a page as an image. The images move around, some times our site logo shows a bullet, or one of the other site images. Fiddler shows the wrong content in the response, the apache logs show the content type of the incorrect file (so if the an image loads in place of a style sheet, apache shows that).

We thought mod_proxy was the source of our grief, but we get the problem hitting Zope directly. I never get the wrong content using the Medusa Monitor to repeatedly hit the content. I do see ConflictErrors in the instance.log file, and they seem to be correlated to the problem, but not 100%.

ZPublisher.Conflict ConflictError at \path\to\object: database conflict error (oid 0x3586, class BTrees._OIBTree.OIBTree, serial this txn started with blah, serial currently committed blah) (X conflicts (0 unresolved) since startup blah)

I pulled that off the web, it's not from our logs, but it's the same message. This may be a red herring, it sounds like those messages are normal.

We've updated to the 3.3.5, same problems.

I'm at a loss. I'm wondering if there a good way to intercept what is being served? Secondly, is there a way to increase the verbosity of the access log to included the content-type?

I've even seen the problem manifest in ZMI. It happens more often when we're authenticated. Sometimes it can take a thousand reloads to see the problem, other times it happens in different ways every time we reload.

I believe we've seen this problem for a couple years, but it was very intermittent, a page would show the content of a GIF, then a reload later wouldn't happen for a long time. Now it's a huge problem.

share|improve this question
I much prefer it when sites deterministically serve wrong content. – Tom O'Connor Dec 16 '10 at 22:54

Could the problem be that it is being traversed incorrectly? Can you give some examples of urls that serve incorrect content?

share|improve this answer
Sure, here's some examples. I've swapped the domain name for SiteRoot, but the rest is the actual URL in the browser. siteroot/logo.gif siteroot/portal_css/Plone%20Default/base-cachekey4524.css siteroot/images/home_center_left.jpg siteroot (just the root page) – Chris Miller Jul 8 '10 at 16:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.