Neverending "Security-Number"-Check?

Dr. GBooky is here to help you with your guestbook problems ...
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hi,

Found the problem - your PHP installation doesn't support Zlib. Please contact your host and ask them to enable Zlib compression for PHP
http://php.net/zlib

Regards
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
LairBear
Posts: 6
Joined: Sat Apr 01, 2006 11:12 pm

Guestbook

Post by LairBear »

Klemen Stirn wrote:Hi,

Found the problem - your PHP installation doesn't support Zlib. Please contact your host and ask them to enable Zlib compression for PHP
http://php.net/zlib

Regards
Thanks. I will forward this on to my isp. I appreciate your help with this.

Larry
Ravey76
Posts: 13
Joined: Sun Feb 26, 2006 10:50 pm

Post by Ravey76 »

Hello Klemen,

I still have the problem mentioned some threads before, but I will step in contact with my isp, too, to check if there's a problem with ZLIB.

But now I have an other, very SERIOUS problem - I think the anti-spam-funcionallity of your guestbook doesn't work anymore...

From yesterday till now I received almost a dozen spam-entries in my gb; please have a look (made a screenshot):

http://www.bmw-einzylinder.de/gaestebuch/spam.jpg

Do you have any idea what can I do?

Thanks a lot
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post by Henrie »

I received exactly the same postings (5 in 26 minutes).
They all came from the same IP-address 81.222.134.133 .
If I receive another spam from the same poster I will probably block him by IP-number.

Greetings,
Henrie
Stuart123
Posts: 1
Joined: Sun May 14, 2006 10:17 am

Post by Stuart123 »

Hi, I've been running GBook very well for a month or so but have just started being targetted by spammers. Consquently I've turned on the security check. It works for one post but if you try to post again within the same browser session you run into the repeated number situation others have mentioned here. I've yet to try any of the suggested fixes but thought I would highlight the fact that this does seem to be an issue.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

This does seem to be an issue but it is an issue with server setup which doesn't process PHP session correctly. It might seems as a not so small issue but keep in mind only a few people from tens of thousands who downloaded GBook have it, it must be a sever-side problem.
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
alegnastark
Posts: 2
Joined: Mon Jun 12, 2006 12:54 am

Post by alegnastark »

Hello!

I am having the exact same problem of an endless cycle of security checks. I've tested the guestbook using Safari 1.3.2, Firefox 1.0.2, and IE 5.2. I also had my husband try it from his computer in a different state of the country.

The previous version of the guestbook that I had installed was 1.33, which worked fine apart from getting a lot of spam.

I am guessing I either screwed something up installing the program or that there is a problem with my server.

Any help would be VERY much appreciated! I uploaded phpinfo.php if that is any help. I know next to nothing about php, but it looks like Zlib is enabled, but Zlib.output_compression is off. From reading the previous posts in this topic, is that the problem?

Relevant links:

http://www.dianawilliamson.com/guestbook
http://www.dianawilliamson.com/guestbook/phpinfo.php

Thanks!
Sincerely,

Angela
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hello,

Seems like you are having problems with sessions on your server, although everything seems ok in phpinfo file. There are a few things I would try:
Please make sure you close ALL browser windows (including this one) between tests

1. Try uploading
http://www.phpjunkyard.com/extras/session_test.zip
and see if it works

2. If n1 works try editing gbook.php, just change line 49 from

Code: Select all

session_regenerate_id();
to

Code: Select all

// session_regenerate_id();
and see if that helps

3. If n2 doesn't work try adding this code to gbook.php

Code: Select all

ini_set('session.use_trans_sid', true);
(just paste the code in an empty line somewhere at top of gbook.php, for example line 8, 28 or 32)

4. If none of the above works, can you try with original gbook.php and EMPTY header/footer files?

Let me know if any of the above works. And like said don't forget to close all browser windows between tests.

Regards
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
alegnastark
Posts: 2
Joined: Mon Jun 12, 2006 12:54 am

Post by alegnastark »

Hi Klemen,

Thanks very much for your help. Unfortunately I'm still having the same problem. I uploaded the session_test files to the /guestbook directory, and I got "Session started successfully!" on the first page and $_SESSION['test'] is set to: TRUE on the second.

I tried n2, changing line 49, but I got a wrong security number error.

Then I tried n3, adding the line of code, but it didn't seem to have an effect.

I also tried both n2 and n3, which ended up with the wrong number error.

I uploaded a fresh copy of the program to:

http://www.dianawilliamson.com/gbook

The only thing I changed in settings.php was the website URL. Then I uploaded everything, and CHMOD'd entries.txt to 666.

Oh, and I made sure to not only close all browser windows, but I quit my browser and restarted it between tests.

If you can think of anything else to try, please let me know! I am a novice at all of this php stuff so I hope the problem isn't something simple that I've failed to do.

Thanks again!

Angela
hk995
Posts: 1
Joined: Fri Aug 18, 2006 12:32 am

Post by hk995 »

Klemen Stirn wrote:Hi,

Found the problem - your PHP installation doesn't support Zlib. Please contact your host and ask them to enable Zlib compression for PHP
http://php.net/zlib

Regards
i tried the link and it didn't work! i got " The page cannot be displayed " so is the link ok? maybe their website is down today!
Find the Best Business Opportunities on the Internet, Join Free Worldwide, Visit Now! http://buyllp.com
Post Reply