Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Aug 2008
    Location
    Ohio
    Posts
    63
    Plugin Contributions
    2

    Default Illegal Collations message when sending newsletters

    I am also having a similar problem, I am running Zen 1.3.9d, every time I try to send out a newsletter I get this ......
    1267 Illegal mix of collations (latin1_general_ci,IMPLICIT) and (latin1_swedish_ci,IMPLICIT) for operation 'locate'
    in:
    [SELECT s.email_address as customers_email_address FROM subscribers as s LEFT JOIN configuration as q on LOCATE( s.email_address, q.configuration_value) >= 1 WHERE configuration_key = 'NEWSONLY_SUBSCRIPTION_TEST_GROUP' ]

    not to sure what to do about it, any help will be appreciated.... THANKS

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Illegal Collations message when sending newsletters

    What's the history behind your journey to v1.3.9d? What versions did you upgrade *from*, and when?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Aug 2008
    Location
    Ohio
    Posts
    63
    Plugin Contributions
    2

    Default Re: Illegal Collations message when sending newsletters

    it was a fresh install,
    when I go to their phpadmin to check the collation this is what I get ....

    The additional features for working with linked tables have been deactivated


  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Illegal Collations message when sending newsletters

    Quote Originally Posted by MischiefDesignz View Post
    it was a fresh install,
    Quote Originally Posted by MischiefDesignz View Post
    [SELECT s.email_address as customers_email_address FROM subscribers as s LEFT JOIN configuration as q on LOCATE( s.email_address, q.configuration_value) >= 1 WHERE configuration_key = 'NEWSONLY_SUBSCRIPTION_TEST_GROUP' ]
    Um ... but ... that query isn't *in* the core of Zen Cart.
    Are you using some newsletter addon?
    Quote Originally Posted by MischiefDesignz View Post
    when I go to their phpadmin ...
    "their"?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: Illegal Collations message when sending newsletters

    Quote Originally Posted by MischiefDesignz View Post
    [SELECT s.email_address as customers_email_address FROM subscribers as s LEFT JOIN configuration as q on LOCATE( s.email_address, q.configuration_value) >= 1 WHERE configuration_key = 'NEWSONLY_SUBSCRIPTION_TEST_GROUP' ]THANKS
    That looks like code from the "newsletter subscribe" add on
    Are you using the latest version for zen-cart 139 of this addon?

  6. #6
    Join Date
    Aug 2008
    Location
    Ohio
    Posts
    63
    Plugin Contributions
    2

    Default Re: Illegal Collations message when sending newsletters

    Quote Originally Posted by DrByte View Post
    Are you using some newsletter addon?

    "their"?
    yes I am using the latest version of newsletter subscribe, and "their" I am working on a zen cart for some one.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Illegal Collations message when sending newsletters

    By default Zen Cart v1.3.9d installs using latin1_general_ci as the collation for its tables.
    You've created the "subscribers" table using latin1_swedish_ci for at least the email_address field, and probably the entire table.

    Your easiest fix will be to change the collation on that field of the subscribers table to match the rest of your database.

    That's assuming you can actually control the database with phpMyAdmin. If you can't, then you'll need to obtain the necessary permissions from your client.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Illegal Collations message when sending newsletters

    I have two bone-stock 1.3.9d test sites with no add ons which show latin1_swedish_ci in all tables ...? A server thing, maybe ?

  9. #9
    Join Date
    Aug 2008
    Location
    Ohio
    Posts
    63
    Plugin Contributions
    2

    Default Re: Illegal Collations message when sending newsletters

    got it tyvm I just needed fresh eyes :)

  10. #10
    Join Date
    Aug 2008
    Location
    Ohio
    Posts
    63
    Plugin Contributions
    2

    Default Re: Illegal Collations message when sending newsletters

    Quote Originally Posted by stevesh View Post
    I have two bone-stock 1.3.9d test sites with no add ons which show latin1_swedish_ci in all tables ...? A server thing, maybe ?
    you will need to go in to your phpmyadmin and change the collation for at least newsletter and subcribers. I changed mine to utf8_unicode_ci and it is working perfectly for me.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 1
    Last Post: 2 Mar 2016, 07:05 AM
  2. Illegal mix of collations
    By DML73 in forum General Questions
    Replies: 6
    Last Post: 31 Dec 2013, 11:54 PM
  3. 1267 Illegal mix of collations
    By integrity_designs in forum General Questions
    Replies: 2
    Last Post: 8 Sep 2011, 02:59 AM
  4. Illegal Collations and Frustrated Potential Customers
    By eliseintaipei in forum General Questions
    Replies: 3
    Last Post: 20 Aug 2007, 05:22 PM
  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