gbook.php is auto-loading as index page

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
Anubis79
Posts: 2
Joined: Sat Jul 18, 2009 7:26 pm

gbook.php is auto-loading as index page

Post by Anubis79 »

Script URL:
Version of script:1.6
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:htaccess, gbook loading first

Write your message below:

I am having a strange problem with one of my computers and my site. For some reason when I go to the page it auto-loads gbook.php. This is only happening with Firefox 3.5+. It seems like the .htaccess file isn't getting read, but nothing I have tried seems to work. I have made sure that Firefox isn't blocking the referer header and still nothing. Everything displays fine in IE and in other versions of Firefox on other computers. My question is, is there some line of code in the gbook setup that is causing gbook.php to load first? Is there any way to stop gbook.php from being, for lack of better words, the default redirect?
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

You probably uploaded the gbook files into your main website folder? Try deleting the index.htm file and upload your original website index file (not the one that comes with gbook).

That's why you should install guestbook in a separate folder of your website, like www.yourdomain.com/guestbook
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Anubis79
Posts: 2
Joined: Sat Jul 18, 2009 7:26 pm

Post by Anubis79 »

Ok, that is exactly what I did. I modified the gbook file to add the php includes for my css pseudo-frame layout and placed it in the main section. I'll try moving everything to a separate guestbook folder and see if that helps. Thanks for the info.
Post Reply