News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Gallery Errors

Started by philcross, May 16, 2009, 03:37:44 AM

Previous topic - Next topic

philcross


Ive installed SMF Gallery on 2.0 and get the following error when I click on the Gallery icon....

Databse Error

Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation 'ifnull'
File: /home/xxxxxxxxx/public_html/xxxforum/Sources/Subs-MGallery.php
Line: 3370

Any ideas please anyone?

It is one of several mods installed this evening - all others seem OK.



CapadY

Did you check if there is also an UTF8 language package for the galery ?
Please, don't PM me for support unless invited.
If you don't understand this, you will be blacklisted.

[SiNaN]

#2
You have to change the collation of gallery tables to utf-8 using phpMyAdmin.

For further support please use the support topic of the mod. You can reach it by clicking the "Support and comments for this mod" button on the page you downloaded the mod.
Former SMF Core Developer | My Mods | SimplePortal

Sarge

It seems that the default database collation is utf8_unicode_ci, but the SMF tables are in utf8_general_ci. When the SMF Gallery mod was installed, the default database collation was used for the mod tables.

utf8_unicode_ci has more extensive sorting rules than utf8_general_ci, but both collations are in the utf8 character set, so you should be able to use either one without problems, at least in SMF.

To make the error go away, change the collation of the gallery tables to utf8_general_ci using phpMyAdmin, as Blue Dream suggested.

If you plan to install more mods, you might want to change the default database collation to utf8_general_ci as well.

    Please do not PM me with support requests unless I invite you to.

http://www.zeriyt.com/   ~   http://www.galeriashqiptare.net/


Quote
<H> I had zero posts when I started posting

Advertisement: