Blank page at gbook.php

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
exf
Posts: 2
Joined: Sun Sep 13, 2009 1:36 am

Blank page at gbook.php

Post by exf »

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.
Last edited by exf on Mon Sep 14, 2009 2:02 am, edited 1 time in total.
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

Did you also try the follow up in that thread?
For example viewtopic.php?p=11370#11370
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:

Code: Select all

ini_set('display_errors', 1);
error_reporting(E_ALL);
ini_set('log_errors', 1);
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.
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.
exf
Posts: 2
Joined: Sun Sep 13, 2009 1:36 am

Post by exf »

Henrie wrote:Did you also try the follow up in that thread?
For example viewtopic.php?p=11370#11370
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:

Code: Select all

ini_set('display_errors', 1);
error_reporting(E_ALL);
ini_set('log_errors', 1);
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.
Greetings,
Henrie
Thank you for the hint! It works now.

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
Post Reply