Script URL: http://www.saveportphillip.22web.org
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:
Write your message below:
Hello when I click the "submit my comment" button it gives me a new security number without submitting my comment. It worked before and I'm wondering what has changed? I ran the session test with the results below. Thanks.
Session started successfully!
CLICK HERE FOR PAGE 2
$_SESSION['test'] is set to: TRUE
SOLVED-Security number not working
SOLVED-Security number not working
Last edited by wino on Mon Mar 31, 2014 5:38 am, edited 1 time in total.
Re: Security number not working
I get the same results as you do when I test on your website. Every time I try to post I get a new security image and the session test results in $_SESSION['test'] is set to: TRUE
Unfortunately I have no idea what could cause this. Maybe Klemen knows?
If you have not changed anything on your server yourself, than probably your hosting company did an upgrade or changed a setting. You could ask what they changed that might cause this.
Greetings,
Henrie
Unfortunately I have no idea what could cause this. Maybe Klemen knows?
If you have not changed anything on your server yourself, than probably your hosting company did an upgrade or changed a setting. You could ask what they changed that might cause this.
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.
Re: Security number not working
It seems that PHP session is broken. If the session test works fine, the problem most likely is some of the GBook source files have been modified improperly (empty lines, hidden bytes) that send out HTTP headers before the session-related headers are sent.
Try uploading original unmodified GBook files and see if that works.
P.s.: you have a unique anti-spam question that should block most (if not all) SPAM, so you might also want to consider disabling the image.
Try uploading original unmodified GBook files and see if that works.
P.s.: you have a unique anti-spam question that should block most (if not all) SPAM, so you might also want to consider disabling the image.
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
Re: Security number not working
Thanks heaps henrie and klem, last thing I changed was the view/sign text to align center. I must have stuffed something up there
I will try disabling the image and hope that is enough protection.
Cheers fellas.
EDIT
I just uploaded the gbook.php from a back up I did a few days ago and walla
I must have changed something in the gbook files...figures! Thanks again gents.

Cheers fellas.
EDIT
I just uploaded the gbook.php from a back up I did a few days ago and walla
