Blank Page

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
spencercars
Posts: 2
Joined: Sat Aug 05, 2006 4:08 pm

Blank Page

Post by spencercars »

Hiya,

Am I correct in thinking that this script requires php 4.3 or above to work - I am using 4.2.2 and everything works well including replys etc. - however when you try and sign the guestbook you just get a totally blank page.

If I remove the session scripting I get the sign page but no image - this I understand is becasue it uses the session data - but with the session scripting back in place = blank page.

Just confirming really that it won'y work on an older server ?

Thanks.
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Yes, it requires at least PHP 4.3.2. I usually recommend upgrading PHP if you are running such an old version...

You can try if deleting line 49 in gbook.php makes any difference. Delete this line:
session_regenerate_id();
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
spencercars
Posts: 2
Joined: Sat Aug 05, 2006 4:08 pm

Speedy response

Post by spencercars »

Hi,

Thanks for the speedy response .. worked perfectly .. thank you.

One last question .. what effect on the script does removing this line have ?

Thanks again.

Neil.
Klemen
Site Admin
Posts: 10141
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Well it helps prevent forging session data which is what some spammers did in the past to spam Gbook. But with all the extra security GBook now has it shouldn't be a problem anymore.
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
Post Reply