Page 1 of 1

Invalid URL when trying to access guestbook

Posted: Thu Jan 17, 2019 11:05 am
by Robert58
Script URL: https://www.hartvanbali.nl/gastenboek/gbook.php
Version of script: 1.7 from 20th August 2009
Hosting company: one.com
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:

Hi,

At my website hartvanbali.nl the guestbook cannot be reached any more from Dutch IP addresses (other IP addresses no problem).
It used to work fine but somewhere in the past Dutch IP addresses are marked as 'ERROR: invalid IP address, access blocked'.
The file banned_ip.txt is empty.

Any idea what causes this error, an more importantly how I can solve this?

Thanks in advance for your reply, much appreciated.

Kind regards,
Robert58

Re: Invalid URL when trying to access guestbook

Posted: Fri Jan 18, 2019 5:45 am
by Klemen
This is strange. Please try this:

1. save this code as "test.php" and upload it to your server:

Code: Select all

<?php echo '<pre>' . print_r($_SERVER, true) . '</pre>';
2. open text.php from an IP address that shows that error in GBook

3. copy/paste the results you get here

Re: Invalid URL when trying to access guestbook

Posted: Fri Jan 18, 2019 9:47 am
by Robert58
Hi Klemen,

When I copy/paste the output of the test.php here, after submit your system says 'the requested page could not be found"
Apparantly it doesn't accept the array that I tried to submit.

So I stored the output temporarily here:

https://www.hartvanbali.nl/outputoftest.html

Re: Invalid URL when trying to access guestbook

Posted: Fri Jan 18, 2019 12:54 pm
by Klemen
I see the problem: you need to enable $settings['allow_IPv6'] in your settings (set to 1) or update you GBook to the latest version (recommended).

Re: Invalid URL when trying to access guestbook

Posted: Fri Jan 18, 2019 3:32 pm
by Robert58
Hi Klemen,

Yes, now it works again!
Thank you very much for your help, much appreciated!