Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: [Solved]: How would one include a different header?  (Read 2045 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.018 seconds with 18 queries.