Page 1 of 1

The requested URL/gbook.php was not found on this server

Posted: Tue Dec 11, 2012 4:44 am
by catnhat
Script URL: ?
Version of script: 1.6 or 1.7
Hosting company: www.limedomains.com
URL of phpinfo.php: URL of session_test.php: ?
What terms did you try when SEARCHING for a solution: "php file not found"

Write your message below:

After a small change in the layout of my Guestbook page, I uploaded just the HTML of that page and found that I had lost my guest entries.

http://www.pleasuresofthepipes.info/gbook.html

The php file is still in its proper place, nothing has changed.

http://www.pleasuresofthepipes.info/gbook/gbook.php

What is wrong with the path? I upgraded from 1.6 to 1.7 (I use WYSIWYG Web Builder) but still the same. I made back-ups and deleted all guestbook files from the server and re-installed the guestbook files.. still the same. Help! Thanks!

Re: The requested URL/gbook.php was not found on this server

Posted: Tue Dec 11, 2012 4:18 pm
by Klemen
Your layout is trying to open
http://www.pleasuresofthepipes.info/gbook.php

And not
http://www.pleasuresofthepipes.info/gbook/gbook.php

You will need to correct the iframe URL.

Re: The requested URL/gbook.php was not found on this server

Posted: Tue Dec 11, 2012 7:16 pm
by catnhat
How do I correct the iframeURL?

Both the iframe Properties box and the settings.php file show the following, see TEST page:

http://www.pleasuresofthepipes.info/TEST.html

Where else do I correct the path?

Re: The requested URL/gbook.php was not found on this server

Posted: Tue Dec 11, 2012 9:18 pm
by Henrie
in the gbook.html page is this code

Code: Select all

<iframe style="border-color:#000000;border-style:solid;border-width:1px;position:absolute;left:253px;top:392px;width:600px;height:400px" src="./gbook.php" frameborder="0"></iframe>
It does not reflect the screenshot you show. You must change the src="./gbook.php" to src="http://www.pleasuresofthepipes.info/gbook/gbook.php" . Better to not use relative paths in iframes.

Re: The requested URL/gbook.php was not found on this server

Posted: Wed Dec 12, 2012 5:18 am
by catnhat
Hello Henrie, The code did not reflect the screenshot I showed as it was a quickie clone of the Guestbook page with the guestbook extension deleted. Just a page to drop on the two .png images. However, I opened the Guestbook HTML in Notepad and corrected the path as you suggested and uploaded it. All is fine now. Thanks!!
(Henrie, formerly from Holland, in Canada since 1966)

Re: The requested URL/gbook.php was not found on this server

Posted: Wed Dec 12, 2012 5:48 am
by Henrie
Great yhat you got it working.
I have some family in Canada. The sister of my granddmother lives there. I don't know when she moved there. But it was a long time ago. My father and mother go visit family there every four years.

Groeten,
Henrie

Re: The requested URL/gbook.php was not found on this server

Posted: Thu Dec 13, 2012 4:38 am
by catnhat
Hi Henrie,

I am still puzzled why my guestbook did not show up in the iframe. Following the instructions that came with the zipfile, I opened the iframe properties box and filled in all required info, including the path to the guestbook.php file. Then I opened the settings.php and filled in all required info there, including the path to the guestbook.php file. Should that not have been enough? I did not think I would have to open up my Guestbook HTML page in Notepad to correct the path. And I'm sure I saved every step. Still puzzled. Henrie

Re: The requested URL/gbook.php was not found on this server

Posted: Thu Dec 13, 2012 3:08 pm
by Klemen
That is indeed enough if you use guestbook directly, for example if open this URL:
http://www.pleasuresofthepipes.info/gbook/gbook.php

But in your case you were calling it from an iframe and the URL there was wrong. The iframe is not something that comes with GBook, it was in your website.

Re: The requested URL/gbook.php was not found on this server

Posted: Fri Dec 14, 2012 4:17 pm
by catnhat
That explains it. Thanks!