Author Topic: Error-Log Illegal mix of collations  (Read 5802 times)

Offline vandenbergen

  • Newbie
  • *
  • Posts: 3
Error-Log Illegal mix of collations
« on: October 30, 2009, 11:58:58 AM »
I am new in this Forum. I have installed RoundCube with an MySQL Database. Encoding is UTF-8 an i get this Error-Messages:

[30-Oct-2009 16:19:42] MDB2 Error: unknown error (-1): _doQuery: [Error message: Could not execute statement]
[Last executed query: EXECUTE mdb2_statement_mysql_546f0f7b54156a885add92b50e7bdb7bacc67a51b USING @0, @1]
[Native code: 1267]
[Native message: Illegal mix of collations (ascii_general_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '=']


[30-Oct-2009 16:19:42 +0100]: DB Error: MDB2 Error: unknown error Query: _doQuery: [Error message: Could not execute statement] [Last executed query: EXECUTE mdb2_statement_mysql_546f0f7b54156a885add92b50e7bdb7bacc67a51b USING @0, @1] [Native code: 1267] [Native message: Illegal mix of collations (ascii_general_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '=']  in P:\ServerData\Hosts\xxxx.xxxx.xx\html\program\include\rcube_mdb2.php on line 627 (POST /?_task=&_action=login)
[30-Oct-2009 16:19:43 +0100]: PHP Error: Could not convert string from UTF7-IMAP to UTF-8. Make sure iconv/mbstring is installed or lib/utf8.class is available. in P:\ServerData\Hosts\xxxx.xxxx.xx\html\program\include\main.inc on line 279 (GET /?_task=mail)
[30-Oct-2009 16:19:43] MDB2 Error: unknown error (-1): _doQuery: [Error message: Could not execute statement]
[Last executed query: EXECUTE mdb2_statement_mysql_400396fbbbe8f0d7bc33a9202ccd1f1183716a050 USING @0, @1]
[Native code: 1267]
[Native message: Illegal mix of collations (ascii_general_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '=']


[30-Oct-2009 16:19:43 +0100]: DB Error: MDB2 Error: unknown error Query: _doQuery: [Error message: Could not execute statement] [Last executed query: EXECUTE mdb2_statement_mysql_400396fbbbe8f0d7bc33a9202ccd1f1183716a050 USING @0, @1] [Native code: 1267] [Native message: Illegal mix of collations (ascii_general_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '=']  in P:\ServerData\Hosts\xxxx.xxxx.xx\html\program\include\rcube_mdb2.php on line 627 (GET /?_task=mail)
[30-Oct-2009 16:19:44] MDB2 Error: unknown error (-1): _doQuery: [Error message: Could not execute statement]
[Last executed query: EXECUTE mdb2_statement_mysql_595576020d1a309be54550bfca327612e464c1d8d USING @0, @1]
[Native code: 1267]
[Native message: Illegal mix of collations (ascii_general_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '=']


[30-Oct-2009 16:19:44 +0100]: DB Error: MDB2 Error: unknown error Query: _doQuery: [Error message: Could not execute statement] [Last executed query: EXECUTE mdb2_statement_mysql_595576020d1a309be54550bfca327612e464c1d8d USING @0, @1] [Native code: 1267] [Native message: Illegal mix of collations (ascii_general_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '=']  in P:\ServerData\Hosts\xxxx.xxxx.xx\html\program\include\rcube_mdb2.php on line 627 (GET /?_task=mail)
[30-Oct-2009 16:19:44] MDB2 Error: unknown error (-1): _doQuery: [Error message: Could not execute statement]
[Last executed query: EXECUTE mdb2_statement_mysql_6013a030b391b36f29b0a08c8d94ba9a7b2463e28 USING @0, @1, @2]
[Native code: 1267]
[Native message: Illegal mix of collations (ascii_general_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '=']


[30-Oct-2009 16:19:44 +0100]: DB Error: MDB2 Error: unknown error Query: _doQuery: [Error message: Could not execute statement] [Last executed query: EXECUTE mdb2_statement_mysql_6013a030b391b36f29b0a08c8d94ba9a7b2463e28 USING @0, @1, @2] [Native code: 1267] [Native message: Illegal mix of collations (ascii_general_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation '=']  in P:\ServerData\Hosts\xxxx.xxxx.xx\html\program\include\rcube_mdb2.php on line 627 (GET /?_task=mail)
[30-Oct-2009 16:19:45 +0100]: PHP Error: Could not convert string from UTF7-IMAP to UTF-8. Make sure iconv/mbstring is installed or lib/utf8.class is available. in P:\ServerData\Hosts\xxxx.xxxx.xx\html\program\include\main.inc on line 279 (GET /?_task=mail&_action=getunread&_remote=1&_=1256915986128&_unlock=0)
[30-Oct-2009 16:20:46 +0100]: PHP Error: Could not convert string from UTF7-IMAP to UTF-8. Make sure iconv/mbstring is installed or lib/utf8.class is available. in P:\ServerData\Hosts\xxxx.xxxx.xx\html\program\include\main.inc on line 279 (GET /?_task=mail&_action=check-recent&_t=1256916046156&_list=1&_remote=1&_=1256916046160&_unlock=1)
[30-Oct-2009 16:21:46 +0100]: PHP Error: Could not convert string from UTF7-IMAP to UTF-8. Make sure iconv/mbstring is installed or lib/utf8.class is available. in P:\ServerData\Hosts\xxxx.xxxx.xx\html\program\include\main.inc on line 279 (GET /?_task=mail&_action=check-recent&_t=1256916106163&_list=1&_remote=1&_=1256916106166&_unlock=1)
[30-Oct-2009 16:22:46 +0100]: PHP Error: Could not convert string from UTF7-IMAP to UTF-8. Make sure iconv/mbstring is installed or lib/utf8.class is available. in P:\ServerData\Hosts\xxxx.xxxx.xx\html\program\include\main.inc on line 279 (GET /?_task=mail&_action=check-recent&_t=1256916166161&_list=1&_remote=1&_=1256916166164&_unlock=1)
[30-Oct-2009 16:23:46 +0100]: PHP Error: Could not convert string from UTF7-IMAP to UTF-8. Make sure iconv/mbstring is installed or lib/utf8.class is available. in P:\ServerData\Hosts\xxxx.xxxx.xx\html\program\include\main.inc on line 279 (GET /?_task=mail&_action=check-recent&_t=1256916226161&_list=1&_remote=1&_=1256916226165&_unlock=1)
[30-Oct-2009 16:25:31 +0100]: PHP Error: Could not convert string from UTF7-IMAP to UTF-8. Make sure iconv/mbstring is installed or lib/utf8.class is available. in P:\ServerData\Hosts\xxxx.xxxx.xx\html\program\include\main.inc on line 279 (GET /?_task=mail&_action=check-recent&_t=1256916286166&_list=1&_remote=1&_=1256916286169&_unlock=1)
[30-Oct-2009 16:25:46 +0100]: PHP Error: Could not convert string from UTF7-IMAP to UTF-8. Make sure iconv/mbstring is installed or lib/utf8.class is available. in P:\ServerData\Hosts\xxxx.xxxx.xx\html\program\include\main.inc on line 279 (GET /?_task=mail&_action=check-recent&_t=1256916346170&_list=1&_remote=1&_=1256916346173&_unlock=1)

Can anyone help me?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,882
    • SKaero - Custom Roundcube development
Error-Log Illegal mix of collations
« Reply #1 on: October 31, 2009, 12:33:43 AM »
Where are you getting this error, what isn't working?

Offline vandenbergen

  • Newbie
  • *
  • Posts: 3
Coding UTF-7 UTF-8 still exists
« Reply #2 on: November 01, 2009, 05:18:27 PM »
I can see the message-list, but i canĀ“t see the content of the message. I can't see a preview of the messages.

Every time i double-click a message, the error is written in the logfile.

When I try to write a message to myself it is no problem to create and send the message. But when it is in my inbox it is the same problem.

In the meantime i tried to install it on an PostgreSQL-database with the same errors.

Is it possible that this Encoding-Problem comes from the mailserver? I use Gordano-NT-Mail.

Can anyone help?

Greeting, Markus