Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / All Other Contributions/Addons / Newsletter-Only Subscriptions for v1.3x

Newsletter-Only Subscriptions for v1.3x

28 Aug 2007, 10:26 AM
#521
cjpinder avatar

cjpinder

Totally Zenned

Join Date:
Apr 2007
Location:
Herts. UK
Posts:
893
Plugin Contributions:
0

Post #521 by cjpinder

Hi,

kimsonvu:

How long will it take to have new version of this modules?
I don't think anyone is actively maintaining this module at the moment. If you read through this thread there have been a number of people posting bug fixes. One of those fixes might help your situation.

kimsonvu:

This is great modules but i found some bug!
Can you be a bit more descriptive about the bug you have found?

Regards,
Christian.

28 Aug 2007, 8:56 PM
#522
robert_saint_john avatar

robert_saint_john

New Zenner

Join Date:
Sep 2006
Posts:
3
Plugin Contributions:
0

Post #522 by robert_saint_john

CJPinder:

That should fix it.

Regards,
Christian.

It certainly did, thank you very much, Christian! I'd never have figured that out on my own. Nice avatar, btw! (I'm probably one of the few Americans who'd recognize it!:smile: )

28 Aug 2007, 11:08 PM
#523
cjpinder avatar

cjpinder

Totally Zenned

Join Date:
Apr 2007
Location:
Herts. UK
Posts:
893
Plugin Contributions:
0

Post #523 by cjpinder

Robert Saint John:

It certainly did, thank you very much, Christian! I'd never have figured that out on my own.
No problem, glad it is now working for you.

Robert Saint John:

Nice avatar, btw! (I'm probably one of the few Americans who'd recognize it!:smile: )
Seemed appropriate and suited my weird sense of humor. Amazed you recognised him, I doubt there are many UK people who would, let alone US ones.

Regards,
Christian.

3 Sep 2007, 5:34 PM
#524
stevefriedman71 avatar

stevefriedman71

Zen Follower

Join Date:
Sep 2006
Posts:
269
Plugin Contributions:
0

Post #524 by stevefriedman71

I get this error, too:

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.

Did anyone ever found a solution to that? It also affects the sending of emails and coupons

And why is it that the db has BOTH collations, anyway? My DB has "latin1_swedish_ci" AND "latin1_general_ci"

3 Sep 2007, 6:01 PM
#525
cjpinder avatar

cjpinder

Totally Zenned

Join Date:
Apr 2007
Location:
Herts. UK
Posts:
893
Plugin Contributions:
0

Post #525 by cjpinder

Hi,

stevefriedman71:

I get this error, too:
Did anyone ever found a solution to that? It also affects the sending of emails and coupons
And why is it that the db has BOTH collations, anyway? My DB has "latin1_swedish_ci" AND "latin1_general_ci"
Which version of the mod are you using and was it a fresh install or an upgrade? Did you ever have an older version of the mod installed?

Which version of Zen Cart are you using?

Regards,
Christian.

3 Sep 2007, 6:09 PM
#526
stevefriedman71 avatar

stevefriedman71

Zen Follower

Join Date:
Sep 2006
Posts:
269
Plugin Contributions:
0

Post #526 by stevefriedman71

CJPinder:

Hi,

Which version of the mod are you using and was it a fresh install or an upgrade? Did you ever have an older version of the mod installed?

Which version of Zen Cart are you using?

Regards,
Christian.

Fresh install of v 2.0.6 to zencart 1.3.7.1. never used another mod version

ODD:
when i uninstall the mod (botton in the admin) the error changes to that the subscribers table is missing.
When i add this table from a backup DB but NOT instal the mod, i can use the mail and "send gift certificate to customers" but as soon as i install the mod again the error chages back to illegal mix of collations.

3 Sep 2007, 6:32 PM
#527
cjpinder avatar

cjpinder

Totally Zenned

Join Date:
Apr 2007
Location:
Herts. UK
Posts:
893
Plugin Contributions:
0

Post #527 by cjpinder

stevefriedman71:

When i add this table from a backup DB but NOT instal the mod, i can use the mail and "send gift certificate to customers" but as soon as i install the mod again the error chages back to illegal mix of collations.

Try installing the mod and then copying and pasting the following into Admin..Tools..Install SQL Patches.. (take a database backup first)

