Problems with contact form (feedback form)

Author Message

Daniela Moreno

Wednesday 27 October 2004 1:32:44 pm

Im having problems with the contact form. Whenever a new message is sent to the recipient address, the only thing sent is "The following information was collected:" I dont receive any of the information. I have no idea if its a problem with the collectedinfomail template or with the actioncollectinformation action botton, because it wont even validate any of the inputs.
If you can help me, ill be really grateful.
Thanks

Silke Fox

Thursday 28 October 2004 1:16:32 am

It might be helpful to turn on template debugging.

Does this occur on a multi-lingual site? I remember I had something similar when the information collection object existed in another language than the language that was used by the siteaccess...

Concerning validation - is "content/edit_validation.tpl" included in the template?

silke

Daniela Moreno

Thursday 28 October 2004 7:19:09 am

ok, so how do i turn on template debugging? and how can that help me? (as you can see im such a newbie)

yes, its a multi-lingual site, english and spanish, do you think thats related to my problem?

About validation, "content/edit_validation.tp" is not in the template. however, the template does include the following:

{include name=Validation uri='design:content/collectedinfo_validation.tpl'
class='message-warning'
validation=$validation collection_attributes=$collection_attributes}

i do have "content/edit_validation.tp" but its not in the template of the feedback form.
:S

Thanks a bunch silke :)

Silke Fox

Tuesday 02 November 2004 12:42:37 am

Sorry for being so late... hopefully you already figured it out.

To turn on template debugging, add this to your settings/override/site.ini.append(.php) file:

[TemplateSettings]
Debug=enabled

See also http://ez.no/ez_publish/documentation/configuration/configuration/common_settings.
Remember to clear the cache afterwards.

Is the feedback content object translated in both languages?

Daniela Moreno

Thursday 04 November 2004 1:14:12 pm

No problem

But no, i havent figured it out.

ill try what u say, hope it works.

And yes my feedback content object is in both languages.

Thanxs!

Daniela Moreno

Thursday 04 November 2004 1:48:57 pm

ok, so now that i used the translator in both languages it does validates and collects the information and sends it to the email receiver, but now it wont send it to the recipient email.

why is this happening?
does the attriburte "recipient" has to be marked as "disabled translation" and "information collector"?

Silke Fox

Friday 05 November 2004 2:14:26 am

The "email_receiver" attribute should not be marked as information collector.
Only those attributes that your customer should fill in must be marked as "collect information". In this way you can combine them with attributes that are just displayed, like form title, intro etc.
It doesn't matter if translation is disabled or enabled for attribute "email_receiver", as long as its value is filled for both languages.

Hm, you might try to set another email_receiver value in the template, see design\standard\templates\content\collectedinfomail.tpl (or your override template).

{* Use this line to specify the e-mail in the template, can read this from the object to
   make it dynamic pr form
{set-block scope=root variable=email_receiver}nospam@ez.no{/set-block}
*}

You're getting closer... ;)

Daniela Moreno

Friday 05 November 2004 7:55:13 am

ohhh ok, that totally help. i changed the email receiver in the template and now it works! thanxs a lot.

no i have ANOTHER problem. I dont receoive the email address of the person who sent the contact form, i just get the message and the subject. Ive been reading around some stuff about fixing this bug, but none of these works. do u have any idea about this?

anyways, u were such a big help. thank u so so much!

Mazin Mustafa

Wednesday 23 November 2005 12:14:55 pm

Hi Daniela,
I have run into the same issue described in your last posting; i.e. email not showing up. Did you ever get that worked out?

Regards
Mazin

Gurudutt Verma

Thursday 24 November 2005 12:40:16 am

Hi mazin

The solution is given in this discussion itself or also see at
http://ez.no/community/forum/install_configuration/problem_with_contact_us_email_sender

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 31 2025 08:14:50
Script start
Timing: Jan 31 2025 08:14:50
Module start 'layout'
Timing: Jan 31 2025 08:14:50
Module start 'content'
Timing: Jan 31 2025 08:14:50
Module end 'content'
Timing: Jan 31 2025 08:14:50
Script end

Main resources:

Total runtime0.0143 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 588.2656151.2266
Module start 'layout' 0.00520.0022 739.492236.6797
Module start 'content' 0.00750.0053 776.1719102.3125
Module end 'content' 0.01280.0015 878.484441.9922
Script end 0.0143  920.4766 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002417.0741140.0002
Check MTime0.00117.5992140.0001
Mysql Total
Database connection0.00064.303410.0006
Mysqli_queries0.002215.170130.0007
Looping result0.00000.076510.0000
Template Total0.00118.010.0011
Template load0.00096.026110.0009
Template processing0.00031.938910.0003
Override
Cache load0.00064.268510.0006
General
dbfile0.00021.686180.0000
String conversion0.00000.043240.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