Hi,
Enabling the DB connection seems fine in the backend, but the form page now displays the following error code:
Disabling the DB connection makes this error go away.
Any ideas?
Thanks,
- Vince
Enabling the DB connection seems fine in the backend, but the form page now displays the following error code:
Parse error: syntax error, unexpected '-', expecting '{' in /homepages/2/d105690735/htdocs/components/com_chronocontact/chronocontact.php(52) : eval()'d code on line 3
Disabling the DB connection makes this error go away.
Any ideas?
Thanks,
- Vince
Hi Vince,
one for your form fields names has a - and so one of your table columns names did have it too when you created a table and this is why it happens, please fix the form name and then create a new table and connect to the new table and ignore the buggy one!
Regards
Max
one for your form fields names has a - and so one of your table columns names did have it too when you created a table and this is why it happens, please fix the form name and then create a new table and connect to the new table and ignore the buggy one!
Regards
Max
Hi Max,
That indeed was the problem. This was beore we realised that '-' should not be used in form names.
You may want to consider an error/validation to avoid this in future versions?
Suppose the only way to remove the old table is with good old phpMyAdmin?
Many thanks,
Vincent
That indeed was the problem. This was beore we realised that '-' should not be used in form names.
You may want to consider an error/validation to avoid this in future versions?
Suppose the only way to remove the old table is with good old phpMyAdmin?
Many thanks,
Vincent
Hi Vincent,
Sure, I will try to add some validation! and yes you need a phpmyadmin to remove the table!
Regards
Max
Sure, I will try to add some validation! and yes you need a phpmyadmin to remove the table!
Regards
Max
This topic is locked and no more replies can be posted.