URL error in links?

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
iancrabtree
Posts: 1
Joined: Tue Aug 28, 2007 9:21 pm

URL error in links?

Post by iancrabtree »

Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

:?
Hi

I have installed Gbook and it's fantastic! I've put a test link in and the link is displayed as http://www.iancrabtree.com . However, when you click on it, the url becomes http://www.iancrabtree.com/guestbook/go ... abtree.com

and I get the following message:

Not Acceptable
An appropriate representation of the requested resource /guestbook/go.php could not be found on this server.


Please help!!!

Thanks

Ian
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Try opening gbook.php in a plain text editor, find this code

Code: Select all

echo 'Website: <a href="go.php?url='.$url.'" class="smaller">'.$url.'</a><br />';
and change it to

Code: Select all

echo 'Website: <a href="'.$url.'" class="smaller">'.$url.'</a><br />';
This code is located TWICE inside gbook.php, change it both times.
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
Post Reply