Page 1 of 1

Captcha not displayed [SOLVED]

Posted: Fri Jun 14, 2013 7:22 am
by nuTux
Good morning

I've got a problem with the captchas, I enabled the Captchas (not strong captchas) for the comments, but the captach image is not shown...

In this post i read, that it could be a Problem server wise or from the browser.

I checked with chromium and firefox (both have cookies enabled) so there it should work...

The thing with the server should also not be a problem, in my phpinfo ist

Code: Select all

session

Session Support	enabled
Registered save handlers	files user sqlite
Registered serializer handlers	php php_binary
So what could it else be?
Thank you, and have a nice day

Re: Captcha not displayed

Posted: Fri Jun 14, 2013 8:16 am
by yellowled
nuTux wrote:So what could it else be?
No GD lib or imagemagick binary? Wrong path to imagemagick binary set in the s9y configuration?

YL

Re: Captcha not displayed

Posted: Fri Jun 14, 2013 8:19 am
by yellowled
By the way, I would strongly recommend not to use captchas at all but to rely on other spam protection mechanisms like the various spamblock plugins available for s9y. Captchas are a pain to use for any kind of visitor.

YL

Re: Captcha not displayed

Posted: Fri Jun 14, 2013 9:56 am
by Timbalu
nuTux wrote:So what could it else be?
You could also be subjected by this, if using PHP >= 5.4.4
http://board.s9y.org/viewtopic.php?f=2&t=19265

Re: Captcha not displayed

Posted: Fri Jun 14, 2013 10:27 am
by nuTux
Timbalu wrote:
nuTux wrote:So what could it else be?
You could also be subjected by this, if using PHP >= 5.4.4
http://board.s9y.org/viewtopic.php?f=2&t=19265
Shouldn't be this, I'm using PHP 5.3.8

When I get a bit more time, I'll have a closer look at yellowleds suggestion, this thread sounds very interesting, aswell the potcast wich ist linked in this thread.

Thx

Re: Captcha not displayed

Posted: Sun Jun 16, 2013 12:17 am
by nuTux
Ok so I got it, there was the wrong imagemagik URL, now I can see the captcah but it still doesnt work, it always tell me i tipped it wrong.
But never mind

As yellowled mentioned: "Nobody want to use captcha" in this Post
Is he right...

So I installed SpammBee and the Bayes Plugin. It works fine except that the hidden file and the calculation field is shown.

What settings do I have to change? couldn't really find them??

Re: Captcha not displayed

Posted: Sun Jun 16, 2013 12:37 am
by kleinerChemiker
Do you have JavaScript enabled?

Re: Captcha not displayed

Posted: Sun Jun 16, 2013 1:19 am
by nuTux
Yes it is

You can test/see it on

http://www.nutux.ch

Re: Captcha not displayed

Posted: Sun Jun 16, 2013 9:56 am
by kleinerChemiker
There is nothing shon for me.

Re: Captcha not displayed

Posted: Sun Jun 16, 2013 10:51 am
by yellowled
nuTux wrote:It works fine except that the hidden file and the calculation field is shown.
No, they're not. You shouldn't have to change or edit anything since usually, the plugins adds the required CSS and JS to your blog automagically. If you do see the hidden and calc fields, it's very likely that you have Javascript disabled in your browser (maybe using a noscript browser plugin?). If that's not the case, I can only imagine this to be a caching issue. Try reloading an entry page a few times. It's definitely not shown to me in your blog.

YL

Re: Captcha not displayed

Posted: Sun Jun 16, 2013 2:02 pm
by nuTux
Ok that sounds cool.
I tested it again and then it worked aswell, could it be that the problem was that i was logged in?

I still don't really get it, what all the differences are if I'm logged in or not...

But it works no so I think I mark it as solved

Re: Captcha not displayed

Posted: Sun Jun 16, 2013 2:51 pm
by yellowled
nuTux wrote:I tested it again and then it worked aswell, could it be that the problem was that i was logged in?
That would mean that the plugin hook which the template uses to emit “stuff generated by plugins” would not be shown to logged in users, which is highly unlikely. It's more likely it was a temporary caching issue.

YL