GBook Appears blank

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
Voreno
Posts: 4
Joined: Sat May 16, 2020 2:58 pm

GBook Appears blank

Post by Voreno »

Script URL: http://iseliodelisi.com/diccilatua/gbook.php
Version of script: 1.8.2
Hosting company: Hostek
URL of phpinfo.php: http://iseliodelisi.com/session_test.php
URL of session_test.php: http://iseliodelisi.com/phpinfo.php
What terms did you try when SEARCHING for a solution: blank GBook

Write your message below:

Initially GBook appeared in English (even if I had translated it into Italian) ,

when I tried to post something a blank page appeared (I did not receive a new post email).

I set the CHMOD

file entries chmod: 666,
file Banned IP, chmod: 777,
folder apptmp: chmod: 777,

GBook appeared again but in English (I didn't tried make a new post this time).

I set: setting.php file to:

// Language file
$ settings ['language'] = 'italiano.inc.php';

GBook has disappeared again (shows a blank page).

I have corrected some missing " '\ '", GBook still does not appear.

Could someone please help me?

Thanks for the attention

Voreno
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: GBook Appears blank

Post by Klemen »

This means there is probably a PHP syntax error somewhere. Impossible to tell exactly where without seeing your files.

Do you have space before and after "settings" in $settings['language']? There shouldn't be any space there.

If that's not the problem you will need to have someone look at your files (or check your server error logs for information in which line the error occurs).
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
Voreno
Posts: 4
Joined: Sat May 16, 2020 2:58 pm

Re: GBook Appears blank

Post by Voreno »

Hi Klem,

thanks for your reply I checked several times the files, I fixed some sintax errors but the GBokk still didn''t show.
Finally I found a missing apostrophe at the line: Febbraio';

I fixed it and the GBook appeared. I wrote th first Comment, I filled all the required fields and click on the "Submint" button.

The main page became blank and I didn't receive any email about the new comment to approve.

I cannot understand the error or where to check it.

Please can you help me?

the page is visible at: http://iseliodelisi.com/diccilatua/gbook.php?a=sign

thank for the attention.

Voreno
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: GBook Appears blank

Post by Klemen »

Do you get any additional errors if you set

Code: Select all

$settings['debug'] = 0;
to

Code: Select all

$settings['debug'] = 1;
in your settings file?

Does it work if you set

Code: Select all

$settings['man_approval'] = 1;
back to

Code: Select all

$settings['man_approval'] = 0;
in your settings file?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
Voreno
Posts: 4
Joined: Sat May 16, 2020 2:58 pm

Re: GBook Appears blank

Post by Voreno »

Hello Klemer,

thanks for your reply.

This are the results of the perfomed actions:

set $settings['debug'] = 1; don't works, No error Message

set $settings['man_approval'] = 0; don't works, No error Message

set $settings['debug'] = 1; & $settings['man_approval'] = 0; = don't works, No error Message

CHMOD

Pemissions

Main GK folder 755

folder apptmp 777

folder badwords 755 -> file it.php 644

folder templates 755

txt file entry renominated 666

txt file banned.ip 777

footer 644

gbook.php 644

index.php 644

italiano.inc.php 644

language.inc.php 644

print_sec_img.php 644

secimg.inc.php 644

settings.php 644

smileys.php 644

If can help I can send you the settings file.

Thanks for your attention.

Voreno
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: GBook Appears blank

Post by Klemen »

Are you able to give me FTP access to your server? If yes, you can send it in a private message and I will have a look.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: GBook Appears blank

Post by Klemen »

You had a bunch of PHP syntax errors (mostly missing double quotes) in the /badwords/it.php file, that was causing the problems.

I fixed those and it works now.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
Voreno
Posts: 4
Joined: Sat May 16, 2020 2:58 pm

Re: GBook Appears blank

Post by Voreno »

Hi Klem,

Thanks a lot!

Now your Guestbook works fine, you are great! A true PHP Master and good person!

Again thanks! :D
Post Reply