View Full Version : Header.htm not displaying. How do I get it to work?
October 20th, 2005, 08:27 PM
I'm having a problem getting the header.htm file to work. I put together both the header and footer files to customize my Reviewpost. Both files are located in the same directory. Full paths to both are in the Global Options of the admin page. The footer displays but the header does not.
I tried reversing the file names (changed header.htm to footer.htm) and modified the filename in the path and the header.htm page showed up as the footer. So I know that both files are okay and both paths are okay.
But the footer shows and the header doesn't. How can I begin to track down what the problem is?
October 20th, 2005, 09:23 PM
Sounds to me like your using a url and not a server path
October 21st, 2005, 10:39 PM
From admin-index CONFIG-INC.PHP Variables:
Path to Reviewpost Installation (must be set properly for script to work): /var/www/html/mydomain.com/reviewpost
That tells me what I need to enter the path in the header and footer section. So I put in /var/www/html/mydomain.com/reviewpost/header.htm in the GLobal Options area, save changes and click "go back to user index" and the index page (or any other) won't display. It's blank.
I take that out and put /var/www/html/mydomain.com/reviewpost/footer.htm in the footer box. Same thing. Blank page.
I change the footer path to a virtual one - http://mydomain.com/reviewpost/footer.htm - and it works. Index page comes up along with the included footer file.
I change the header path to a virtual one -http://mydomain.com/reviewpost/header.htm - and it doesn't work but the footer one still does.
So I know that my full path is correct in scenario 1 above but it causes an error that doesn't allow the page to display.
Any suggestions how to track this down?
October 21st, 2005, 10:50 PM
sounds to me like your path is wrong of something in your header is bad.
You must use path not url and it surely works so double check your path or the file.
vBulletin® v3.8.1, Copyright ©2000-2014, Jelsoft Enterprises Ltd.