Hey,
Hope you can help me with this problem.
I just created a simple form with the 'Easy Form Wizard' (only Text Box for name and a Submit Button.) In 'Store Data' Tab I choosed my table (tried both ways, creating table in 'Forms Manager' and in HeidiSQL).
Now, when I test my form, entering a name and clicking 'Submit', i'm getting this error message:
"Warning: Invalid argument supplied for foreach() in /www/htdocs/w00e50f1/wasistweb/administrator/components/com_chronoforms/form_actions/db_save/db_save.php on line 50"
If i try to 'Show Data', I see this:
"Warning: Invalid argument supplied for foreach() in /www/htdocs/w00e50f1/wasistweb/administrator/components/com_chronoforms/controller.php on line 545"
"Warning: Invalid argument supplied for foreach() in /www/htdocs/w00e50f1/wasistweb/administrator/components/com_chronoforms/views/list_data.php on line 12"
"This table has no primary keys and its records can't be viewed!"
The weird thing is, I can see Records listed and also the data in my table. I choosed a Primary key. What does this error messsage mean?
Please excuse my poor english, I am from Germany.
Hope you can help me with this problem.
I just created a simple form with the 'Easy Form Wizard' (only Text Box for name and a Submit Button.) In 'Store Data' Tab I choosed my table (tried both ways, creating table in 'Forms Manager' and in HeidiSQL).
Now, when I test my form, entering a name and clicking 'Submit', i'm getting this error message:
"Warning: Invalid argument supplied for foreach() in /www/htdocs/w00e50f1/wasistweb/administrator/components/com_chronoforms/form_actions/db_save/db_save.php on line 50"
If i try to 'Show Data', I see this:
"Warning: Invalid argument supplied for foreach() in /www/htdocs/w00e50f1/wasistweb/administrator/components/com_chronoforms/controller.php on line 545"
"Warning: Invalid argument supplied for foreach() in /www/htdocs/w00e50f1/wasistweb/administrator/components/com_chronoforms/views/list_data.php on line 12"
"This table has no primary keys and its records can't be viewed!"
The weird thing is, I can see Records listed and also the data in my table. I choosed a Primary key. What does this error messsage mean?
Please excuse my poor english, I am from Germany.
HI shorti41,
It looks as though the error messages are because ChronoForms isn't finding any columns in the table you are linking to.
Is it possible that the table name is wrong? Or the table isn't in the Joomla! database but somewhere else?
Bob
It looks as though the error messages are because ChronoForms isn't finding any columns in the table you are linking to.
Is it possible that the table name is wrong? Or the table isn't in the Joomla! database but somewhere else?
Bob
Hey, thank you for your reply!
ChronoForms does find the column, because when I enter a name in the Text Box and click on Submit, i can find the data in my SQL programm, in the table i created.
ChronoForms does find the column, because when I enter a name in the Text Box and click on Submit, i can find the data in my SQL programm, in the table i created.
Hi shorti41,
Please go to your site Global Configuration and try setting Error Reporting to System Default or to none and this should hide the warnings.
Bob
Please go to your site Global Configuration and try setting Error Reporting to System Default or to none and this should hide the warnings.
Bob
This topic is locked and no more replies can be posted.