Forums

[SOLVED] Syntax error and Fatal error

bruno71 24 Sep, 2008
Hi,

Anyone have any ideas on where I may have gone wrong?

The following appears at the top of the form page

Parse error: syntax error, unexpected '-', expecting ',' or ';' in ***********/components/com_chronocontact/chronocontact.php(41) : eval()'d code on line 13


After I submit the form I get this:

Parse error: syntax error, unexpected '-', expecting ',' or ';' in ***************/components/com_chronocontact/chronocontact.php(41) : eval()'d code on line 13
_POST: Array ( [text_7] => Anders [text_6] => anders@********.net [Affischering] => Affischering [Vara_med_i_styrelsen] => Vara med i styrelsen [undefined] => Skicka! [143a6752ff5431fc3a1aa53c561a1cf0] => 1 ) 
Tack för ditt svar!

/Styrelsen


Fatal error: Call to a member function bind() on a non-object in /**************/components/com_chronocontact/chronocontact.php(548) : eval()'d code on line 12


Nothing gets stored in the database, and no email gets sent.

*Edit: my version of Joomla: 1.5.7
*Edit2: posted in the wrong forum first...
bruno71 25 Sep, 2008
Thanks. It was the names (or id:s?) of the form elements that had been generated with some swedish special characters (å,ä,ö).

Suggestion for next version: the Wizard should strip away prohibited characters from the form name/id:s. You would still want to keep them in the labels and values(?)...
Max_admin 25 Sep, 2008
labels and values is fine of course!
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
This topic is locked and no more replies can be posted.