Session problem in drupal

Submitted by ikhnaton2 on Sat, 28/10/2006 - 21:55.

I'm facing a strange problem in my drupal blog (ikhnaton2.com/whisper). It was working fine but suddenly I can't browse it and see this error:


Warning: ini_set(): A session is active. You cannot change the session module's ini settings at this time. in /home/ikhnaton/public_html/whisper/sites/default/settings.php on line 128

Warning: Cannot modify header information - headers already sent by (output started at /home/ikhnaton/public_html/whisper/sites/default/settings.php:128) in /home/ikhnaton/public_html/whisper/includes/bootstrap.inc on line 525

Warning: Cannot modify header information - headers already sent by (output started at /home/ikhnaton/public_html/whisper/sites/default/settings.php:128) in /home/ikhnaton/public_html/whisper/includes/bootstrap.inc on line 526

Warning: Cannot modify header information - headers already sent by (output started at /home/ikhnaton/public_html/whisper/sites/default/settings.php:128) in /home/ikhnaton/public_html/whisper/includes/bootstrap.inc on line 534

Warning: Cannot modify header information - headers already sent by (output started at /home/ikhnaton/public_html/whisper/sites/default/settings.php:128) in /home/ikhnaton/public_html/whisper/includes/bootstrap.inc on line 542

Warning: Cannot modify header information - headers already sent by (output started at /home/ikhnaton/public_html/whisper/sites/default/settings.php:128) in /home/ikhnaton/public_html/whisper/includes/bootstrap.inc on line 542

I tried to comment (line 128) ini_set('session.save_handler','user') in settings.php as being adviced in (http://drupal.org/node/84904) but it gives me the following error:


Warning: Cannot modify header information - headers already sent by (output started at /home/ikhnaton/public_html/whisper/sites/default/settings.php:128) in /home/ikhnaton/public_html/whisper/includes/bootstrap.inc on line 550

Warning: Cannot modify header information - headers already sent by (output started at /home/ikhnaton/public_html/whisper/sites/default/settings.php:128) in /home/ikhnaton/public_html/whisper/includes/bootstrap.inc on line 551

Warning: Cannot modify header information - headers already sent by (output started at /home/ikhnaton/public_html/whisper/sites/default/settings.php:128) in /home/ikhnaton/public_html/whisper/includes/bootstrap.inc on line 552

Warning: Cannot modify header information - headers already sent by (output started at /home/ikhnaton/public_html/whisper/sites/default/settings.php:128) in /home/ikhnaton/public_html/whisper/includes/bootstrap.inc on line 553

Warning: Cannot modify header information - headers already sent by (output started at /home/ikhnaton/public_html/whisper/sites/default/settings.php:128) in /home/ikhnaton/public_html/whisper/includes/bootstrap.inc on line 554

and browsing to any page (even home page) gives:


Access denied
You are not authorized to access this page.

I tried to add those lines to .htaccess file but no difference:


php_value "memory_limit" "32M"
php_value session.cookie_domain ".ikhnaton2.com"
php_flag register_globals on
php_value "max_execution_time" 600

Do you have an idea to solve this problem?

Thanks, Rami Sedhom http://ikhnaton2.com

( categories: )

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Submitted by alaa on Sun, 29/10/2006 - 03:47.

no idea ask on eglug

Submitted by ikhnaton2 on Sun, 29/10/2006 - 11:29.

Anyway, thanks ...
Peace,
Rami Sedhom
http://ikhnaton2.com

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.