Closed (fixed)
Project:
Mailing List
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Sep 2008 at 08:07 UTC
Updated:
14 Aug 2009 at 14:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
mmachina commenteduser warning: Duplicate entry '1' for key 1 query: INSERT INTO mailing_list_emails (id, email) VALUES (1, 'email@domain.com') in /modules/mailing_list/mailing_list.module on line 85.
Yup getting the same error... anyone got any ideas?
Comment #2
PRZ commentedSame error here... anyone have anything on this yet?
Comment #3
emichan commentedHi - this is a problem with the current database schema and the way it defines the email table. I made a patch to fix this issue - tested on my own testing server.
To apply it, download the patch, and save it to your contributed modules folder. This will be the parent directory of the mailing_list module directory. Change to this directory and patch -p0 < mailing_list_fix_schema.patch.
So for example on a single site installation from drupal root after downloading the patch, cd sites/all/modules && patch -p0 < mailing_list_fix_schema.patch.
More on applying patches : http://drupal.org/patch/apply
Applying patches on Windows: http://drupal.org/node/60179
Ta!
emichan
Comment #4
maartenvg commentedThis issue has a patch, therefore CNR.
Comment #5
rcosta commentedComment #6
rjperry commentedHow do I export the emails once they have been entered?
Comment #7
vacilando commentedSubscribing
Comment #8
Jaza commentedWorking well for me. I'd say this is ready to commit.
Comment #9
litwol commentedthanks