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: Canot get Header to show  (Read 4538 times)

0 Members and 1 Guest are viewing this topic.

izwar

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Canot get Header to show
« on: June 12, 2006, 09:32:09 pm »

Hello,

before everyone flames me i want to say that i have tried everything possible, read all documentation and tried all possible ways and i cant get my header to show. Its a php file that is my site banner image with the navigation buttons underneath it. Ive tried a bunch of things from including the php file from the admin menu, then putting in the same coppermine folder, to putting an include tag in the theme.php file and a bunch of other things sometimes it give me a cannot compile error and other times just wont show, one time i came close but couldnt align it then it wouldnt show anymore.

Please what ever step by step help you can give me much appreciated.
Logged

Nibbler

  • Guest
Re: Canot get Header to show
« Reply #1 on: June 12, 2006, 09:36:58 pm »

1) Post a link to your gallery
2) Post the code you are trying to use
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Canot get Header to show
« Reply #2 on: June 12, 2006, 09:39:19 pm »

- post a link to your gallery.
- attach your header.php to see what code do have on it

Edit:Nibbler got me :)
« Last Edit: June 13, 2006, 01:40:29 pm by bmossavari »
Logged
‍I don't answer to PM with support question
Please post your issue to related board

izwar

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: Canot get Header to show
« Reply #3 on: June 12, 2006, 09:41:07 pm »

hi this is a page from my site
http://hotclubber.com/?L=users.profile&id=1141

the top navigation and the top image is my header which is named frame.php

the path to the header i want is this but it gives errors
http://hotclubber.com/theme/hotclubber/frame.php

my gallery is not ready but here it is
www.hotclubber.com/photos
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Canot get Header to show
« Reply #4 on: June 12, 2006, 09:54:08 pm »

First you need to correct your header file path issue.
Code: [Select]
Warning: main(online_time.inc.php) [function.main]: failed to open stream: No such file or directory in /home/hotclubb/public_html/theme/hotclubber/frame.php on line 1
it seems that you should copy online_time.inc.php to your public_html folder or give the correct path for this file.
Logged
‍I don't answer to PM with support question
Please post your issue to related board

izwar

  • Coppermine newbie
  • Offline Offline
  • Posts: 15
Re: Canot get Header to show
« Reply #5 on: June 12, 2006, 10:05:42 pm »

still not working, i think im going to back track how do i do the basics jus to get a simple page with a image on it to show lets say header.php with just one image banner on it?
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Canot get Header to show
« Reply #6 on: June 13, 2006, 01:51:04 pm »

sorry i missed this post !
- first you need a test.php with just "hello world" on it, you should copy it on your main gallery folder
- now go to admin mode=>config =>Themes settings =>Path to custom header include and write test.php
- and now save and see what happen
- now it's time to create your custom test.php or what ever you name it ;)
Logged
‍I don't answer to PM with support question
Please post your issue to related board
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 15 queries.