Page 1 of 1

Wrong security number.

Posted: Thu Jun 15, 2006 12:07 pm
by Nexus6
Script URL: www.squireblatti.ch/guestbook/gbook.php
Version of script: 1.42
Version of PHP: ?
Hosting company: witweb.ch
Have you searched THIS FORUM for your problem: yes, but I am not sure what the solution is
(if not please do before posting)
If so, what terms did you try:
Wrong security number
Write your message below:

Hi, I just had version 1.32 removed and installed 1.42, now when I try to enter the right number I always getting a 'Wrong security number' error. I found a few entries about this in this forum but I am not exactly sure what the problem solving solution is.

Posted: Thu Jun 15, 2006 2:16 pm
by Klemen
You can start by uploading php info file:
http://www.phpjunkyard.com/extras/phpinfo.zip
and session test file to your gbook folder:
http://www.phpjunkyard.com/extras/session_test.zip

Then post links to the above files here.

Wrong security number

Posted: Fri Jun 16, 2006 10:58 am
by Nexus6
Hi Klemen,

Thanks a lot for the quick reply.

I copied them to www.squireblatti.ch/guestbook/

Thanks for your help

Still does not work.

Posted: Mon Jun 19, 2006 3:11 am
by Nexus6
Hi, I copied the files and get a lots of information, but still don't know what the problem is or how I can fix it.

Heeeelp.... :?:

Posted: Wed Jun 21, 2006 7:40 am
by Vorlon
Hey there, I have the same problem. I just upgraded from gbook 1.34 to 1.41

I've uploaded those two files and here's their links:

session_test.php
phpinfo.php

Just for reference here is where the gbook is at.

Posted: Tue Jun 27, 2006 5:37 pm
by Klemen
Vorlon: I see you are on a Windows server, try changing server API from CGI/FastCGI to ISAPI (or ask your hos to do it for you). I think you can do that in php.ini , please refer to PHP manual and I think some instruction are also in Hesk forum (try searching the Hesk forum for ISAPI ).

Anything?

Posted: Wed Jun 28, 2006 6:04 am
by Nexus6
Hi Klemen,

did you see anything on my side?

Here are the links:
http://www.squireblatti.ch/guestbook/phpinfo.php

and

http://www.squireblatti.ch/guestbook/session_test.php

Thanks a lot... :(

Posted: Wed Jun 28, 2006 7:51 am
by Klemen
Hi,

Ah, sorry, missed your post. No, can't find anything unusually really. Have you tried changing line 49 in gbook.php from

Code: Select all

session_regenerate_id();
to

Code: Select all

//session_regenerate_id();
?

Does it make any difference? Make sure you reboot your PC before testing.

Nope

Posted: Sun Jul 02, 2006 10:14 pm
by Nexus6
Hi Klemen, thanks for your reply. I changed the entry but still does not work (although I can not reboot the server since it is hosted by my provider).

I might go back to the old version.

Thanks for your help, great tool and much appreciated.

Cheers
Thomas