Amema
New Member
I already have three lists that work more or less perfectly. Trying to add a fourth ends in disaster, even though it's only one more of the same. No extra frills added; I use exactly the same fields and functions as before...
A First of all, the Save button only saves the id, but not the rest of the entered info into fields, textareas, date, user and dropdown. If I try to add it by editing afterwards I get the error:
Store row failed:
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 'WHERE' at line 1 SQL=UPDATE `libro_` SET WHERE
together with a blue line saying that saving/updating the line was successful, even though nothing was updated.
B At first I had filter ON for the dropdowns, but filter them as dropdowns gave these errors and warnings. (It says "Unknown column 'libro._". But the database table is libro_ without the period.) Here is the error for the User Dropdown filtered as Dropdown:
Warning: Invalid argument supplied for foreach() in /storage/.../components/com_fabrik/models/element.php on line 2165
Warning: Invalid argument supplied for foreach() in /storage/.../components/com_fabrik/models/element.php on line 2214
Warning: array_values() [function.array-values]: The argument should be an array in /storage/.../components/com_fabrik/models/element.php on line 2222
C The next dropdown field is a Dropdown with individual filter as Dropdown, which returns other errors:
Warning: Invalid argument supplied for foreach() in /storage/content/72/106572/lek.bonadomo.se/public_html/j25eo/components/com_fabrik/models/element.php on line 2165
Warning: Invalid argument supplied for foreach() in /storage/content/72/106572/lek.bonadomo.se/public_html/j25eo/components/com_fabrik/models/element.php on line 2214
Warning: array_values() [function.array-values]: The argument should be an array in /storage/content/72/106572/lek.bonadomo.se/public_html/j25eo/components/com_fabrik/models/element.php on line 2222
Warning: usort() [function.usort]: The argument should be an array in /storage/content/72/106572/lek.bonadomo.se/public_html/j25eo/libraries/joomla/utilities/arrayhelper.php on line 463
Warning: array_unshift() [function.array-unshift]: The first argument should be an array in /storage/content/72/106572/lek.bonadomo.se/public_html/j25eo/components/com_fabrik/models/elementlist.php on line 125
Warning: Invalid argument supplied for foreach() in /storage/content/72/106572/lek.bonadomo.se/public_html/j25eo/libraries/joomla/html/html/select.php on line 504
Changing both dropdowns individual filters to 'field' makes the errors go away.
A First of all, the Save button only saves the id, but not the rest of the entered info into fields, textareas, date, user and dropdown. If I try to add it by editing afterwards I get the error:
Store row failed:
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 'WHERE' at line 1 SQL=UPDATE `libro_` SET WHERE
together with a blue line saying that saving/updating the line was successful, even though nothing was updated.
B At first I had filter ON for the dropdowns, but filter them as dropdowns gave these errors and warnings. (It says "Unknown column 'libro._". But the database table is libro_ without the period.) Here is the error for the User Dropdown filtered as Dropdown:
- filter query error: Unknown column 'libro._respondecas' in 'field list' SQL=SELECT DISTINCT(`j25_users`.name) AS `text`, `libro`.`_respondecas` AS `value` FROM `libro_`INNER JOIN `j25_users` AS `j25_users` ON `j25_users`.id = `libro`.`_respondecas` WHERE `libro`.`_respondecas` IN ('') GROUP BY text ASC
Warning: Invalid argument supplied for foreach() in /storage/.../components/com_fabrik/models/element.php on line 2165
Warning: Invalid argument supplied for foreach() in /storage/.../components/com_fabrik/models/element.php on line 2214
Warning: array_values() [function.array-values]: The argument should be an array in /storage/.../components/com_fabrik/models/element.php on line 2222
C The next dropdown field is a Dropdown with individual filter as Dropdown, which returns other errors:
- filter query error: Unknown column 'libro._stato' in 'field list' SQL=SELECT DISTINCT(`libro`.`_stato`) AS `text`, `libro`.`_stato` AS `value` FROM `libro_`LEFT JOIN `j25_users` AS `j25_users` ON `j25_users`.`id` = `libro_`.`respondecas` WHERE `libro`.`_stato` IN ('') GROUP BY text ASC
Warning: Invalid argument supplied for foreach() in /storage/content/72/106572/lek.bonadomo.se/public_html/j25eo/components/com_fabrik/models/element.php on line 2165
Warning: Invalid argument supplied for foreach() in /storage/content/72/106572/lek.bonadomo.se/public_html/j25eo/components/com_fabrik/models/element.php on line 2214
Warning: array_values() [function.array-values]: The argument should be an array in /storage/content/72/106572/lek.bonadomo.se/public_html/j25eo/components/com_fabrik/models/element.php on line 2222
Warning: usort() [function.usort]: The argument should be an array in /storage/content/72/106572/lek.bonadomo.se/public_html/j25eo/libraries/joomla/utilities/arrayhelper.php on line 463
Warning: array_unshift() [function.array-unshift]: The first argument should be an array in /storage/content/72/106572/lek.bonadomo.se/public_html/j25eo/components/com_fabrik/models/elementlist.php on line 125
Warning: Invalid argument supplied for foreach() in /storage/content/72/106572/lek.bonadomo.se/public_html/j25eo/libraries/joomla/html/html/select.php on line 504
Changing both dropdowns individual filters to 'field' makes the errors go away.