When clicking at "points" in the forum thread list, a mysql error is produced. This worked in old versions (Tiki3, at least), and fails in Tiki9 also.
Example of working example in a Tiki3:
http://edu.tiki.org/tiki-view_forum.php?forumId=1&thread_sort_mode=average_desc
Similar url in a Tiki9 & Tiki12 site produces:
The built query was likely: SELECT COUNT(*) FROM (SELECT `a`.`threadId`, COALESCE(a.`archived`, 'n') as `archived`, COALESCE(max(b.`commentDate`), a.`commentDate`) as `lastPost`, COALESCE(a.`type`='s', false) as `sticky`, count(distinct b.`threadId`) as `replies` from `tiki_comments` a left join `tiki_comments` b on b.`parentId`=a.`threadId` where 1 = 1 AND a.`object`='5' and (a.`archived` is null or a.`archived`='n') and a.`objectType` = 'forum' and a.`parentId` = '0' group by a.`threadId`order by `sticky` desc, `average` asc, `threadId`) a Stacktrace: * /var/www/12.x/tiki-view_forum.php : 0 -> {main}(array ( )) * /var/www/12.x/tiki-view_forum.php : 400 -> count_forum_topics(array ( )) * /var/www/12.x/lib/comments/commentslib.php : 749 -> getOne(array ( )) * /var/www/12.x/lib/core/TikiDb/Bridge.php : 42 -> getOne(array ( )) * /var/www/12.x/lib/core/TikiDb.php : 65 -> query(array ( )) * /var/www/12.x/lib/core/TikiDb/Pdo.php : 121 -> handleQueryError(array ( )) * /var/www/12.x/lib/core/TikiDb.php : 148 -> handle(array ( ))
To reproduce, use the show.t.o instance and login with:
u: admin
p: 12345
And visit http://xavi-9794-5149.show.tikiwiki.org/tiki-view_forum.php?forumId=1&thread_sort_mode=average_desc
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
The URL for the show.tikiwiki.org instance that demonstrates this bug is at: http://xavi-9794-5149.show.tikiwiki.org. Note that if you get a popup asking for a username/password, please just enter "show" and "show". This is different from the initial login and password for a new Tiki which is "admin" and "admin".
For the install log, see http://xavi-9794-5149.show.tikiwiki.org/info.txt
Note that if you see PHP errors or a Tiki claiming to be missing third party software, the instance creation is probably not finished. Please wait a couple minutes and reload.
Snapshots are database dumps of the configuration that developers can download for debugging. Once you have reproduced your bug on the show.tikiwiki.org instance, create a snapshot that can then be downloaded by developers for further investigation.
Snapshots can be accessed at: http://xavi-9794-5149.show.tikiwiki.org/snapshots/. Note that if you get a popup asking for a username/password, please just enter "show" and "show".
Create new snapshotfilename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |