Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2010
    Posts
    66
    Plugin Contributions
    0

    Default Newsletter Subscribe 2.2.2 Addon Issue

    Hi all, ive added the Newsletter subscribe 2.2.2 addon:

    http://www.zen-cart.com/index.php?ma...roducts_id=106

    And tested it by adding an email of my own, confirmation of subscription etc... comes through fine and activates no problems.


    When i go into "Newsletter & Product Notifications Manager" to send and email, and click "Send" on the template I have created i get the following error:


    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' ]
    If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.


    This also happens if i go into Customers -> Subscription Manager, then try to send an individual email to one account and also going to Tools -> Send Email, results in the same error.

    Any ideas where its broken?

    J
    Last edited by jmp04; 21 Jan 2011 at 02:46 PM.

  2. #2
    Join Date
    Dec 2010
    Posts
    66
    Plugin Contributions
    0

    Default Re: Newsletter Subscribe 2.2.2 Addon Issue

    Can anyone help at all ?

  3. #3
    Join Date
    May 2009
    Location
    North Las Vegas, NV
    Posts
    44
    Plugin Contributions
    0

    Default Re: Newsletter Subscribe 2.2.2 Addon Issue

    I'm experiencing the same problem.

    Haven't had time to poke around and see possible causes, but did look at the file:

    [admin]/includes/functions/extra_functions/subscription_manager.php

    and saw that NEWSONLY_SUBSCRIPTION_TEST_GROUP could be problematic as its referenced 8 times and looks like it's not defined (to what, btw?) and doesn't look like the syntax (useage) is correct in a couple of places too. (Back-to-back single quotes, etc.)

    My Two Cents Worth, anyway. If I figure out more on this, I'll post it as well.

  4. #4
    Join Date
    May 2009
    Location
    North Las Vegas, NV
    Posts
    44
    Plugin Contributions
    0

    Default Re: Newsletter Subscribe 2.2.2 Addon Issue

    Well, I was wrong just moments ago... The file I mentioned earlier is just fine along with the syntax, etc.

    Okay, found the fix in a different thread located at:

    http://www.zen-cart.com/forum/showthread.php?t=156882

    Basically you need to update/change the collation for the some of the fields in the tables "subscribers" and "newsletters". You'll need phpMyAdmin to access your Zen Cart database and have proper permissions to make the quick and simple changes.

    I would go with setting them to "latin1_general_ci" as this is the default for Zen Cart, per Dr. Byte, and it worked for me.

    This thread should be closed, but kept around for the benefit of others who find this first...

 

 

Similar Threads

  1. v150 Subscribe Newsletter
    By rksons in forum Upgrading to 1.5.x
    Replies: 6
    Last Post: 5 Feb 2012, 09:23 AM
  2. Replies: 1
    Last Post: 21 Apr 2011, 05:49 PM
  3. No coupon-emails are send after installing newsletter subscribe addon
    By Robbie_79 in forum All Other Contributions/Addons
    Replies: 4
    Last Post: 3 Jun 2010, 07:34 PM
  4. send gift cert error after uninstalling newsletter-subscribe addon
    By ian healy in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 26 Jan 2010, 06:58 PM
  5. Newsletter re-subscribe when Newsletter Subscribe module installed
    By karl19 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 18 Oct 2007, 05:57 PM

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