Hello,
I wanted to post this bug when using the automatic table creation to create a table for the form data to go in if there is a dash in the table name it creates this error:
Parse error: syntax error, unexpected '-', expecting '{' in /usr/local/www/abcdefg/components/com_chronocontact/chronocontact.php(41) : eval()'d code on line 3
This traces back to the database eval script
if($paramsvalues->dbconnection == "Yes"){^M
eval ("?>".$rows[0]->dbclasses);^M
}^M
Here is the sample table name: jos_chronoforms_abc-design-submissions
I also get this error in the back end now:
DB function failed with error number 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-design-request ORDER BY cf_id LIMIT 0,20' at line 1 SQL=SELECT * FROM jos_chronoforms_abc-design-submissions ORDER BY cf_id LIMIT 0,20
Looks like I need to recreate it without the "-"🙂
Cheers,
Paul
I wanted to post this bug when using the automatic table creation to create a table for the form data to go in if there is a dash in the table name it creates this error:
Parse error: syntax error, unexpected '-', expecting '{' in /usr/local/www/abcdefg/components/com_chronocontact/chronocontact.php(41) : eval()'d code on line 3
This traces back to the database eval script
if($paramsvalues->dbconnection == "Yes"){^M
eval ("?>".$rows[0]->dbclasses);^M
}^M
Here is the sample table name: jos_chronoforms_abc-design-submissions
I also get this error in the back end now:
DB function failed with error number 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-design-request ORDER BY cf_id LIMIT 0,20' at line 1 SQL=SELECT * FROM jos_chronoforms_abc-design-submissions ORDER BY cf_id LIMIT 0,20
Looks like I need to recreate it without the "-"🙂
Cheers,
Paul