By llaslo on
Everything seems fine with my new installation, except that when I modify any part of a story in the database, I get a blank page with a mysql error. When I hit the back browser button, I get this notice at the top of the page:
"The story was updated.
warning: Cannot modify header information - headers already sent by (output started at /www/mysite/htdocs/includes/database.mysql.inc:113) in /www/mysite/htdocs/includes/common.inc on line 233."
Everything is being updated in the database, so there's no error there. Anyone have any suggestions?
Comments
What error?
First question: what MySQL error do you get?
Second question: do you have any extra modules active? From what I can derive, database.mysql.inc should only give output on line 113 when db_queryd is called somewhere.
--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.
The errors usually look something like this
query: DELETE FROM page_title WHERE nid = 78
error:
page_title
Are you sure it says page_title? There is no table with that name in a standard drupal 4.7 rc1 database; it may be related to a contrib module.
--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.
Duh...
Ok I'm an idiot. When I first installed I added several modules that I thought might be useful, including 'page title'. Deactivating that module, which I hadn't started using anyway, eliminated the errors.
Thanks!
Created issue, patch
No you're not an idiot. The only thing you should remember from it, is that exact error messages are extermely helpful in getting to the cause ;-).
I've created an issue & patch against the 4.7 version of the module at http://drupal.org/node/56852 (I can't find a download link to the CVS version at the moment).
--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.
Fixed now
Sorry for the long delay on fixing this. I thought that I had already fixed the issue and was surprised recently when I downloaded the module and the problem was still there. Oops! It's gone now.
- Robert Douglass
-----
My Drupal book: Building Online Communities with Drupal, phpBB and WordPress