Forums

Solved - Email is empty

rtenny 26 Aug, 2008
I have managed to get a form done very quickly (this is a marvellous component).
The email is send to my email account as well, but the email is empty.
There only thing in it is the IP address of who submitted the data.

Any ideas would be much appreciated
GreyHead 26 Aug, 2008
Hi rtenny,

Which version of ChronoForms and Joomla are you using? V3.0 behaves differently from v 2.5 and earlier.

Two possibilities come to mind. With v 2.5 and earlier you could get this if (a) you have set ChronoForms to use an email template but left the template blank; or (b) you don't have quotes round the names of your form fields in the form html.

Bob
rtenny 26 Aug, 2008
I am using the latest Beta 2 version on Joomla 1.5.6
I have turned on the debug on and I got these messages

_POST: Array ( [text_0] => Ralf Tenbrink [text_1] => [text_2] => [text_3] => [email]ralf@soulofthenet.com[/email] [Conservatory_Roofs] => Conservatory Roofs [text_5] => [chrono_verification] => wiGm6 [undefined] => Submit )
Use template

Warning: preg_replace() [function.preg-replace]: Unknown modifier '_' in /home/soulahos/public_html/solar/components/com_chronocontact/chronocontact.php on line 442

Warning: preg_replace() [function.preg-replace]: Unknown modifier 'H' in /home/soulahos/public_html/solar/components/com_chronocontact/chronocontact.php on line 442

Warning: preg_replace() [function.preg-replace]: Unknown modifier 'V' in /home/soulahos/public_html/solar/components/com_chronocontact/chronocontact.php on line 442
Email sent
E-mail message


The URL to test this is http://www.solarguardsl.com/getaquote
Max_admin 26 Aug, 2008
Hi rtenny,

show me the rest of the debug ? and show me your template source code ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
rtenny 27 Aug, 2008
I already had a look myself at your code and found the error. You are using regular expression to fill the email template. I have used the / sign in the checkbox field and that was causing the error. I remade the form with the use of / and everything works.

Thanks for your fast reply I do appriciate it. Great component. We will need several of them so I will look at the licensing now I buy a few.
😀
This topic is locked and no more replies can be posted.