Closed (fixed)
Project:
Aggregator Summary
Version:
5.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
19 May 2008 at 09:45 UTC
Updated:
23 Mar 2009 at 07:35 UTC
I have this warning when I try to add categories in Russian
user warning: Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '=' query: aggregator_summary_form_section_validate SELECT sname FROM aggregator_summary_section WHERE (sname = '*******' ) AND sid != 1 in /home/*****/public_html/*****/includes/database.mysql.inc on line 172.
My site is configued in UTF-8. Two tables of your module were in latin 1. I changed chartset for UTF-8 but there is still this problem.
Thank you.
Comments
Comment #1
info@zrix.com commentedPlease make the following changes in Aggregator_Summary.install file:
Replace this
db_query("CREATE TABLE {aggregator_summary_category_section} (
cid int(10) NOT NULL default '0',
sid int(10) NOT NULL default '0'
) ");
db_query("CREATE TABLE {aggregator_summary_section} (
sid integer NOT NULL default '0',
sname varchar(32) NOT NULL default '',
item_perpage integer NOT NULL default '0',
PRIMARY KEY (sid)
)");
with the following:
db_query("CREATE TABLE {aggregator_summary_category_section} (
cid int(10) NOT NULL default '0',
sid int(10) NOT NULL default '0'
)/*!40100 DEFAULT CHARACTER SET UTF8 */ ");
db_query("CREATE TABLE {aggregator_summary_section} (
sid integer NOT NULL default '0',
sname varchar(32) NOT NULL default '',
item_perpage integer NOT NULL default '0',
PRIMARY KEY (sid)
)/*!40100 DEFAULT CHARACTER SET UTF8 */ ");
Comment #2
info@zrix.com commented