Hi!

I have a problem with Drupal 4.7. I move my installation from server with PHP 4 to server PHP5. It works well, but whein I edit/add nodes, I obtain this message (with error reporting all):

Warning: Cannot modify header information - headers already sent by (output started at /home/colegios/public_html/modules/locale.module:181) in /home/colegios/public_html/includes/common.inc on line 272

181 is

if ($cache == 0) {

272 is

header('Location: '. $url);

What's the problem? Any tracks? Thanks in advance

Comments

vm’s picture

to debug you must disable modules until the error goes away. This will tell you what module is interferring and may need to be debugged. The locale.module itself is part of core, and isn't the problem. The problem module is the one trying to send headers after they've already been sent.

also check: http://drupal.org/node/1424
_____________________________________________________________________________________________
give a person a fish and you feed them for a day but ... teach a person to fish and you feed them for a lifetime

delineas’s picture

Thank you very much!

The problem is resolved. The gallery module was the problem. In the gallery_filter.inc archive existed one blank space before the open <?php

http://5lineas.com
Spain loves Drupal!