headers already sent headers already sent
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

headers already sent

Started by Mysmasken, February 15, 2004, 11:23:13 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Mysmasken

When I go to the gallery and try to log in there it gives me:

Warning: Cannot modify header information - headers already sent by (output started at /home/mysmasken/katt/htdocs/cpg_redir.php:8) in /home/mysmasken/katt/htdocs/cpg_redir.php on line 12

Also, still when I try to logout from the gallery it gives me:
invalid session

Mysmasken

Sorry, without smilies:
Warning: Cannot modify header information - headers already sent by (output started at /home/mysmasken/katt/htdocs/cpg_redir.php:8) in /home/mysmasken/katt/htdocs/cpg_redir.php on line 12


This is line 12:
header("Location: http://".$cpg_host.$cpg_path);

Casper

Hi,

have a look at this thread, and see if it helps, http://forum.coppermine-gallery.net/index.php?topic=1969&highlight=header+already+sent.

Note how I found it in seconds using the search 'header AND already AND sent'.

also, I dont think this is related to the thread, and should have been posted in the support forum.  Please don't tag unrelated questions onto other threads.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Joachim Müller

I split the unrelated posting which was originally a reply to http://forum.coppermine-gallery.net/viewtopic.php?p=16653#16653
Do not hijack other's threads in the future.

GauGau

Mysmasken

That thread didnt help me... Still have the same problem.

Casper

Check in your config you havn't specified anything twice in the 'contents of main page', such as 'catlist/catlist'.  This can cause the problem.
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Joachim Müller

Post a link to your gallery (and a test account if necessary), so we can have a look...

GauGau