[SOLVED] G2 issues #3: Can't upgrade Webcam module
|
robinbowes
Joined: 2002-09-20
Posts: 99 |
Posted: Mon, 2005-04-18 22:51
|
|
Hi, I've having a few problems with G2 and this is the third (and last) in a set of posts that will list them. #3: Can't upgrade Webcam module When I try to upgrade the Webcam module from 0.8.5 to 0.9.3 I get the following error: Error Detail - * in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 1190 (gallerystatus::error) Any idea what might cause this? Database structure, possibly? R. |
|

Posts: 8601
please post database error from debug output.
Posts: 99
OK:
mysql error: [1267: Illegal mix of collations (utf8_general_ci,IMPLICIT) and (latin1_swedish_ci,COERCIBLE) for operation 'concat'] in EXECUTE("UPDATE g2_Entity SET g_entityType = 'GalleryPhotoItem', g_onLoadHandlers = CONCAT(g2_Entity.g_onLoadHandlers, 'WebCam|') WHERE g2_Entity.g_entityType = 'GalleryLiveImage' AND g2_Entity.g_onLoadHandlers IS NOT NULL")I'm looking into this as I see the same error when upgrading the Random Highlight module.
Update:
This was fixed by setting the default character set and collation for mysql by adding the following lines to the [mysqld] section of /etc/my.cnf:
character_set_server=utf8
collation_server=utf8_general_ci
R.