problem with antispam

Author Message

Oliver Dzierzon

Monday 02 March 2009 11:30:12 pm

Hello,

the antispam extension does not work with my feedback form (collection object). Im using eZ Publish 4.0.1.

I have already edited the sckantispamtype.php

http://ez.no/de/developer/forum/setup_design/big_problem_with_the_antispam_extension/re_big_problem_with_the_antispam_extension__6

but now I always get the error message

<i>
Fatal error: Call to a member function classContent() on a non-object in /home/dzierzon/public_html/www.neugart.de/extension/antispam/autoloads/sckantispamtemplateoperator.php on line 210 Fatal error: eZ Publish did not finish its request
</i>

Björn [email protected]

Monday 02 March 2009 11:52:52 pm

Hi Oliver,

I would try the recaptcha antispam extension. That one is not buggy.

http://projects.ez.no/recaptcha

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Oliver Dzierzon

Tuesday 03 March 2009 12:03:20 am

Ok, it was my mistake.

my mistake was in the form template

{def $attribute=$content_object.data_map.captcha}
instead of
{def $attribute=$content_object.data_map.anti_spam}

Now the captcha image is displayed. whenever the validation does not work proper.
The feddback form is always sent even if the captcha user input is wrong

Oliver Dzierzon

Tuesday 03 March 2009 12:09:54 am

Hello Björn,

I already tried, there I had the same validation Problem:

The feedback form was sent regardless the captcha input of the user was correct or not.

ciao

Olli

Björn [email protected]

Tuesday 03 March 2009 2:22:33 pm

Bad luck that both seem to have an issue with info collection.

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Bruce Morrison

Tuesday 03 March 2009 4:51:26 pm

Hi Oliver & Björn

Let me know if there was an issue with the recapture extension so I can fix.

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Oliver Dzierzon

Thursday 05 March 2009 3:17:23 am

Hi Bruce,

now I have reactivated the recaptcha extension. It seems to work fine.
When I tried first, I had the problem, that the form was sent even if the entered captcha text was incorrect.

I think I made a mistake by implement in my template.

Thank you

ciao Olli

Serhey Dolgushev

Monday 16 March 2009 5:14:17 am

Plz try http://ez.no/developer/contribs/datatypes/ib_captcha

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.