Forums

Parse error and fatal error

stevensandberg 25 Feb, 2010
Hi I get 2 errors when I submit my form:


Parse error: syntax error, unexpected '-', expecting ',' or ';' in /www/htdocs/visavis/components/com_chronocontact/chronocontact.php(53) : eval()'d code on line 9

Fatal error: Call to a member function bind() on a non-object in /www/htdocs/visavis/components/com_chronocontact/libraries/customcode.php(71) : eval()'d code on line 13

I have linked Chronoforms to Acymailing through the CURL option, the strange thing when I tested locally it worked fine...

you can have a look on the site here:
http://www.visavis.nl/index.php?option=com_chronocontact&Itemid=145&lang=nl

Any tips anyone?

Thanks,
Steven
GreyHead 25 Feb, 2010
Hi steven,

Quick answer as I don't have time to look at the form right now - you've probably got a dash in the form name or one of the input names.

Bob
armid 18 Mar, 2010
Hi. Sorry for my English. I have a similar problem.

Parse error: syntax error, unexpected '-', expecting ',' or ';' in /directory pass/public_html/components/com_chronocontact/chronocontact.php(53) : eval()'d code on line 10


Fatal error: Call to a member function bind() on a non-object in /directory pass/public_html/components/com_chronocontact/libraries/customcode.php(71) : eval()'d code on line 13

What can I do?
GreyHead 18 Mar, 2010
Hi armid,

Same problem, same answer

. . . you've probably got a dash in the form name or one of the input names.

Replace it with an underscore '_'.

Bob
armid 18 Mar, 2010
I am very sorry, I forgot to say.I do not have _ in the name of the form and field names.
My form http://komfort2000.com.ua/kontakty
What can I do whith this?

Sorry for my English🙂
GreyHead 18 Mar, 2010
Hi armid,

Then it's in one of the database column names???

If you've renamed the columns then you may need to refresh the DB Connection by setting it to No, Applying the form, then setting it back to Yes and Applying again.

Bob
armid 18 Mar, 2010
Thanks!!!
The problem was as follows. At first, I really have been "_" in the names of the fields. I renamed them, and in the database, they have remained as before.
This topic is locked and no more replies can be posted.