Enabling the forum feature break the Tiki stats (no post yet?)
- Status
- Closed
- Subject
- Enabling the forum feature break the Tiki stats (no post yet?)
- Version
- 21.x
- Category
- Error
- Feature
- Forum
Stats - Resolution status
- Fixed or Solved
- Submitted by
- Bernard Sfez / Tiki Specialist
- Lastmod by
- Bernard Sfez / Tiki Specialist
- Rating
- Description
If the forum feature is enable, the Tiki stats are broken.
UPDATE: It may happen if there is no forum or topic or thread yet.
I created a forum, a topic and a few threads, refresh index, caches several times and I played with the code at lib/stats/statslib.php I got it to work. After 20mn the page was displayed without the error.Copy to clipboardErreur système. Le message d'erreur suivant a été renvoyé: Column 'parentId' in where clause is ambiguous La requête était: select count(*) from `tiki_comments`,`tiki_forums` where `object`=`forumId` and `objectType`=? and `parentId`=? Valeurs: forum 0 La requête construite était probablement: select count(*) from `tiki_comments`,`tiki_forums` where `object`=`forumId` and `objectType`='forum' and `parentId`='0'- Importance
- 5
- Easy to solve?
- 5
- Priority
- 25
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 7611
- Created
- Tuesday 17 November, 2020 09:57:09 UTC
by Bernard Sfez / Tiki Specialist - LastModif
- Monday 08 May, 2023 04:41:58 UTC