Zen Cart Logo
Forums / All Other Contributions/Addons / newsletter subscribe problem

newsletter subscribe problem

Locked

Views: 1,278

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
31 Aug 2008, 9:34 AM
#1
sadwargamer avatar

sadwargamer

New Zenner

Join Date:
May 2008
Posts:
17
Plugin Contributions:
0

newsletter subscribe problem

Hi I installed the newsletter subscribe module on 1.3.8a and it all seems to work ok apart from when i go to :
TOOLS > SEND EMAILS > 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 zen_subscribers as s LEFT JOIN zen_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.

additionally when I try to send a newsletter I get the following:

Newsletter and Product Notifications Manager  	
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 zen_subscribers as s LEFT JOIN zen_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.

Help!

regards
Andy

31 Aug 2008, 1:28 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: newsletter subscribe problem

Check your DB table collations...they should all be of the same type

31 Aug 2008, 1:56 PM
#3
sadwargamer avatar

sadwargamer

New Zenner

Join Date:
May 2008
Posts:
17
Plugin Contributions:
0

Re: newsletter subscribe problem

Hi,

Sorry for ignorance but how do I check (and change if required) my db table collations (I have access to myphpadmin)

regards
Andy

31 Aug 2008, 3:19 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: newsletter subscribe problem

BACKUP YOUR DB BEFORE PROCEEDING

Actually if youu have to ask then this might not be something you should be messing with....

Load phpmyadmin and your DB, and you will see a column titled "Collation" - check the tables and all should be the same.

If not check the box next to each table name for those that need adjusting and select the operations tab. Find the Collation area and select the correct Collation from the drop box and "GO".

Reload the DB and check that you are now set to the same Collation for all tables