Page 1 of 2

CAPCHA Img Not work, Text based =wrong answer

Posted: Sat Mar 17, 2012 10:43 pm
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

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

Posted: Sat Mar 17, 2012 11:53 pm
by jbhoo12
This is not an answer but Me too same thing no image in any browser

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

Posted: Sun Mar 18, 2012 7:27 am
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

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

Posted: Sun Mar 18, 2012 8:05 am
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...

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

Posted: Sun Mar 18, 2012 8:14 am
by rarmy
Here is screen shot...

Image

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

Posted: Sun Mar 18, 2012 8:44 am
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

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

Posted: Sun Mar 18, 2012 9:12 am
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).

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

Posted: Sun Mar 18, 2012 9:28 am
by Henrie
Luckily we have Klemen, he is so much better at this technical stuff than me :D

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

Posted: Sun Mar 18, 2012 9:45 am
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...

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

Posted: Sun Mar 18, 2012 9:51 am
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...

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

Posted: Sun Mar 18, 2012 10:38 am
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:

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

Posted: Sun Mar 18, 2012 11:03 am
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

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

Posted: Mon Mar 19, 2012 1:13 pm
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

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

Posted: Mon Mar 19, 2012 1:24 pm
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.

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

Posted: Mon Mar 19, 2012 1:50 pm
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...