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:
I have tried just about everything to get guestbook to work on local machine. I am using Xampp to test guestbook and other pages. WHen I type localhost/gbook.php I keep getting ERROR: Invalid IP address, access blocked! Looked in Baned Ip address txt nothing there. Is there something I did wrong. Nothing shows up at all just the words above.
Thanks
Access Blocked
This has nothing to do with the banned IP list.
This message is given when your IP returned by $_SERVER['REMOTE_ADDR']; does not match with how a IP address should be formatted.
This is probably caused by a wrong setting of $settings['allow_IPv6']=0; in the settings.php file.
Try changing it to 1 of you have 0 now, or the other way around.
Or maybe somehow when localhost is used it does not return a IP address (which would be strange). You could also try to use http://127.0.0.1/gbook.php and see if that works.
Greetings,
Henrie
This message is given when your IP returned by $_SERVER['REMOTE_ADDR']; does not match with how a IP address should be formatted.
This is probably caused by a wrong setting of $settings['allow_IPv6']=0; in the settings.php file.
Try changing it to 1 of you have 0 now, or the other way around.
Or maybe somehow when localhost is used it does not return a IP address (which would be strange). You could also try to use http://127.0.0.1/gbook.php and see if that works.
Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
-
- Posts: 9
- Joined: Wed Nov 04, 2009 2:55 am
Then you are one of the few people that use IPv6 already.
I see you are using localhost, so I think this is your test server for designing the webpages. When you move the website to your 'live' web server you should check if the setting $settings['allow_IPv6']=1; is still needed or that you need to change it back to 0.
Greetings,
Henrie
I see you are using localhost, so I think this is your test server for designing the webpages. When you move the website to your 'live' web server you should check if the setting $settings['allow_IPv6']=1; is still needed or that you need to change it back to 0.
Greetings,
Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
-
- Posts: 9
- Joined: Wed Nov 04, 2009 2:55 am