Bug: can't trash cron tasks

Status
Not open for further replies.

jfquestiaux

Well-Known Member
Trashing a cron task in the admin gives this error:

Fatal error: Call to a member function publish() on a non-object in /home/livingjfq/public_html/j3/libraries/legacy/controller/admin.php on line 189

In Fabrik 3.1b + GitHub 17.

Same thing if you want to unpubilsh it from the list. From inside the cron setting, you can unpublish (but there is no button to thrash).
 
seems the cron controller was not loading the correct cron model - this one should now be fixed

-Rob
 
Quite there.
Now you can trash the task but when you empty the trash, you get this :

Error 500 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 '' at line 4 SQL=SELECT c.*,u.name AS editor FROM og6a1_fabrik_cron AS c LEFT JOIN og6a1_users AS u ON checked_out = u.id ORDER BY 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 '' at line 4 SQL=SELECT c.*,u.name AS editor FROM og6a1_fabrik_cron AS c LEFT JOIN og6a1_users AS u ON checked_out = u.id ORDER BY 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 '' at line 4 SQL=SELECT c.*,u.name AS editor FROM og6a1_fabrik_cron AS c LEFT JOIN og6a1_users AS u ON checked_out = u.id ORDER BY 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 '' at line 4 SQL=SELECT c.*,u.name AS editor FROM og6a1_fabrik_cron AS c LEFT JOIN og6a1_users AS u ON checked_out = u.id ORDER BY
 
ah ok guess I should have tested that as well!
Anyways.... I've fixed that as well now

-Rob
 
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top