Page 1 of 1

Blank Page

Posted: Sat Aug 05, 2006 4:12 pm
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.

Posted: Sat Aug 05, 2006 6:02 pm
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();

Speedy response

Posted: Sat Aug 05, 2006 6:14 pm
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.

Posted: Sat Aug 05, 2006 6:34 pm
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.