Advanced search  

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]

Pages: [1]   Go Down

Author Topic: headers already sent  (Read 4123 times)

0 Members and 1 Guest are viewing this topic.

Mysmasken

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
headers already sent
« on: February 15, 2004, 11:23:13 am »

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
Logged

Mysmasken

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
headers already sent
« Reply #1 on: February 15, 2004, 11:24:26 am »

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);
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
headers already sent
« Reply #2 on: February 15, 2004, 11:54:24 am »

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.
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
headers already sent
« Reply #3 on: February 15, 2004, 02:08:42 pm »

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
Logged

Mysmasken

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 26
headers already sent
« Reply #4 on: February 19, 2004, 08:26:41 pm »

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

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
headers already sent
« Reply #5 on: February 19, 2004, 08:46:09 pm »

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.
Logged
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

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
headers already sent
« Reply #6 on: February 20, 2004, 01:18:05 pm »

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

GauGau
Logged
Pages: [1]   Go Up
 

Page created in 0.031 seconds with 15 queries.