I have a table that displays data from two db tables. I recently changed the tables fabrik from InnoDB to MyISAM. I am not sure if that may be part of the reason why suddenly the data filter functionality does not work any more for the filed that I defined it for (Service Type).
1) It works if I define the filter as a Field, but then I cannot undo a selection to see the full list again.
2) It does not work for Dropdown List, no action is taken.
3) It does not work if I choose search as the option. At least this option gives me an error, which i list below:
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 \'on-demand seminar
ORDER BY jos_fabrik_formdata_3.service_type A SQL=SELECT jos_fabrik_formdata_3.service_type AS `jos_fabrik_formdata_3.service_type`,
jos_fabrik_formdata_3.service_id AS `jos_fabrik_formdata_3.service_id`,
jos_fabrik_formdata_3.service_title AS `jos_fabrik_formdata_3.service_title`,
jos_fabrik_formdata_3.date_launched AS `jos_fabrik_formdata_3.date_launched`,
jos_fabrik_formdata_3.media_duration AS `jos_fabrik_formdata_3.media_duration`,
jos_fabrik_formdata_3.enrolment_duration AS `jos_fabrik_formdata_3.enrolment_duration`,
jos_fabrik_formdata_3.credits AS `jos_fabrik_formdata_3.credits`,
mdl_course.cost AS `mdl_course.cost`,
mdl_course.currency AS `mdl_course.currency`,
jos_fabrik_formdata_3.fabrik_internal_id AS `jos_fabrik_formdata_3.fabrik_internal_id`,
jos_fabrik_formdata_3.fabrik_internal_id AS __pk_val
FROM jos_fabrik_formdata_3
LEFT JOIN mdl_course ON mdl_course.shortname = jos_fabrik_formdata_3.service_id
WHERE jos_fabrik_formdata_3.service_type on-demand seminar
ORDER BY jos_fabrik_formdata_3.service_type ASC LIMIT 0, 30You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \'on-demand seminar\n ORDER BY jos_fabrik_formdata_3.service_type A SQL=SELECT jos_fabrik_formdata_3.service_type AS `jos_fabrik_formdata_3.service_type`, \n jos_fabrik_formdata_3.service_id AS `jos_fabrik_formdata_3.service_id`, \n jos_fabrik_formdata_3.service_title AS `jos_fabrik_formdata_3.service_title`, \n jos_fabrik_formdata_3.date_launched AS `jos_fabrik_formdata_3.date_launched`, \n jos_fabrik_formdata_3.media_duration AS `jos_fabrik_formdata_3.media_duration`, \n jos_fabrik_formdata_3.enrolment_duration AS `jos_fabrik_formdata_3.enrolment_duration`, \n jos_fabrik_formdata_3.credits AS `jos_fabrik_formdata_3.credits`, \n mdl_course.cost AS `mdl_course.cost`, \n mdl_course.currency AS `mdl_course.currency`,\n jos_fabrik_formdata_3.fabrik_internal_id AS `jos_fabrik_formdata_3.fabrik_internal_id`,\n jos_fabrik_formdata_3.fabrik_internal_id AS __pk_val\n FROM jos_fabrik_formdata_3 \n LEFT JOIN mdl_course ON mdl_course.shortname = jos_fabrik_formdata_3.service_id \n WHERE jos_fabrik_formdata_3.service_type on-demand seminar\n ORDER BY jos_fabrik_formdata_3.service_type ASC LIMIT 0, 30
I am using PHP (CGI) 2.1.x, MySQL 5.0.x, Fabrik 1.0.4 on Linux. In this example the two fields "shortname" and "service_id are the fields the Join was defined on.
The join was created before I changed the Mysql from InnoDB to MyISAM.
What can I try to resolve this?
Thanks
Mariana
1) It works if I define the filter as a Field, but then I cannot undo a selection to see the full list again.
2) It does not work for Dropdown List, no action is taken.
3) It does not work if I choose search as the option. At least this option gives me an error, which i list below:
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 \'on-demand seminar
ORDER BY jos_fabrik_formdata_3.service_type A SQL=SELECT jos_fabrik_formdata_3.service_type AS `jos_fabrik_formdata_3.service_type`,
jos_fabrik_formdata_3.service_id AS `jos_fabrik_formdata_3.service_id`,
jos_fabrik_formdata_3.service_title AS `jos_fabrik_formdata_3.service_title`,
jos_fabrik_formdata_3.date_launched AS `jos_fabrik_formdata_3.date_launched`,
jos_fabrik_formdata_3.media_duration AS `jos_fabrik_formdata_3.media_duration`,
jos_fabrik_formdata_3.enrolment_duration AS `jos_fabrik_formdata_3.enrolment_duration`,
jos_fabrik_formdata_3.credits AS `jos_fabrik_formdata_3.credits`,
mdl_course.cost AS `mdl_course.cost`,
mdl_course.currency AS `mdl_course.currency`,
jos_fabrik_formdata_3.fabrik_internal_id AS `jos_fabrik_formdata_3.fabrik_internal_id`,
jos_fabrik_formdata_3.fabrik_internal_id AS __pk_val
FROM jos_fabrik_formdata_3
LEFT JOIN mdl_course ON mdl_course.shortname = jos_fabrik_formdata_3.service_id
WHERE jos_fabrik_formdata_3.service_type on-demand seminar
ORDER BY jos_fabrik_formdata_3.service_type ASC LIMIT 0, 30You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near \'on-demand seminar\n ORDER BY jos_fabrik_formdata_3.service_type A SQL=SELECT jos_fabrik_formdata_3.service_type AS `jos_fabrik_formdata_3.service_type`, \n jos_fabrik_formdata_3.service_id AS `jos_fabrik_formdata_3.service_id`, \n jos_fabrik_formdata_3.service_title AS `jos_fabrik_formdata_3.service_title`, \n jos_fabrik_formdata_3.date_launched AS `jos_fabrik_formdata_3.date_launched`, \n jos_fabrik_formdata_3.media_duration AS `jos_fabrik_formdata_3.media_duration`, \n jos_fabrik_formdata_3.enrolment_duration AS `jos_fabrik_formdata_3.enrolment_duration`, \n jos_fabrik_formdata_3.credits AS `jos_fabrik_formdata_3.credits`, \n mdl_course.cost AS `mdl_course.cost`, \n mdl_course.currency AS `mdl_course.currency`,\n jos_fabrik_formdata_3.fabrik_internal_id AS `jos_fabrik_formdata_3.fabrik_internal_id`,\n jos_fabrik_formdata_3.fabrik_internal_id AS __pk_val\n FROM jos_fabrik_formdata_3 \n LEFT JOIN mdl_course ON mdl_course.shortname = jos_fabrik_formdata_3.service_id \n WHERE jos_fabrik_formdata_3.service_type on-demand seminar\n ORDER BY jos_fabrik_formdata_3.service_type ASC LIMIT 0, 30
I am using PHP (CGI) 2.1.x, MySQL 5.0.x, Fabrik 1.0.4 on Linux. In this example the two fields "shortname" and "service_id are the fields the Join was defined on.
The join was created before I changed the Mysql from InnoDB to MyISAM.
What can I try to resolve this?
Thanks
Mariana