Page 1 of 1

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

Posted: Wed Mar 07, 2007 9:05 pm
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!  ???

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

Posted: Wed Mar 07, 2007 11:06 pm
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()),"'"));

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

Posted: Mon Mar 12, 2007 7:53 pm
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

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

Posted: Fri Mar 16, 2007 8:29 pm
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