SELECT DISTINCT c.*, o.* FROM `tiki_category_objects` c, `tiki_categorized_objects` co, `tiki_objects` o LEFT JOIN `users_objectpermissions` u ON u.`objectId`=MD5(CONCAT(o.`type`,LOWER(o.`itemId`))) AND u.`objectType`=o.`type` WHERE c.`catObjectId`=o.`objectId` AND o.`objectId`=co.`catObjectId` AND c.`categId`=? AND (( u.`objectId` IS NULL AND (o.`type` IN ('',?,?,?,?,?,?,?,?,?))) OR (((o.`type`=? AND u.`permName`=?) OR (o.`type`=? AND u.`permName`=?) OR (o.`type`=? AND u.`permName`=?) OR (o.`type`=? AND u.`permName`=?) OR (o.`type`=? AND u.`permName`=?) OR (o.`type`=? AND u.`permName`=?) OR (o.`type`=? AND u.`permName`=?) OR (o.`type`=? AND u.`permName`=?) OR (o.`type`=? AND u.`permName`=?) OR (o.`type`=? AND u.`permName`=?) OR (o.`type`=? AND u.`permName`=?) OR (o.`type`=? AND u.`permName`=?) OR (o.`type`=? AND u.`permName`=?) OR (o.`type`=? AND u.`permName`=?) OR (o.`type`=? AND u.`permName`=?) OR (o.`type`=? AND u.`permName`=?) ) AND u.`groupName` IN ('',? ))) ORDER BY `created` desc
Values:
0
24
1
wiki page
2
forum
3
image gallery
4
file gallery
5
blog
6
directory
7
article
8
image
9
file
10
wiki page
11
tiki_p_view
12
forum
13
tiki_p_forum_read
14
image gallery
15
tiki_p_view_image_gallery
16
file gallery
17
tiki_p_view_file_gallery
18
tracker
19
tiki_p_view_trackers
20
blog
21
tiki_p_read_blog
22
quiz
23
tiki_p_take_quiz
24
poll
25
tiki_p_vote_poll
26
survey
27
tiki_p_take_survey
28
directory
29
tiki_p_view_directory
30
faq
31
tiki_p_view_faqs
32
sheet
33
tiki_p_view_sheet
34
article
35
tiki_p_read_article
36
image
37
tiki_p_view_image_gallery
38
calendar
39
tiki_p_view_calendar
40
file
41
tiki_p_download_files
42
Anonymous
Message:
Illegal mix of collations (latin1_german2_ci,IMPLICIT) and (utf8mb4_general_ci,COERCIBLE) for operation '='
Built query was probably:
SELECT DISTINCT c.*, o.* FROM `tiki_category_objects` c, `tiki_categorized_objects` co, `tiki_objects` o LEFT JOIN `users_objectpermissions` u ON u.`objectId`=MD5(CONCAT(o.`type`,LOWER(o.`itemId`))) AND u.`objectType`=o.`type` WHERE c.`catObjectId`=o.`objectId` AND o.`objectId`=co.`catObjectId` AND c.`categId`='24' AND (( u.`objectId` IS NULL AND (o.`type` IN ('','wiki page','forum','image gallery','file gallery','blog','directory','article','image','file'))) OR (((o.`type`='wiki page' AND u.`permName`='tiki_p_view') OR (o.`type`='forum' AND u.`permName`='tiki_p_forum_read') OR (o.`type`='image gallery' AND u.`permName`='tiki_p_view_image_gallery') OR (o.`type`='file gallery' AND u.`permName`='tiki_p_view_file_gallery') OR (o.`type`='tracker' AND u.`permName`='tiki_p_view_trackers') OR (o.`type`='blog' AND u.`permName`='tiki_p_read_blog') OR (o.`type`='quiz' AND u.`permName`='tiki_p_take_quiz') OR (o.`type`='poll' AND u.`permName`='tiki_p_vote_poll') OR (o.`type`='survey' AND u.`permName`='tiki_p_take_survey') OR (o.`type`='directory' AND u.`permName`='tiki_p_view_directory') OR (o.`type`='faq' AND u.`permName`='tiki_p_view_faqs') OR (o.`type`='sheet' AND u.`permName`='tiki_p_view_sheet') OR (o.`type`='article' AND u.`permName`='tiki_p_read_article') OR (o.`type`='image' AND u.`permName`='tiki_p_view_image_gallery') OR (o.`type`='calendar' AND u.`permName`='tiki_p_view_calendar') OR (o.`type`='file' AND u.`permName`='tiki_p_download_files') ) AND u.`groupName` IN ('','Anonymous' ))) ORDER BY `created` desc