Forums

save data to database not working

heimi 17 Feb, 2009
Hello!

I'm usig Version 3.0 Stable in J1.5 and my form works well but when i want to save the data to database i always get the following error after submitting my form:
Parse error: syntax error, unexpected '-', expecting ',' or ';' in /kunden/176650_83700/webseiten/joomla/components/com_chronocontact/chronocontact.php(41) : eval()'d code on line 28
Fatal error: Call to a member function bind() on a non-object in /kunden/176650_83700/webseiten/joomla/components/com_chronocontact/chronocontact.php(548) : eval()'d code on line 12
And there will be saved no data, but the form will be delivered via E-Mail though.
Can someone help me, please?
My form can be opened here: http://www.gaestehaus-stadler-webermohof.de/joomla/index.php?option=com_chronocontact&chronoformname=Formular

PS: I am not able to install the latest version, because i'll get an error. Is this a known bug? Unfortunatele I didn't save the exactly error message but if you need it i can try to install in once again and paste the error message here.
GreyHead 17 Feb, 2009
Hi Heimi,

I'm not certain, but I think it's probably the hyphen in this field name
<input id="E-Mail" class="required validate-email" type="text" size="43" tabindex="181" name="E-Mail"/>
Hypens can cause problems with the databse save sometimes.

Bob
This topic is locked and no more replies can be posted.