Page 2 of 2
Posted: Thu Sep 14, 2006 11:22 pm
by Olywaguy
I am hoping you folks can help me with a problem that I am having with the guestbook.
I've added the guestbooks online. In order to prevent spamming, I wanted to add the feature that makes you type in the security number in order to post.
The problem that I am having is that after you type the security number, the form goes blank and gives you another security number to type. The message never gets posted. Of course it works fine when you disable the feature, but I do get tons of spam as a result.
The link is located at:
http://www.evergreen.edu/library/libhis ... /gbook.php
Please attempt to post something and you will see what I mean.
Is there a remedy for this problem?
Any help ya'll could give me would be most appreciated.
Posted: Fri Sep 15, 2006 5:41 am
by Henrie
Hello Olywaguy,
There is another thread in this forum which handles the repeating security check
viewtopic.php?t=706&start=0.
First of all, it is best to upgrade your guestbook to the newest version (1.43) which has some improvements over version 1.41.
In the previously mentioned thread the outcome is that it most likely is a session problem.
Can you please upload the following files (the ones inside the zip file) to your server and place a link here:
http://www.phpjunkyard.com/extras/phpinfo.zip and
http://www.phpjunkyard.com/extras/session_test.zip
Than we will have a further look.
Greetings,
Henrie
Posted: Fri Sep 15, 2006 4:50 pm
by Olywaguy
Posted: Sat Sep 16, 2006 11:13 am
by Klemen
Hi,
There is a number of tasks you should do to make sure your SPAM protection is working and up-to-date:
1. Upgrade GBook to version 1.43. It's easy and you won't loose any existing posts. Download the new version and see the readme.html file for instructions how to upgrade.
2. Next you should have your host (or yourself if you are server admin) install/enable GD library on your server so you can use the graphical security image. On Windows all it usually takes is a little change in the php.ini file, see this post for more info:
viewtopic.php?p=4486#4486
3. If at all possible I would recommend upgrading your PHP to a more recent version, for example 4.4.x as it has new features and many bugs fixed from your current version (4.3.2). Again this must be done by someone with root (administrator) server access.
If for some reason you can't upgrade it (or your host doesn't want to) you can try deleting line 49 in gbook.php (version 1.43):
session_regenerate_id();
Regards,
Posted: Fri Sep 29, 2006 11:48 am
by Villa Bussola
Host: alphamegahosting.com
Guestbook version 1.43
PHP Version 4.3.9
Uploaded the sesion_test.php and that works fine.
url of the guestbook:
http://www.villabussola.com/nederlands/gastenboek.html
Found this topic cause i have this problem with the security image,
When i fill in the exact numbers it keeps telling me its the wrong security number. I think this started after installing 1.43 but i'm not sure.
installed 1.43 because i had a lot of spam, that's over now . So are the normal messages ;-((
Allready tried the sessiontest with following outcome:
Session started successfully!
CLICK HERE FOR PAGE 2
$_SESSION['test'] is set to: TRUE
Help would be verry much apreciated
Posted: Sun Oct 01, 2006 6:31 pm
by Henrie
Hello Villa Bussola,
I just posted a message in your guestbook and got no error at all.
So everything seems to work.
Greetings,
Henrie
problem solved!
Posted: Mon Oct 02, 2006 6:20 am
by Villa Bussola
thanks for your reply but the problem is solved.
Two months ago i replaced the guestbook.php file for version 4.13, as i found out yesterday, i didn't replace the setting file !!!
after replacing the settings file with version 4.13 the problem was solved.
thanks again for teh help....