After creating Galleria, I started getting an error when I log in or log out:

* warning: Cannot modify header information - headers already sent by (output started at /var/www/drupal/sites/all/modules/galleria/galleria.module:1) in /var/www/drupal/includes/session.inc on line 97.
* warning: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent in /var/www/drupal/includes/session.inc on line 100.

Please help

Comments

Mark Theunissen’s picture

Status: Active » Postponed (maintainer needs more info)

Hmm that's a strange one. Could you provide more info please? And can you test on a blank install of Drupal and report if it still happens?

lovecat’s picture

for now it looks like:
when I login the page "?q=user" is empty, after refreshed I getting an error:

* warning: Cannot modify header information - headers already sent by (output started at /var/www/drupal/sites/all/modules/galleria/galleria.module:1) in /var/www/drupal/includes/session.inc on line 97.
* warning: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent in /var/www/drupal/includes/session.inc on line 100.

The same happens when I logoff and I getting an another error:

* warning: Cannot modify header information - headers already sent by (output started at /var/www/drupal/sites/all/modules/galleria/galleria.module:1) in /var/www/drupal/includes/common.inc on line 141.

When I wanted to change the skin to get a empty page and even after refreshed nothing has changed.

The modules that I use on my website:
- Color
- Comment
- Content translation
- Database logging
- Help
- Menu
- Path
- Taxonomy
- Update status
- Upload
and Galleria

Mark Theunissen’s picture

Could you try disabling the Galleria module and repeat the test? I'm not sure that this is caused directly by the module even if the error is happened when trying to load the file.

lovecat’s picture

As I disabling the Galleria module everything is ok.
I did tests on xampp and everything is ok.
may it's my server? (I have debian etch with apache2)

Mark Theunissen’s picture

I have a feeling it's something specific about your configuration, because nobody else has reported this problem and I can't reproduce it.

Here's a generic bit about the warning:

http://drupal.org/node/1424

I don't know if there's much more I can do to help. Unless you have more clues as to where the error is. :(

lovecat’s picture

I learn how to administer debian and I do not know where could be an error.
Anyway thank you for your help.

Mark Theunissen’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)