10375 Posts in 2190 Topics by 1707 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1497 Views |
-
Newsletter csv upload

22 September 2009 at 4:36am
Hi
I've downloaded the trunk newsletter file today, and installed it. The stable version wouldn't work at all for me - nothing happened when I hit the create button, and nothing appeared in the left column.
I am trying to upload a csv file to the site, but am encountering an error. See below. I have searched and searched to try and resolve this and am having no luck. Any advice?Any help at all would be much appreciated.
Thanks.
[Notice] Undefined index: Set
POST /SilverStripe-v2.3.3/admin/newsletter/UploadFormLine 236 in C:\wamp\www\SilverStripe-v2.3.3\newsletter\code\RecipientImportField.php
Source227 return preg_match( '/.*\.csv$/i', $file['name'] ) > 0;
228 }
229
230 function confirm( $data, $form ) {
231 $id = $data['ID'];
232 $mailType = DataObject::get_one("NewsletterType", "ID = $id");
233 if($mailType->GroupID)
234 $group = DataObject::get_one("Group", "ID = $mailType->GroupID");
235 // @TODO Look into seeing if $data['Set'] should be removed since it seems to be undefined
236 return $this->importMembers( $id, $group, $data['ImportFileColumns'], $data['Set'] );
237 }
238
239 function cancel( $data, $form ) {
240 $newForm = $this->controller->UploadForm( $data['ID'] );
241 return $newForm->forTemplate();
242 }Trace
* RecipientImportField_UploadForm->confirm(Array,RecipientImportField_UploadForm,HTTPRequest)
Line 246 of Form.php
* Form->httpSubmission(HTTPRequest)
Line 129 of RequestHandler.php
* RequestHandler->handleRequest(HTTPRequest)
Line 143 of RequestHandler.php
* RequestHandler->handleRequest(HTTPRequest)
Line 122 of Controller.php
* Controller->handleRequest(HTTPRequest)
Line 277 of Director.php
* Director::handleRequest(HTTPRequest,Session)
Line 121 of Director.php
* Director::direct(/admin/newsletter/UploadForm)
Line 118 of main.php -
Re: Newsletter csv upload

6 October 2009 at 3:30am
Im having the same issue, did this ever get situated?
Also does SS create a web page in association with the email it tries to send out so that you can provide a click-able link if needed?
-
Re: Newsletter csv upload

7 October 2009 at 5:04am Last edited: 7 October 2009 5:42am
meh, turned dev mode off and it completed the upload
| 1497 Views | ||
|
Page:
1
|
Go to Top |

