• Hello Fabrik Community

    Fabrik is now in the hands of the development team that brought you Fabrik for Joomla 4. We have recently transitioned the Fabrik site over to a new server and are busy trying to clean it up. We have upgraded the site to Joomla 4 and are running the latest version of Fabrik 4. We have also upgraded the Xenforo forum software to the latest version. Many of the widgets you might have been used to on the forum are no longer operational, many abandoned by the developers. We hope to bring back some of the important ones as we have time.

    Exciting times to be sure.

    The Fabrik 4.0 Official release is now available. In addition, the Fabrik codebase is now available in a public repository. See the notices about these in the announcements section

    We wish to shout out a very big Thank You to all of you who have made donations. They have really helped. But we can always use more...wink..wink..

    Also a big Thank You to those of you who have been assisting others in the forum. This takes a very big burden off of us as we work on bugs, the website and the future of Fabrik.

MySQL bug !

rbuelund

Member
All of a sudden I get an error on all my lists in fabrik, here is one of them:

Fabrik has generated an incorrect query for the list Defekter:

SELECT SQL_CALC_FOUND_ROWS DISTINCT `nj37rjh_fabrik_defects`.`id` AS `nj37rjh_fabrik_defects___id`,
`nj37rjh_fabrik_defects`.`id` AS `nj37rjh_fabrik_defects___id_raw`,
`nj37rjh_fabrik_defects`.`user` AS `nj37rjh_fabrik_defects___user_raw`,
`nj37rjh_fabrik_defects`.`user` AS `nj37rjh_fabrik_defects___user`,
`nj37rjh_fabrik_defects`.`category` AS `nj37rjh_fabrik_defects___category`,
`nj37rjh_fabrik_defects`.`category` AS `nj37rjh_fabrik_defects___category_raw`,
`nj37rjh_fabrik_defects`.`date_time` AS `nj37rjh_fabrik_defects___date_time`,
`nj37rjh_fabrik_defects`.`date_time` AS `nj37rjh_fabrik_defects___date_time_raw`,
`nj37rjh_fabrik_defects`.`kayak` AS `nj37rjh_fabrik_defects___kayak_raw`,
CONCAT_WS('', nj37rjh_fabrik_kayaks.number,' (', nj37rjh_fabrik_kayaks.type,')') AS `nj37rjh_fabrik_defects___kayak`,
`nj37rjh_fabrik_defects`.`description` AS `nj37rjh_fabrik_defects___description`,
`nj37rjh_fabrik_defects`.`description` AS `nj37rjh_fabrik_defects___description_raw`,
`nj37rjh_fabrik_defects`.`is_done` AS `nj37rjh_fabrik_defects___is_done`,
`nj37rjh_fabrik_defects`.`is_done` AS `nj37rjh_fabrik_defects___is_done_raw`,
`nj37rjh_fabrik_defects`.`id` AS slug
, `nj37rjh_fabrik_defects`.`id` AS `__pk_val`

FROM `nj37rjh_fabrik_defects`
LEFT JOIN `nj37rjh_fabrik_kayaks` AS `nj37rjh_fabrik_kayaks` ON `nj37rjh_fabrik_kayaks`.`id` = `nj37rjh_fabrik_defects`.`kayak`
ORDER BY `nj37rjh_fabrik_defects`.`date_time` DESC

Only thing I have done is updated Joomla every once in a while - but do I also need to update Fabrik to the lates nightly - has there been any breaking changes ??? I use Fabrik stable version 3.9.2
 
Try running this sql through phpmyadmin or mijosql. They will give you a better idea of which line is causing the problem. The error should show you a near message.
 
All of a sudden I get an error on all my lists in fabrik
If you didn't change anything - was there any change on your server (php version, DB version, php limits)?
Did you check your Fabrik connection?
 
I have had similar errors in lists with multiple joins when accidentally disabling one of elements. Please check all the elements stated in the SQL query are enabled and the user has access rights on them too.
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top