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: [Solved]: How would one include a different header?  (Read 1964 times)

0 Members and 1 Guest are viewing this topic.

mulesnx

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
[Solved]: How would one include a different header?
« on: April 06, 2004, 07:55:00 am »

I would like to put my site's header above the gallery.  I am kind of new at this, and tried something but there was an error saying that the headers were already sent out!  


Where would I include a php file for a gnarley header?
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
[Solved]: How would one include a different header?
« Reply #1 on: April 06, 2004, 08:24:47 am »

if you need to include a php file, go to http://coppermine.sourceforge.net/faq.php?q=customHeader#customHeader

But the error you got "Cannot add header information - header was already sent ... in" usually means that you tried to send data before the http header (cookies and such stuff) was sent - see http://coppermine.sourceforge.net/faq.php?q=commonPHP errors#commonPHP errors
Make sure you don't include another <head>...</head> area.

GauGau
Logged

mulesnx

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
[Solved]: How would one include a different header?
« Reply #2 on: April 06, 2004, 09:22:27 am »

it worked!  I had to remove the "static" from the third line, but it worked!

Thanks
Logged
Pages: [1]   Go Up
 

Page created in 0.025 seconds with 15 queries.