Forums

Blank Emails

Pat 30 May, 2007
My forms recently stopped working. I was on 1.5 and the forms were working properly in early April. The form data is being written to the database so I am able to view and retrieve the completed forms.

But the emails sent only have the users ip address and nothing else. I have tried removing my custom templates and it still does not include the data in the email. I even uninstalled 1.5 and installed 1.7 recreated the from using the same settings and still no content in the email.

The last test I created a new form without the database entered the email settings and added 1 field with a submit button and the form submits, I get the email with only the ip address no data from the 1 field.

What could I be doing incorrectly?
Max_admin 31 May, 2007
Hi Pat,

This is strange, but can you try V 1.9 available now ? and if it didn't work again then could you please see which email type you get at the configuration ?

Cheers,

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Max_admin 31 May, 2007
V 1.9 will be available today, but not now yet!

Thanks

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GuidanceRI 22 Jun, 2007
I love this component...without a doubt.

I am having the same problem with the blank email running v2.0. I have 3 forms, 2 of which I have tried using the "mytemplate". On one form it works perfectly fine! On the second, the email is blank.

Please help.

Thanks!
Scott 22 Jun, 2007
I just Installed the latest version yesterday, following the tutorial.

I'm also getting blank emails.
Max_admin 23 Jun, 2007
Hi,

In order to get a form to email you must have those fileds :

#1- form name
#2- Email addresses
#3- subject
#4- fromname : e.g.: Admin
#5- fromemail: e.g.: [email]admin@admin.com[/email]

for dynamically changing the fromname and fromemail :
#1- fromname field : e.g.: fname -> this is your html field name
#2- fromemail field : e.g.: email -> this is your html field name

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Max_admin 23 Jun, 2007
Please post screenshots for your form config

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GuidanceRI 23 Jun, 2007
I have attached the screenshots to this msg. The are in a .doc file.

I was reading thru the forum about the formating for field titles and I altered the chroncontact.php file. I now the get the following error😟


Parse error: parse error, unexpected T_STRING in /home/content/r/p/l/rplaskett/html/components/com_chronocontact/chronocontact.php on line 95

Thanks for all the help! [file name=screenshots.doc size=48640]http://www.chronoengine.com/components/com_fireboard/uploaded/files/screenshots.doc[/file]
Scott 23 Jun, 2007
Here's the screenshot.
GreyHead 23 Jun, 2007
Hi Scott,



Bob<br><br>Post edited by: GreyHead, at: 2007/06/23 10:27
Max_admin 23 Jun, 2007
Hi Scott,

Bob's solution should fix your issues, are you ok now ?

@GuidanceRI, did the solution posted by Bob help you anyway ?

Regards,

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Scott 23 Jun, 2007
Thanks GreyHead. After careful scrutiny of my form's code, I found the problem: the quotes were missing in all of my values for input name= fields:

<input maxLength=64 name=email tabindex="8">

And after reading some of your posts, along with Max's clarification of the 5 requirements, I corrected the entries in the admin> general tab.

My form is working now, so THANK YOU so much for the help!

I really like this component. Max--I'm getting a license. I think worth it.

I'll be soliciting assistance with phase II of my form's creation, which is, capturing the data and storing it in a database, and also, using the form with a CC processing script.
Max_admin 23 Jun, 2007
Thats great, thanks Scott!!
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GuidanceRI 24 Jun, 2007
Max,
Unfortunately that wasn't a problem for me. The form at isnt working with the "my template" turn on is the same form that I took code from to create the form that does work. not sure what the problem is.

They both work with the fields turn on but it easier to read with mytemplate.

Thanks in advance!
Ralph
GreyHead 24 Jun, 2007
Hi Ralph,

I just worked through your form code and the problem arises because you are using arrays to collect data later in the form. These give field names like name[] and the square brackets blow up ChronoForms template parser.

If you open up chronocontact.php and go to line 143 and insert a new line after it this will work - at least until Max looks at his code in a future version.
$name = preg_replace('/name=("|\')/', '', $new_match2);
$name = str_replace('[]', '', $name); /* <- insert this line */
$emailbodytemplate = $rows[0]->emailtemplate;


Bob

PS Out of curiosity, why have you got all those hidden fields in the form?<br><br>Post edited by: GreyHead, at: 2007/06/24 17:34
GuidanceRI 25 Jun, 2007
Bob,

Absolutely perfect! Thank you much!

Regarding the hidden fields, my "webdev" friend made the form. She doesn't have a good explaination either. I am going to through it and clean up the code.

Again, Thanks a lot!

Ralph

PS> I'm new to Joomla thus new to chronoengine...but this is the best support I have ever experienced!
This topic is locked and no more replies can be posted.