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/
Gallery version: 1.5
Apache version: ??
PHP version (don't just say PHP 4, please): ??
Graphics Toolkit: ??
Operating system: ??
Web browser/version (if applicable): Mozilla

So not techie so don't know about all of above.

Angela

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Sat, 2007-05-26 21:36

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.

 
amalexander

Joined: 2005-08-26
Posts: 9
Posted: Sun, 2007-05-27 19:21

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

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Mon, 2007-05-28 00:10

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.

 
amalexander

Joined: 2005-08-26
Posts: 9
Posted: Tue, 2007-05-29 20:19

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

 
afrohead

Joined: 2008-01-28
Posts: 8
Posted: Mon, 2008-01-28 21:30

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

 
Tim_j
Tim_j's picture

Joined: 2002-08-15
Posts: 6818
Posted: Mon, 2008-01-28 21:33

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