Page 1 of 1

URL error in links?

Posted: Tue Aug 28, 2007 9:33 pm
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

Posted: Tue Aug 28, 2007 10:28 pm
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.