Bug when importing CSV contacts list in "Newsletter Made Simple"

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
blacklightning

Bug when importing CSV contacts list in "Newsletter Made Simple"

Post by blacklightning »

Hi all, I hope that's the correct place for posting this bug: I've installed the Newsletter Made Simple module, it looks very nice. I've tried to upload my current newsletter, with around 500 addresses. I've created a CSV file in the (mail;alias;newsletter name) format, example:

mail@server.com;mail@server.com;BLOM

When I try to submit the file I'm given the following error:

Newsletter Made Simple

Parse error: syntax error, unexpected ';', expecting ')' in /home/www/blacklightning/modules/NMS/action.do_import_users.php on line 150

Any help is appreciated.. thanks!  ???
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Bug when importing CSV contacts list in "Newsletter Made Simple"

Post by calguy1000 »

I just checked that line and it seems okay in the latest released version of NMS:

Code: Select all

	    $record = array( $userid, $cached_lists[$listname],1, 
			     trim($db->DbTimeStamp(time()),"'"));
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
volume
Forum Members
Forum Members
Posts: 15
Joined: Tue May 30, 2006 5:45 pm

Re: Bug when importing CSV contacts list in "Newsletter Made Simple"

Post by volume »

Had the same problem and corrected it by uploading the latest version of the action.do_import_users.php - from the svn repository. Everything worked fine and still does...

http://forum.cmsmadesimple.org/index.ph ... l#msg49895

cheers,

volume
reidjazz

Re: Bug when importing CSV contacts list in "Newsletter Made Simple"

Post by reidjazz »

So is it maybe a delimiter problem? If it was expecting ')' and found ';', then maybe try replacing your ';' with ')' in your csv file.

Just a thought,
Todd
Locked

Return to “Modules/Add-Ons”