'Discuss' links broken in 1.8.5
The 'Discuss' links for wiki pages in a new install of 1.8.5 are broken. There is no forum id specified, for starters. Can somebody help me with whatever configuration/patch needs to happen?
The bad link:
/cosagile/wiki/tiki-view_forum_thread.php?comments_parentId=3&topics_threshold=0&topics_offset=1&topics_sort_mode=commentDate_desc&topics_find=&forumId=
The error:
Copy to clipboard
Warning: mysql error: 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 '`threadId` LIMIT 0,0' at line 1 in query: select * from `tiki_comments` where `objectType` = ? and `object`=? and `parentId`=? and `average`>=? order by ,`threadId` in /cosagile/wiki/lib/tikidblib.php on line 134 Notice: Undefined variable: smarty in /cosagile/wiki/lib/tikidblib.php on line 152 An error occured in a database query! Context: File /cosagile/wiki/tiki-view_forum_thread.php Url /cosagile/wiki/tiki-view_forum_thread.php?comments_parentId=3&topics_threshold=0&topics_offset=1&topics_sort_mode=commentDate_desc&topics_find=&forumId= Query: select * from `tiki_comments` where `objectType` = ? and `object`=? and `parentId`=? and `average`>=? order by ,`threadId` Values: 0 forum 1 2 3 3 0