DROP TABLE IF EXISTS `subscribers`;
CREATE TABLE IF NOT EXISTS `subscribers` (
`subscriber_id` int(11) NOT NULL auto_increment,
`customers_id` int(11) default NULL,
`email_address` varchar(96) NOT NULL default '' UNIQUE,
`email_format` varchar(4) NOT NULL default 'TEXT',
`confirmed` varchar(8) default NULL,
`subscribed_date` date NOT NULL default '0000-00-00',
PRIMARY KEY  (`subscriber_id`)
) TYPE=MyISAM;
```This will delete the existing subscribers table and create a new one without any mention of collations. If you have any existing newsletter only subscribers then make note of them because this will lose that information.

Somewhere in this long thread there is a copy (or a link to a copy) of version 2.07 of the mod. Might be worth a try as well.

Regards,
Christian.
3 Sep 2007, 6:38 PM
#528
stevefriedman71 avatar

stevefriedman71

Zen Follower

Join Date:
Sep 2006
Posts:
269
Plugin Contributions:
0

Post #528 by stevefriedman71

same effect. the error is back

"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."

3 Sep 2007, 8:32 PM
#529
cjpinder avatar

cjpinder

Totally Zenned

Join Date:
Apr 2007
Location:
Herts. UK
Posts:
893
Plugin Contributions:
0

Post #529 by cjpinder

It looks like the email_address column in the subscribers table has been created with a latin1_general_ci collation instead of a latin1_swedish_ci collation as it should be. I'm not sure why though.

How was your Zen Cart database originally created? Has it been upgraded or moved since then?

If you are comfortable using PHPMyAdmin (or whatever MySQL admin your host provides) then you could go into the database and change the email_address column in the subscribers table to have a latin1_swedish_ci collation.

Regards,
Christian.

3 Sep 2007, 10:30 PM
#530
stevefriedman71 avatar

stevefriedman71

Zen Follower

Join Date:
Sep 2006
Posts:
269
Plugin Contributions:
0

Post #530 by stevefriedman71

:clap: THANK YOU ALL for the help....

Issue is solved. for all that have the same issue check the tables "subscribers" and "configuration" for collation differences.:smartalec:

FINALLY i got it

24 Sep 2007, 3:07 AM
#531
bx1 avatar

bx1

New Zenner

Join Date:
Aug 2007
Location:
Australia
Posts:
67
Plugin Contributions:
0

Post #531 by bx1

Hi All,

Sorry if this issue has already been address in this thread but I couldn't seem to find it. I have a bit of a problem creating an account with this mod. When I put all my details in and create an account it comes up with this error...

1146 Table 'bea15660_zc1.TABLE_SUBSCRIBERS' doesn't exist
in:
[select count(*) as total from TABLE_SUBSCRIBERS where email_address = '[email protected]' ]

I know it's an sql error but I don't know how to fix it as I don't know anything about sql. If anyone does know please tell me as I am meant to launch this Friday. Thanks!

Online skin care and cosmetics
http://www.beautyxpress.com.au

24 Sep 2007, 5:42 PM
#532
robbyn7 avatar

robbyn7

Zen Follower

Join Date:
Dec 2006
Posts:
187
Plugin Contributions:
0

Post #532 by robbyn7

Hi Bx1,

Not sure if this is the solution but it's worth a try... Why don't you just copy and paste the .sql file again.

Robyn,
Club Tops and Urbanwear for Less!
Foxxy Diva Fashions

24 Sep 2007, 5:59 PM
#533
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Post #533 by yellow1912

The error suggests that, the constant TABLE_SUBSCRIBERS which should be pre-defined, was not found. You may want to check if you uploaded all the files correctly.

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

25 Sep 2007, 3:18 AM
#534
bx1 avatar

bx1

New Zenner

Join Date:
Aug 2007
Location:
Australia
Posts:
67
Plugin Contributions:
0

Post #534 by bx1

Thanks for your replies. I just realised why I don't have the sql table. My download didn't come with an sql query and I can't find it anywhere. Is anyone able to post what I should install as an sql patch? Thanks.

Online skin care and cosmetics
http://www.beautyxpress.com.au

25 Sep 2007, 8:58 PM
#535
lina0962 avatar

lina0962

Zen Follower

Join Date:
Jun 2006
Posts:
403
Plugin Contributions:
0

Post #535 by lina0962

Hello,

Can I make the subscription confirmation page look different from subscription page?

How to add a define_subscription_confirmation.php and directly write my own subscription-confirmation information in Admin?

Thanks!

Lina

26 Sep 2007, 11:40 PM
#536
bx1 avatar

bx1

New Zenner

Join Date:
Aug 2007
Location:
Australia
Posts:
67
Plugin Contributions:
0

Post #536 by bx1

bx1:

Thanks for your replies. I just realised why I don't have the sql table. My download didn't come with an sql query and I can't find it anywhere. Is anyone able to post what I should install as an sql patch? Thanks.

Hey all. Sorry for posting again but I'm so close to launching and I can't until I get this sql problem fixed. If anyone could give me the sql file or point in the right direction where I can find it that would be fanstastic! Thanks guys!

Online skin care and cosmetics
http://www.beautyxpress.com.au

27 Sep 2007, 12:19 AM
#537
chuckl avatar

chuckl

Totally Zenned

Join Date:
Nov 2006
Location:
Papworth, Cambridgeshire, UK
Posts:
717
Plugin Contributions:
0

Post #537 by chuckl

As far as I remember all of the ver2 had the SQL built in. Admin-Customers-Subs Manager and there was an install button, which ran the SQl scripts. There is no separate SQL file. Code is in /admin/includes/functions/extra_functions/subscription_manager.php

27 Sep 2007, 12:31 AM
#538
bx1 avatar

bx1

New Zenner

Join Date:
Aug 2007
Location:
Australia
Posts:
67
Plugin Contributions:
0

Post #538 by bx1

Chuckl:

As far as I remember all of the ver2 had the SQL built in. Admin-Customers-Subs Manager and there was an install button, which ran the SQl scripts. There is no separate SQL file. Code is in /admin/includes/functions/extra_functions/subscription_manager.php

Thanks for your reply Chuckl. I had a look at the subscription_manager.php file and it does seem to have the code built in. However when I try to create a new user I still have the same problem. I must have deleted the table somehow :shocking: How do I get this working? Any ideas? This is an absolute nightmare :frusty:

Online skin care and cosmetics
http://www.beautyxpress.com.au

27 Sep 2007, 7:39 AM
#539
chuckl avatar

chuckl

Totally Zenned

Join Date:
Nov 2006
Location:
Papworth, Cambridgeshire, UK
Posts:
717
Plugin Contributions:
0

Post #539 by chuckl

Again, admin-customers-subscription manager. There is a remove button, then install again.

27 Sep 2007, 12:40 PM
#540
lina0962 avatar

lina0962

Zen Follower

Join Date:
Jun 2006
Posts:
403
Plugin Contributions:
0

Post #540 by lina0962

Hello,

I sent testing newsletter to my email. But I cannot find the unsubscribe link.
Please take a look.

My site is https://www.roseforlove.com

Lina