Script URL: http://darkhalo.realitymeetsdream.com/gstb/gbook.php
Version of script: 17
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: white page guestbook problem gbook
Write your message below:
I get a blank page when I go to my guest book, not even anything in the "view page source" view in my web browser. I've gone over the "settings.php" file four times. Finally I left it as is except for changing the obvious stuff at top (url to guest book, website url) and still get a white page.
apptmp
banned_ip txt
entries txt
-permissions set according to readme. I set the txts to 777 just to try that, didn't work.
I tried setting IPv6 to "1" as well. That didn't fix it either.
I also tried removing "ini_set('display_errors', 0);
ini_set('log_errors', 1);" from the settings page because I saw that suggested in similar "blank page" problem threads on this forum.
Blank page at gbook.php
Blank page at gbook.php
Last edited by exf on Mon Sep 14, 2009 2:02 am, edited 1 time in total.
Did you also try the follow up in that thread?
For example viewtopic.php?p=11370#11370
Henrie
For example viewtopic.php?p=11370#11370
Greetings,Klemen wrote:Not showing any errors, hmmm. Can you try adding these 3 lanes to the bottom of the settings.php file (just above the last line: ?> ) and see if you get any errors then:Or if you have access to any error logs from your hosting control panel have a look there if there are any references to the gbook.php file.Code: Select all
ini_set('display_errors', 1); error_reporting(E_ALL); ini_set('log_errors', 1);
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.
Thank you for the hint! It works now.Henrie wrote:Did you also try the follow up in that thread?
For example viewtopic.php?p=11370#11370Greetings,Klemen wrote:Not showing any errors, hmmm. Can you try adding these 3 lanes to the bottom of the settings.php file (just above the last line: ?> ) and see if you get any errors then:Or if you have access to any error logs from your hosting control panel have a look there if there are any references to the gbook.php file.Code: Select all
ini_set('display_errors', 1); error_reporting(E_ALL); ini_set('log_errors', 1);
Henrie
For anyone else who may stumble upon this -
Editing the settings.php with those 3 lines didn't do it. I also tried putting "php_flag display_errors true" in my htaccess file, didn't work.
"php_flag display_errors on" did however show a t_string error (had a ' in the spam question). Found this to be helpful for figuring that out - http://www.parse-error-unexpected-t-string.com