Odd "security code" error

Dr. GBooky is here to help you with your guestbook problems ...
Post Reply
LRod
Posts: 9
Joined: Wed Apr 09, 2008 10:47 pm

Odd "security code" error

Post by LRod »

Script URL: http://www.mcarthur64.com/guestbook/gbook.php
Version of script:1.6
Hosting company:Powweb.com
URL of phpinfo.php:http://www.mcarthur64.com/guestbook/phpinfo.php
URL of session_test.php:http://www.mcarthur64.com/guestbook/session_test.php
What terms did you try when SEARCHING for a solution:Didn't know where to begin.

Write your message below:

Worked great this afternoon. Did some editing of the code, virtually all HTML stuff. Went out to dinner. When I came back, eager to put the script on line, and make my first entry, I started getting the "wrong security code" message. Moreover, every time I've tried it since (I've unrevised everything I had done and retried) the security code comes up as the same number every time (50560, if that matters). I'm pretty sure every attempt at posting an entry should return a different code.

Wha hoppen?
LRod
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Well if it worked great before editing the file then the first thing to suspect is you did something to break the sessions in GBook (the security image doesn't even show for me).

Try uploading the original gbook.php again, does it work then?
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
LRod
Posts: 9
Joined: Wed Apr 09, 2008 10:47 pm

Post by LRod »

Klemen wrote:Well if it worked great before editing the file then the first thing to suspect is you did something to break the sessions in GBook (the security image doesn't even show for me).
Yeah, Troubleshooting 101. It bothered me that I couldn't even resurrect it after undoing everything. Maybe I wasn't as thorough as I thought.
Try uploading the original gbook.php again, does it work then?
I did a reinstall and it's working again. I'm doing incremental revisions so I can spot the problem just when it shows up if it happens again.

Thanks for your prompt reply. I like the look and the flexibility of your code. I've been able to make the page fit right in with the rest of my site.
LRod
Post Reply