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
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);
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.
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
That thread didnt help me... Still have the same problem.
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.
Post a link to your gallery (and a test account if necessary), so we can have a look...
GauGau