Forums

Trying to save to database

websitescenes 14 Jun, 2011
Hello, I have created a form and an associated table according to the tutorial for V4 but I keep getting this error:

Parse error: syntax error, unexpected '$', expecting T_VARIABLE in /administrator/components/com_chronoforms/form_actions/db_save/db_save.php(62) : eval()'d code on line 18

Fatal error: Call to a member function bind() on a non-object in /administrator/components/com_chronoforms/form_actions/db_save/db_save.php on line 85

I am running Joomla 1.5.22 and the latest chronoforms component. Also I must say that this component is very impressive and if I can work this one thing out, I plan on making a contribution. I appreciate the support you seem to regularly give. Thanks.

Hunt-WebsiteScenes
websitescenes 14 Jun, 2011
So I found the problem was with numbers in my fields. I had wanted to put 2011_2012 and it didn't like that. I changed it to current_year and it works fine. Thanks again for this awesome component!😛
GreyHead 14 Jun, 2011
Hi websitescenes,

Ok - that mkes sense - you can't have input names starting with a number. Using say x2010-2011 should be OK.

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