CAPCHA Img Not work, Text based =wrong answer

Dr. GBooky is here to help you with your guestbook problems ...
rarmy
Posts: 19
Joined: Sat Mar 17, 2012 9:58 pm

CAPCHA Img Not work, Text based =wrong answer

Post by rarmy »

Script URL: http://www.rarmy.com/gbook
Version of script: 1.7
Hosting company: atjeu.com
URL of phpinfo.php: http://www.rarmy.com/site_info.php
URL of session_test.php: http://www.rarmy.com/gbook
What terms did you try when SEARCHING for a solution: capcha, capcha not showing
Source of File: PHPJunkyard direct

Write your message below:

OK, session_test say "passed" but am unable to see img on either IE9 or FF11, set settings.php to "2" (test based) and get continued "wrong answer" , have it disabled at this time. All issues end with "if sessions pass, then other problem exist" (paraphrase here) so, what questions do I ask of Service Provider?? What else can I do? :( Love this program, want to use on a couple of sites I own, but want the extra spam protection... :D
Roy "Boomer" Army
My Home Site
jbhoo12
Posts: 4
Joined: Fri Mar 16, 2012 12:54 am

Re: CAPCHA Img Not work, Text based =wrong answer

Post by jbhoo12 »

This is not an answer but Me too same thing no image in any browser
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Re: CAPCHA Img Not work, Text based =wrong answer

Post by Henrie »

Hello rarmy,

I see you do not have it disabled anymore. Did you solve your problem?
The textbased version is active and it works for me (FF11).

jbhoo12 has solved is problem, see this thread viewtopic.php?p=17014#p17014
But I do not think it applies to you as it seems you have made a fresh install and not an upgrade from a previous version.

Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
rarmy
Posts: 19
Joined: Sat Mar 17, 2012 9:58 pm

Re: CAPCHA Img Not work, Text based =wrong answer

Post by rarmy »

Henrie wrote:Hello rarmy,

I see you do not have it disabled anymore. Did you solve your problem?
The textbased version is active and it works for me (FF11).

jbhoo12 has solved is problem, see this thread viewtopic.php?p=17014#p17014
But I do not think it applies to you as it seems you have made a fresh install and not an upgrade from a previous version.

Henrie
??? I only see the "type the letters in", let me re-add the number captcha...in txt mode...there, try and type in the numbers shown...
Roy "Boomer" Army
My Home Site
rarmy
Posts: 19
Joined: Sat Mar 17, 2012 9:58 pm

Re: CAPCHA Img Not work, Text based =wrong answer

Post by rarmy »

Here is screen shot...

Image
Roy "Boomer" Army
My Home Site
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Re: CAPCHA Img Not work, Text based =wrong answer

Post by Henrie »

Hello rarmy,

My apologies, I was to quick in testing and in my mind replaced the question with the captcha :roll:
I get the same error.

Unfortunately I have no idea of a solution because as you pointed out, the session_test is working.

Maybe the solution as described here ( viewtopic.php?f=7&t=2574&p=12637 ) might work for you?

Henrie
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: CAPCHA Img Not work, Text based =wrong answer

Post by Klemen »

Your server is automatically starting sessions which are messing with GBook sessions.

You will need to disable session.auto_start in PHP for your server (or at least for the gbook folder).
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
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Re: CAPCHA Img Not work, Text based =wrong answer

Post by Henrie »

Luckily we have Klemen, he is so much better at this technical stuff than me :D
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
rarmy
Posts: 19
Joined: Sat Mar 17, 2012 9:58 pm

Re: CAPCHA Img Not work, Text based =wrong answer

Post by rarmy »

Klemen wrote:Your server is automatically starting sessions which are messing with GBook sessions.

You will need to disable session.auto_start in PHP for your server (or at least for the gbook folder).
Since I have so much php running on my site, how do I disable for the gbook folder?? .htaccess ??? php.ini ???

need a little help, please... not intuitive for me...
Roy "Boomer" Army
My Home Site
rarmy
Posts: 19
Joined: Sat Mar 17, 2012 9:58 pm

Re: CAPCHA Img Not work, Text based =wrong answer

Post by rarmy »

rarmy wrote:
Klemen wrote:Your server is automatically starting sessions which are messing with GBook sessions.

You will need to disable session.auto_start in PHP for your server (or at least for the gbook folder).
Since I have so much php running on my site, how do I disable for the gbook folder?? .htaccess ??? php.ini ???

need a little help, please... not intuitive for me...
Fixed set php.ini with above entry...works w/text am going to try image next...tnks

Is also working...thanks, love this app, now hack it all up getting it to match my web site...
Roy "Boomer" Army
My Home Site
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: CAPCHA Img Not work, Text based =wrong answer

Post by Klemen »

Glad that fixed it. Yes, either php.ini or .htaccess to disable it for one folder only:

Code: Select all

php_flag session.auto_start 0
Thanks for the drink!

@Henrie - you too help a lot around here, thanks :wink:
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
rarmy
Posts: 19
Joined: Sat Mar 17, 2012 9:58 pm

Re: CAPCHA Img Not work, Text based =wrong answer

Post by rarmy »

Klemen wrote:Glad that fixed it. Yes, either php.ini or .htaccess to disable it for one folder only:

Code: Select all

php_flag session.auto_start 0
Thanks for the drink!

@Henrie - you too help a lot around here, thanks :wink:
Hehehe... used what you had already posted in php.ini...

Code: Select all

disable session.auto_start
and it worked, just replaced with ...

Code: Select all

php_flag session.auto_start 0
Like I said, I like this program... finished and running... My Home Page
Roy "Boomer" Army
My Home Site
rarmy
Posts: 19
Joined: Sat Mar 17, 2012 9:58 pm

Re: CAPCHA Img Not work, Text based =wrong answer

Post by rarmy »

Holy Cow I love this App...now have 3 installs...

http://www.rarmy.com --> Main Domain...
http://www.swgr.org --> Reenactment Group (http://www.rarmy.com/swgr/)
http://www.reenactorswire.net --> phpBB3 Forum for reenactors // link on top button bar...//(http://www.rarmy.com/wire/)

all three have there own style, the 2 add-on Domains wont show captcha image but text works...
Now we see what happens as far as spam.

BTW that's your random text app on my main page --> http://www.rarmy.com
Roy "Boomer" Army
My Home Site
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: CAPCHA Img Not work, Text based =wrong answer

Post by Klemen »

Not sure why the other two wouldn't show image, perhaps sessions-related issues?

However, if you write a good and unique "anti-spam question" you should be spam-free even with captcha (either text or image) completely disabled. The best anti-spam questions are those requiring a logical answer while the answer itself is not in the question text.
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
rarmy
Posts: 19
Joined: Sat Mar 17, 2012 9:58 pm

Re: CAPCHA Img Not work, Text based =wrong answer

Post by rarmy »

Klemen wrote:Not sure why the other two wouldn't show image, perhaps sessions-related issues?

However, if you write a good and unique "anti-spam question" you should be spam-free even with captcha (either text or image) completely disabled. The best anti-spam questions are those requiring a logical answer while the answer itself is not in the question text.
Hmmm, will think on that, let's see how it goes for now.

As for the image issue, while playing around with custom pages for phpBB3, I discovered an issue with the php file, and the problem was saving as "UTF-8 without BOM" acording to the phpBB issue, it can affect security images.
This problem seems most prevalent when editing the the phpBB3 language files and saving them in the file encoding UTF-8 with the BOM. This can result in similar errors to the one posted above or depending on the files edited it can cause other problems such as the visual confirmation image not working.
Issues Link is:
Knowledge Base - phpBB3 and UTF-8 without BOM
Check it out, might help others...
Roy "Boomer" Army
My Home Site
Post Reply