Phoca Gallery problem

Phoca Gallery - image gallery extension
tiggercat
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 30 Sep 2013, 06:25

Phoca Gallery problem

Post by tiggercat »

Hi there,

I am having a problem with Phoca Gallery. I installed it successfully, but when I click Categories it shows that
"An error has occurred.
1267 Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation '=' SQL=SELECT a.*,l.title AS language_title,uc.name AS editor,ag.title AS access_level,c.title AS parentcat_title, c.id AS parentcat_id,ua.id AS userid, ua.username AS username, ua.name AS usernameno,v.average AS ratingavg,cc.countid AS countid FROM `n2vg4_phocagallery_categories` AS a LEFT JOIN `n2vg4_languages` AS l ON l.lang_code = a.language LEFT JOIN n2vg4_users AS uc ON uc.id=a.checked_out LEFT JOIN n2vg4_viewlevels AS ag ON ag.id = a.access LEFT JOIN n2vg4_phocagallery_categories AS c ON c.id = a.parent_id LEFT JOIN n2vg4_users AS ua ON ua.id = a.owner_id LEFT JOIN n2vg4_phocagallery_votes_statistics AS v ON v.catid = a.id LEFT JOIN (SELECT cc.parent_id, count(*) AS countid FROM n2vg4_phocagallery_categories AS cc GROUP BY cc.parent_id ) AS cc ON a.parent_id = cc.parent_id WHERE (a.published IN (0, 1)) GROUP BY a.id ORDER BY a.title asc "

Please help!

Thanks.
Nic
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49149
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Phoca Gallery problem

Post by Jan »

Hi, try to check the character settings of your database, try to see this tool:
https://www.phoca.cz/phoca-changing-collation
or similar posts in this forum.

Jan
If you find Phoca extensions useful, please support the project
Post Reply