Script URL: http://www.zehnernet.de/privat/guestbook/guestbook.html
Version of script: 1.6
What terms did you try when SEARCHING for a solution: "security"
Write your message below:
Hi members,
I try to implement the security code. However what value of the key I try, it does not work corractly.
With 2 (image), I have to press F5 in my browser to see the picture.
With1 (text), I can see a number, but the script returns "Wrong code!", after that I can't see any othe code to use.
I've read in this forum of questions of either key value = 1 OR 2, but nothing with the behaviour of my guestbook.
Can you test this and tell me is going wrong here, please?
Thanks in advance.
Stefan
Security Code 1 or 2
Most likely problems with sessions. Can't be sure unless you post the files you were asked for (phpinfo and session_test files), you will find them in the "READ THIS BEFORE POSTING A NEW QUESTION!!" topic.
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
Sorry, and thank for that quick
.
Here are the links you asks for:
http://www.zehnernet.de/privat/guestboo ... hpinfo.php
http://www.zehnernet.de/privat/guestboo ... n_test.php
http://www.zehnernet.de/privat/guestboo ... _test2.php
Thanks in advance,
Stefan

Here are the links you asks for:
http://www.zehnernet.de/privat/guestboo ... hpinfo.php
http://www.zehnernet.de/privat/guestboo ... n_test.php
http://www.zehnernet.de/privat/guestboo ... _test2.php
Thanks in advance,
Stefan
Sessions seem to work fine from the test file. Can you try removing these lines from the settings.php file and let's see if you get any new error messages:
Also can you try installing a clean installation of GBook in a test folder without editing anything like this:
- make a test folder (for example "guestbooktest")
- upload all files
- chmod entries.txt to 666
- don't make any changes to the settings or language files
- test if it works
Code: Select all
ini_set('display_errors', 0);
ini_set('log_errors', 1);
- make a test folder (for example "guestbooktest")
- upload all files
- chmod entries.txt to 666
- don't make any changes to the settings or language files
- test if it works
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
Hi,
I tried both possibikities. The first one gave me a lot of errors back.
If you are interested in:
Warning: Unterminated comment starting line 87 in /homepages/27/d13586505/htdocs/privat/guestbook/php/settings.php on line 87
Warning: Cannot modify header information - headers already sent by (output started at /homepages/27/d13586505/htdocs/privat/guestbook/php/gbook.php:5) in /homepages/27/d13586505/htdocs/privat/guestbook/php/gbook.php on line 1059
Warning: Cannot modify header information - headers already sent by (output started at /homepages/27/d13586505/htdocs/privat/guestbook/php/gbook.php:5) in /homepages/27/d13586505/htdocs/privat/guestbook/php/gbook.php on line 1060
Warning: Cannot modify header information - headers already sent by (output started at /homepages/27/d13586505/htdocs/privat/guestbook/php/gbook.php:5) in /homepages/27/d13586505/htdocs/privat/guestbook/php/gbook.php on line 1061
After click on new messege:
******************************
Warning: Unterminated comment starting line 87 in /homepages/27/d13586505/htdocs/privat/guestbook/php/settings.php on line 87
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /homepages/27/d13586505/htdocs/privat/guestbook/php/gbook.php:5) in /homepages/27/d13586505/htdocs/privat/guestbook/php/gbook.php on line 51
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /homepages/27/d13586505/htdocs/privat/guestbook/php/gbook.php:5) in /homepages/27/d13586505/htdocs/privat/guestbook/php/gbook.php on line 51
Warning: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent in /homepages/27/d13586505/htdocs/privat/guestbook/php/gbook.php on line 1227
Warning: Cannot modify header information - headers already sent by (output started at /homepages/27/d13586505/htdocs/privat/guestbook/php/gbook.php:5) in /homepages/27/d13586505/htdocs/privat/guestbook/php/gbook.php on line 1059
Warning: Cannot modify header information - headers already sent by (output started at /homepages/27/d13586505/htdocs/privat/guestbook/php/gbook.php:5) in /homepages/27/d13586505/htdocs/privat/guestbook/php/gbook.php on line 1060
Warning: Cannot modify header information - headers already sent by (output started at /homepages/27/d13586505/htdocs/privat/guestbook/php/gbook.php:5) in /homepages/27/d13586505/htdocs/privat/guestbook/php/gbook.php on line 1061
The second one works well: http://www.zehnernet.de/gbooktest/
Now I copied the "new" settings.php to my guestbookfolder, and it works here to.
So I think perhaps I've made a mistake ba translating the texts into Geman. I will try this again and will have a look.
Thanks again for helping
Stefan
I tried both possibikities. The first one gave me a lot of errors back.
If you are interested in:
Warning: Unterminated comment starting line 87 in /homepages/27/d13586505/htdocs/privat/guestbook/php/settings.php on line 87
Warning: Cannot modify header information - headers already sent by (output started at /homepages/27/d13586505/htdocs/privat/guestbook/php/gbook.php:5) in /homepages/27/d13586505/htdocs/privat/guestbook/php/gbook.php on line 1059
Warning: Cannot modify header information - headers already sent by (output started at /homepages/27/d13586505/htdocs/privat/guestbook/php/gbook.php:5) in /homepages/27/d13586505/htdocs/privat/guestbook/php/gbook.php on line 1060
Warning: Cannot modify header information - headers already sent by (output started at /homepages/27/d13586505/htdocs/privat/guestbook/php/gbook.php:5) in /homepages/27/d13586505/htdocs/privat/guestbook/php/gbook.php on line 1061
After click on new messege:
******************************
Warning: Unterminated comment starting line 87 in /homepages/27/d13586505/htdocs/privat/guestbook/php/settings.php on line 87
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /homepages/27/d13586505/htdocs/privat/guestbook/php/gbook.php:5) in /homepages/27/d13586505/htdocs/privat/guestbook/php/gbook.php on line 51
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /homepages/27/d13586505/htdocs/privat/guestbook/php/gbook.php:5) in /homepages/27/d13586505/htdocs/privat/guestbook/php/gbook.php on line 51
Warning: session_regenerate_id() [function.session-regenerate-id]: Cannot regenerate session id - headers already sent in /homepages/27/d13586505/htdocs/privat/guestbook/php/gbook.php on line 1227
Warning: Cannot modify header information - headers already sent by (output started at /homepages/27/d13586505/htdocs/privat/guestbook/php/gbook.php:5) in /homepages/27/d13586505/htdocs/privat/guestbook/php/gbook.php on line 1059
Warning: Cannot modify header information - headers already sent by (output started at /homepages/27/d13586505/htdocs/privat/guestbook/php/gbook.php:5) in /homepages/27/d13586505/htdocs/privat/guestbook/php/gbook.php on line 1060
Warning: Cannot modify header information - headers already sent by (output started at /homepages/27/d13586505/htdocs/privat/guestbook/php/gbook.php:5) in /homepages/27/d13586505/htdocs/privat/guestbook/php/gbook.php on line 1061
The second one works well: http://www.zehnernet.de/gbooktest/
Now I copied the "new" settings.php to my guestbookfolder, and it works here to.
So I think perhaps I've made a mistake ba translating the texts into Geman. I will try this again and will have a look.
Thanks again for helping

Stefan
Yes, I thought so because the symptoms were those of non-working sessions but your session test file works fine.
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