gbook won't load. stuck on a white page.
gbook won't load. stuck on a white page.
Script URL: www.designfoxmediaworks.com/testimonials/gbook.php
Version of script: v 1.6
Hosting company: powweb
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: gbook whitepage(s)
Write your message below:
I followed the instructions for the configuration by editing the settings.php yet when i go to my page all it loads is a white page.
i'm not sure y this would be.
i have gbook.php in a folder called testimonials.
is there any other files that i need to be editing to be able to view this? i'm not sure what exactly is going on that it won't load.
Version of script: v 1.6
Hosting company: powweb
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: gbook whitepage(s)
Write your message below:
I followed the instructions for the configuration by editing the settings.php yet when i go to my page all it loads is a white page.
i'm not sure y this would be.
i have gbook.php in a folder called testimonials.
is there any other files that i need to be editing to be able to view this? i'm not sure what exactly is going on that it won't load.
1. upload the phpinfo.php file to your server and post a link to it here
2. delete these lines from the settings file andsee if you get any error messages when you open gbook:
2. delete these lines from the settings file andsee if you get any error messages when you open gbook:
Code: Select all
ini_set('display_errors', 0);
ini_set('log_errors', 1);
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
oops sorry i apologize i missed putting the link to that file in my first post.
phpinfo:
http://www.designfoxmediaworks.com/phpinfo.php
and i deleted the 2 lines and it does not appear to generate any errors. still a blank page.
phpinfo:
http://www.designfoxmediaworks.com/phpinfo.php
and i deleted the 2 lines and it does not appear to generate any errors. still a blank page.
Klemen wrote:1. upload the phpinfo.php file to your server and post a link to it here
2. delete these lines from the settings file andsee if you get any error messages when you open gbook:Code: Select all
ini_set('display_errors', 0); ini_set('log_errors', 1);
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);
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Some servers will not allow us to turn on error reporting via ini_set
If the server still shows no errors using the other methods mentioned
you might try turning the error flag on at server level via htaccess
by adding this line to your htaccess file.
php_flag display_errors true
this may or may not work depending on server config.
if the server supports this method we should then see some errors but first try Klems method use this method as a last resort.
We need to see some type of errors to help us trouble-shoot the problem.
DC
If the server still shows no errors using the other methods mentioned
you might try turning the error flag on at server level via htaccess
by adding this line to your htaccess file.
php_flag display_errors true
this may or may not work depending on server config.
if the server supports this method we should then see some errors but first try Klems method use this method as a last resort.
We need to see some type of errors to help us trouble-shoot the problem.
DC
To Code Or Not To Code That Is The Question?
Was my post of any help to you? if so please do [url=http://www.clickcraft.net/slice_donations.php][b]Buy Me A Slice[/b][/url] ...
Was my post of any help to you? if so please do [url=http://www.clickcraft.net/slice_donations.php][b]Buy Me A Slice[/b][/url] ...
sorry for the delayed response i couldn't figure out how to view the log and i had another error on another script show up so i contacted my host and they took some time to tell me.
they said gbook.php is generating the following errors:
PHP Warning: main(testimonials/language.inc.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in /hermes/web05b/b2027/pow.designfox/htdocs/testimonials/gbook.php on line 36
PHP Warning: main(testimonials/language.inc.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in /hermes/web05b/b2027/pow.designfox/htdocs/testimonials/gbook.php on line 36
PHP Fatal error: main() [<a href='function.require'>function.require</a>]: Failed opening required 'testimonials/language.inc.php' (include_path='.:/usr/local/lib/php-4.4.7/lib/php') in /hermes/web05b/b2027/pow.designfox/htdocs/testimonials/gbook.php on line 36
they said gbook.php is generating the following errors:
PHP Warning: main(testimonials/language.inc.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in /hermes/web05b/b2027/pow.designfox/htdocs/testimonials/gbook.php on line 36
PHP Warning: main(testimonials/language.inc.php) [<a href='function.main'>function.main</a>]: failed to open stream: No such file or directory in /hermes/web05b/b2027/pow.designfox/htdocs/testimonials/gbook.php on line 36
PHP Fatal error: main() [<a href='function.require'>function.require</a>]: Failed opening required 'testimonials/language.inc.php' (include_path='.:/usr/local/lib/php-4.4.7/lib/php') in /hermes/web05b/b2027/pow.designfox/htdocs/testimonials/gbook.php on line 36
it seems the file language.inc.php is not present in the folder testimonials (where also your gbook.php file is located).
Please check if it is present. If not, upload it from your downloaded zip file to the testimonials folder on your server.
Greetings,
Henrie
Please check if it is present. If not, upload it from your downloaded zip file to the testimonials folder on your server.
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.
the file is present in that folder. : / i will try to reupload it in the morning however. all the errors do seem to relate directly to that file.
Henrie wrote:it seems the file language.inc.php is not present in the folder testimonials (where also your gbook.php file is located).
Please check if it is present. If not, upload it from your downloaded zip file to the testimonials folder on your server.
Greetings,
Henrie
Hello syrehn,
In your first post you mention
So if you are just now setting up your GBook i would advise you to start with version 1.7 so you are using the latest version with the most up-to-date spam protection and most features.
Greetings,
Henrie
In your first post you mention
3 days ago Klemen released version 1.7, see here viewtopic.php?t=2700syrehn wrote:Version of script: v 1.6
So if you are just now setting up your GBook i would advise you to start with version 1.7 so you are using the latest version with the most up-to-date spam protection and most features.
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.
I am not sure what you mean, but the sign guestbook page is a on its own page.
You can reach it by linking to gbook.php?a=sign inside your gbook folder.
Greetings,
Henrie
You can reach it by linking to gbook.php?a=sign inside your gbook folder.
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.
sorry, i should have been more descriptive with that, (btw i'll be starting with the latest version from scratch so hopefully the blank page issue will be gone)
but, what i wanted to do was have the "sign guestbook" or sign form.php file in a different directory. (seems this might be possible since the latest version is split into sections for making templates easier) such as, i have a friends directory, and i wanted to build my template for that page and incorporate that php code for sign form.php to that page, so that when i put my password lock script on that page only those ppl will be able to access the signform.php file in the template i built. does that make a bit more sense?
ideally i would have the structure like this:
testimonials/gbook.php
friends/test_friend.php, and friends/test_friend2.php (with the signform.php code in that page as i will be password protecting those pages so that only those ppl can access the sign guestbook function)
but, what i wanted to do was have the "sign guestbook" or sign form.php file in a different directory. (seems this might be possible since the latest version is split into sections for making templates easier) such as, i have a friends directory, and i wanted to build my template for that page and incorporate that php code for sign form.php to that page, so that when i put my password lock script on that page only those ppl will be able to access the signform.php file in the template i built. does that make a bit more sense?
ideally i would have the structure like this:
testimonials/gbook.php
friends/test_friend.php, and friends/test_friend2.php (with the signform.php code in that page as i will be password protecting those pages so that only those ppl can access the sign guestbook function)
I think it is possible to put it in it's own password protected folder.
It is however not advised. You would have to manually change many relative paths as they would not be pointing to the right files in the templates folder.
Changes like this will prevent future updates from working out of the box and i will at least not help you with making these changes (sorry).
In my opinion, if you would like only your friends to add comments, it would be better to have a password on the sign page itself that you only give to your friends. So if someone does not know the password, they can not post a comment.
Greetings,
Henrie
It is however not advised. You would have to manually change many relative paths as they would not be pointing to the right files in the templates folder.
Changes like this will prevent future updates from working out of the box and i will at least not help you with making these changes (sorry).
In my opinion, if you would like only your friends to add comments, it would be better to have a password on the sign page itself that you only give to your friends. So if someone does not know the password, they can not post a comment.
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.
thank you for the quick response ^_^
no worries, i just wanted to make sure it wouldn't completely break the script i think i could manage the paths part and just document the changes well in the event of having to update.
if worse comes to worse i will try your suggestion and just password protect the page itself.
first things first is to reinstall the newest version and start from scratch. here's hoping there is no blank pages this time around!
ty for your wonderful script!
no worries, i just wanted to make sure it wouldn't completely break the script i think i could manage the paths part and just document the changes well in the event of having to update.
if worse comes to worse i will try your suggestion and just password protect the page itself.
first things first is to reinstall the newest version and start from scratch. here's hoping there is no blank pages this time around!

ty for your wonderful script!
Henrie wrote:I think it is possible to put it in it's own password protected folder.
It is however not advised. You would have to manually change many relative paths as they would not be pointing to the right files in the templates folder.
Changes like this will prevent future updates from working out of the box and i will at least not help you with making these changes (sorry).
In my opinion, if you would like only your friends to add comments, it would be better to have a password on the sign page itself that you only give to your friends. So if someone does not know the password, they can not post a comment.
Greetings,
Henrie