By somatics on
I'm having the oddest problem -- and right on the day we are supposed to take this site live!!
At the bottom of each page of our Drupal 7.7 site, Drupal is drawing a whole other page. If you look at the html source it even has a header with CSS etc and body.
The page alway contains our logo and slogan (just like on the regular page) and the statement "Error"
I can't for the life of me figure out even which element of drupal is involved! It's not the theme, since it happens in different themes.
I'm getting error messages in the dblog that say things like the following; I don't know if these are related:
TYPE php
DATE Friday, August 26, 2011 - 07:27
USER Anonymous (not verified)
LOCATION http://domain.com/admin/modules
REFERRER http://domain.com/admin/modules
MESSAGE Warning: Cannot modify header information - headers already sent by (output started at /drupalfolder/includes/common.inc:2567) in drupal_send_headers() (line 1022 of /drupalfolder/includes/bootstrap.inc).
SEVERITY warning
Comments
It's a slow process but you
It's a slow process but you can try disabling each contributed module and reloading the pages to see if that fixes the problem. I'd only disable one at a time. Since you're supposed to launch today, take a database backup now so you'll have something to fall back on if something catastrophic happens to a DB table.
Since this just started today, start looking at the modules or changes you made most recently and work your way back.
I have the exact same problem, did you find a solution?
I can't locate the problem my self, please let me know if you solve it.
Thanks
Same here
Generating error messages by the dozen
Solution found - it was Constant Contact module
Yes, I found the solution: I had the Constant Contact module installed, and when I disabled that (and only that), the problem disappeared immediately. I have added other modules and other development of various kinds, and the problem has yet to come back, a month later.
I haven't had time yet to post this in the Constant Contact module issue queue, nor have I had time to see if there's a newer version of the module to test. I hope to soon, as our marketing utterly relies on that module.
Do you guys all have that module enabled?
Update
I turned off cron. purged the error log and have been testing every link combination since then and have been getting no instances of the error under discussion. A handful of errors have occurred but not the volume happening previously and none of the "Cannot modify header" variety.
This is not a long term solution however as most sites will need to run cron periodically.
I found clearing cache would make the bug disappear temporarily
What I found was that there was a temporary remission wherein the 2nd header at the bottom of the page would disappear for a few page refreshes immediately following clearing all caches. Then a few pages later, it would re-appear, as would all the error messages I mentioned.