Warning: session_start(): Cannot send session cookie - headers already sent
|
amalexander
Joined: 2005-08-26
Posts: 9 |
Posted: Sat, 2007-05-26 20:12
|
|
I get this at the top of my gallery pages. How do I get rid of it? Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/ange1052/public_html/gallery/config.php:163) in /home/ange1052/public_html/gallery/session.php on line 60 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/ange1052/public_html/gallery/config.php:163) in /home/ange1052/public_html/gallery/session.php on line 60 Gallery URL (optional but very useful): www.amalexander.co.uk/gallery/ So not techie so don't know about all of above. Angela |
|

Posts: 6818
Hello Angela,
did you modify your config.php manually?
Its seems there is anything after the "?>"
Jens
--
Last Gallery v1 Developer and v1 translation manager.
Posts: 9
Sorry but don't understand the question. A friend set up Gallery for me, I just use it, or did until it stopped working. I see there is a similar question in this forum which was moved. Found it yesterday and it seemed to imply it was my webhost that needs to do something, so I wrote them to ask:
I have been told that my webhost needs to configure php's session extension correctly. Can you do this?
and they have replied:
We are sorry but we will need more information that this to help further.
Please ask the providers of the software to provide precise configuration
details needed.
So could anyone help me to put togther a reply for them?
Angela
Posts: 6818
Hi,
i dont think your webhost needs to do something.
Do you have access in any kind to the files on your webserver?
Like FTP, or a Controlpanel or something else?
Jens
--
Last Gallery v1 Developer and v1 translation manager.
Posts: 9
I can access my ftp and my control panel, do I need to do something there? I cannot connect to Gallery anymore to upload photos. I suspect that I need to change some settings but am not sure where.
Angela
Posts: 8
Same issue. Anyone know what might be causing this?
Warning: session_start() [function.session-start]: open(/var/php_sessions/sess_643ef15066b94b11b8535da7890bbca2, O_RDWR) failed: No such file or directory (2) in /hermes/web05/b2188/im.iowadeer/gallery2/lib/support/GallerySetupUtilities.class on line 348
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /hermes/web05/b2188/im.iowadeer/gallery2/lib/support/GallerySetupUtilities.class:348) in /hermes/web05/b2188/im.iowadeer/gallery2/lib/support/GallerySetupUtilities.class on line 348
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /hermes/web05/b2188/im.iowadeer/gallery2/lib/support/GallerySetupUtilities.class:348) in /hermes/web05/b2188/im.iowadeer/gallery2/lib/support/GallerySetupUtilities.class on line 348
Warning: session_start() [function.session-start]: open(/var/php_sessions/sess_6fc475d0e95b8d8c42ce0e34074f9e72, O_RDWR) failed: No such file or directory (2) in /hermes/web05/b2188/im.iowadeer/gallery2/lib/support/GallerySetupUtilities.class on line 75
http://www.iowadeer.com
Posts: 6818
Hello afrohead,
same errormessage but TOTALLY different thing ;-)
Your host configured to save session infos in '/var/php_sessions/'
This folder does not exists.
Please contact your hoster to let him fix it.
But .. As you use G2, you can use the database for sessions. (site admin)
Jens
P.S.: This is a G1 Forum ;-)
--
Last Gallery v1 Developer.
Tryout the TEST-Version of Gallery 1.6