By Kurt Maute on
Hi
I just upgraded from 4.4 to 4.5 and I'm getting the following error at the top of each page of the site:
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/rh3488/public_html/includes/conf.php:56) in /home/rh3488/public_html/includes/session.inc on line 10
warning: Cannot modify header information - headers already sent by (output started at /home/rh3488/public_html/includes/conf.php:56) in /home/rh3488/public_html/includes/common.inc on line 160.
Can anyone lend a hand? I checked conf.php, and I set it up the same as the old one.
Thanks in advance.
Comments
blank space
Check the last line of conf.php. Chances are you have some blank space or a blank line which is interpreted as output.
dtan
Personal Blog Site
fixed
That must have been it -
Thanks!
Kurt Maute
www.maute.us
Thank you ** 2
Thank you ** 2 ... or TY**2000.
I moved a Drupal/Civicspace installation from a subdirectory to the main directory. When I moved it up I changed the "settings.php"
to reflect the "base_url".
UNFORTUNATELY I also added a blank line at the end.
I was going NUTZ trying to find out why the messages (above) were happening.
Glad I was able to find this particular posting ... thank GOODNESS for the forums (!)
Charlie
Unbelievable
Like te post above, i just removed some blank lines and poof, everything is working fine !
I never would think blank lines could be soooooooo harmful. Thanks for the nice answer!
-- Alexandre Ataide
RE: Warning: session_start(): Cannot send session cookie
I'm not using Drupal, so I'm not sure how much more help I can get from this thread, but I thought I'd give it a try anyway.
I'm using an ISP called StartLogic and they currently support PHP v4.4.1. I'm running v5.2.1 on my dev box, and not getting the error message, but when I upload my files to the host, I get the errors. I don't even think I can control the files you mention (conf.php, settings.php) and they don't even exist in my 5.2.1 installation.
Does anyone have any other suggestions?
Thanks,
Pete