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 Dieding@xrow.de

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 Dieding@xrow.de

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.

eZ debug

Timing: Jan 18 2025 16:04:09
Script start
Timing: Jan 18 2025 16:04:09
Module start 'layout'
Timing: Jan 18 2025 16:04:09
Module start 'content'
Timing: Jan 18 2025 16:04:10
Module end 'content'
Timing: Jan 18 2025 16:04:10
Script end

Main resources:

Total runtime1.2381 sec
Peak memory usage4,096.0000 KB
Database Queries76

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 589.3359152.6250
Module start 'layout' 0.00550.0027 741.960939.4453
Module start 'content' 0.00821.2287 781.4063672.9297
Module end 'content' 1.23690.0012 1,454.335916.1719
Script end 1.2380  1,470.5078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.2815160.0002
Check MTime0.00140.1091160.0001
Mysql Total
Database connection0.00070.055910.0007
Mysqli_queries1.165394.1241760.0153
Looping result0.00080.0655740.0000
Template Total1.206597.420.6032
Template load0.00240.194820.0012
Template processing1.204097.252620.6020
Template load and register function0.00020.015010.0002
states
state_id_array0.00090.076210.0009
state_identifier_array0.00110.085220.0005
Override
Cache load0.00200.1596470.0000
Sytem overhead
Fetch class attribute can translate value0.00070.057340.0002
Fetch class attribute name0.00160.1289110.0001
XML
Image XML parsing0.00340.271640.0008
class_abstraction
Instantiating content class attribute0.00000.0020120.0000
General
dbfile0.00360.2942280.0001
String conversion0.00000.000640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
12content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 31
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs