Posted by alexic on February 27, 2008 at 10:28pm
Cannot modify header information - headers already sent by (output started at /var/www/netsons.org/ingeinfopa/index.php:33) in /var/www/netsons.org/ingeinfopa/modules/phpbb/phpbb.module nella riga 32.I got this error randomly!
In particular it seems that i'm not able to complete publishing new nodes because phpbbmodule starts sending headers and so drupal cannot complete serving the page.
<?php
/**
* Implementation of hook_user
*/
function phpbb_user($op, &$edit, &$user, $category = NULL) {
global $phpbbcfg;
.....
case 'update':
if($phpbbcfg['allow_drupal_profiles']) {
_phpbb_user_update($edit, $user);
} else {
header('Location: '.$phpbbcfg['path_abs'].'memberlist.php?mode=viewprofile&u='.$user->uid);
exit();
}
break;
?>This is the wrong called code. (sorry for my english)
What could be the problem?
Comments
when in doubt, please check the handbook
Please see http://drupal.org/node/1424
I was getting this error
I was getting this error when i was upgrading to drupal 5.7 and it's a simple issue. In one of my .php files there was a blank space after the closing ?> at the end of the code. I backspaced this "blank space" and it fixed it. Took me ages to figure out what was going on and found alot of posts in the forums with the same problems and this was the fix mentioned. Something so simple but yet you never think of. HTH