"Cannot send session cookie" error message
markblair
Joined: 2003-05-28
Posts: 2 |
Posted: Mon, 2004-02-23 06:30 |
I'm having a problem with my gallery which I just moved from one server to another. What I did was install 1.4.2 on the new server and upload the contents of the album directory to that server. The old server was running 1.3.4 (if I'm not mistaken)... Everything went smooth for the most part. I had a few errors with permissions but all has been corrected. The last thing I corrected was the config.php had the albums directory pointing to the wrong path. I modified that and once I did, I received the following error message: Quote:
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/mbsites/public_html/gallery/config.php:163) in /home/mbsites/public_html/gallery/session.php on line 60 I checked the config.php file again and it appears to be fine now. When I click on the login link, I get the following message at the top of that screen as well: Quote:
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/mbsites/public_html/gallery/config.php:163) in /home/mbsites/public_html/gallery/session.php on line 60 I can't login as it won't let me but below the first message above, I can see my gallery. I've tried to see if this was a file or folder permissions issue but I'm at a loss. Anyone know how to resolve this? Thanks... ---- ---- Mark Blair |
|
Posts: 8194
Somehow some newlines got into the end of your config.php. Either remove the newlines from the end, or just remove the last ?> from config.php -- your choice.
Posts: 2
That did the trick. Thanks for the assistance.
Posts: 8194
No problema