Forums

Parse error

jantenkate 05 Nov, 2011
Hi,

I have created a form and a db table as shown in the tutorials.
Filling the form goes OK, but submitting results in a parse error and fatal error.

The parse error I get is:
Parse error: syntax error, unexpected '-', expecting ',' or ';' in C:\wamp\www\Objectief17\administrator\components\com_chronoforms\form_actions\db_save\db_save.php(63) : eval()'d code on line 11

The fatal error is:
Fatal error: Call to a member function bind() on a non-object in C:\wamp\www\Objectief17\administrator\components\com_chronoforms\form_actions\db_save\db_save.php on line 86

As you can see, I use this on my local WAMP-server, so it is a little bit difficult to show it in "real life".

Can you help me solve this problem?

Greetings

Jan
GreyHead 06 Nov, 2011
Hi jantenkate,

You probably have a dash '-' or some other special character in one of your input names. Dashes give ChronoForms and MySQL problems. Please rename the input using only [a-z], [A-Z], [0-9] or underscore '_'. No dashes, spaces or other special characters.

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

VPS & Email Hosting 20% discount

{item:title} {images:#}