Problem with a contact form (feedback form)

Author Message

Alain Mangana

Monday 20 April 2009 2:30:04 am

I have a contact form when you click on submit button, the url display http://www.monsite.com/index.php/fr/content/action and the form doesn't sended, I do not know where is the problem. is that someone has an idea? as if my form stop at action.

excuse me for my bad English,

http://tikdem.com
/

Guillaume Marty

Monday 20 April 2009 3:38:22 am

Hello Alain,

Most likely you removed an input in the template which is needed to use the feedback form.

The content/action module expects a POST parameter named "ActionCollectInformation" (usually the submit btn) to know that it has to run the collectinformation module.

I hope this can help.

Cheers

Alain Mangana

Monday 20 April 2009 5:41:16 am

Hi,

I have included this parameter in my form

<input type="submit" name="ActionCollectInformation" value="{"Send form"|i18n("design/ezwebin/full/feedback_form")}" />

http://tikdem.com
/

Gabriel Finkelstein

Friday 24 April 2009 2:45:15 pm

Make sure you have all the attributes in your template. When you set an attribute as collector but you don't include it in the form, the form won't be submitted nor throw an error.

André R.

Saturday 25 April 2009 11:29:29 am

Witch ezp version are you using?

Edit: Thought I had an issue on 4.1 for a while, but the developer that made the form had removed a attribute from the html based on certain conditions, and the info collector silently failed when the attribute was missing from the request (so solved by hiding it with css instead).

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Alain Mangana

Thursday 30 April 2009 9:47:03 am

I have ezpublish 4.0.1

http://tikdem.com
/

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 30 2025 21:34:09
Script start
Timing: Jan 30 2025 21:34:09
Module start 'layout'
Timing: Jan 30 2025 21:34:09
Module start 'content'
Timing: Jan 30 2025 21:34:09
Module end 'content'
Timing: Jan 30 2025 21:34:09
Script end

Main resources:

Total runtime0.0244 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 588.2656151.2266
Module start 'layout' 0.00470.0038 739.4922220.7188
Module start 'content' 0.00840.0142 960.21091,001.9609
Module end 'content' 0.02260.0017 1,962.171937.9922
Script end 0.0243  2,000.1641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002710.9698140.0002
Check MTime0.00104.2152140.0001
Mysql Total
Database connection0.00072.804610.0007
Mysqli_queries0.002510.432430.0008
Looping result0.00000.037210.0000
Template Total0.00135.210.0013
Template load0.00104.006710.0010
Template processing0.00031.182510.0003
Override
Cache load0.00062.583410.0006
General
dbfile0.002711.171580.0003
String conversion0.00000.025540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs