Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2007
    Location
    in Taipei, of course
    Posts
    29
    Plugin Contributions
    0

    Default Illegal Collations and Frustrated Potential Customers

    I get this warm and fuzzy feeling when a non-customer writes to me: "I tried to register to your online store to buy something and got this message:
    1267 Illegal mix of collations (ascii_bin,IMPLICIT) and (latin1_swedish_ci,COERCIBLE) for operation 'like'
    in:
    [SELECT distinct zone_id, zone_name, zone_code FROM zones WHERE zone_country_id = 38 AND (upper(zone_name) like 'QUéBEC%' OR upper(zone_code) like '%QUéBEC%') OR zone_id = 0 ORDER BY zone_code ASC, zone_name]

    End of quote.
    OK, I get this when I tried to register using the French characters set. My SQL database uses the UTF-8 collation. No problem to register using English characters...
    How could I resolve this problem. I got the current version of Zencart installed in early May. (Just for fun, I installed "secretly" a test online store last week and I don't get this problem, I can register using French like a breeze.) Something patched up in the most current version???

    Thanks!

  2. #2
    Join Date
    Jun 2003
    Posts
    33,715
    Plugin Contributions
    0

    Default Re: Illegal Collations and Frustrated Potential Customers

    What version are you using that gives the error?
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  3. #3
    Join Date
    Apr 2007
    Location
    in Taipei, of course
    Posts
    29
    Plugin Contributions
    0

    Default Re: Illegal Collations and Frustrated Potential Customers

    I"m using the current version, installed in late April : it gives me the collation errors. 1.3.7 and it says in the admin that I have the current version too.

    The one I just intalled last week works fine... Should I just reinstall the whole thing? I don't want to loose my numerous modifications. Or is there a bunch of files that would just do the trick?

    thanks a million

  4. #4
    Join Date
    Nov 2006
    Location
    Papworth, Cambridgeshire, UK
    Posts
    731
    Plugin Contributions
    3

    Default Re: Illegal Collations and Frustrated Potential Customers

    It's nothing to do with Zen Cart per se, it's a MySQL collations setting. Looks like the database data has an ascii binary collation, and the 'Quebec' is Latin1. (Or vice versa...)

    You need to fix the collations so they are compatible or at least coercible to be compatible. Normally MySQL defaults to latin1_swedish_ci, so perhaps its something funny on the server or connection collation settings.

 

 

Similar Threads

  1. Illegal mix of collations
    By DML73 in forum General Questions
    Replies: 6
    Last Post: 31 Dec 2013, 11:54 PM
  2. 1267 Illegal mix of collations
    By integrity_designs in forum General Questions
    Replies: 2
    Last Post: 8 Sep 2011, 02:59 AM
  3. Error: Illegal mix of collations using ETL Framework
    By jonny75904 in forum General Questions
    Replies: 2
    Last Post: 28 Nov 2010, 05:03 PM
  4. Illegal Collations message when sending newsletters
    By MischiefDesignz in forum Upgrading from 1.3.x to 1.3.9
    Replies: 11
    Last Post: 4 Jul 2010, 04:09 AM
  5. Need an SQL expert - my collations are illegal!
    By kelvyn in forum General Questions
    Replies: 6
    Last Post: 30 Apr 2007, 01:58 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR