9526 Posts in 1941 Topics by 1529 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 770 Views |
-
Newsletter module not working on SS 2.3.2

12 July 2009 at 10:24am
Have checked out clean install of SS 2.3.2 and latest trunk of newsletter module. All seems to work fine, however when I manually try to add a recepient to the mailing list I receive the following error:
The page at http://localhost says:ERROR [Notice]: Undefined index:
IN POST /test/silverstripe/admin/newsletter/EditForm?fieldName=Recipients&action_callfieldmethod&methodName=addtogroup
Line 101 in /Sites/test/silverstripe/cms/code/MemberTableField.phpSource
======
92: $csvFieldList[$field] = $field;
93: }
94:
95: if($group) {
96: if(is_object($group)) {
97: $this->group = $group;
98: } elseif(is_numeric($group)) {
99: $this->group = DataObject::get_by_id('Group', $group);
100: }
* 101: } else if(isset($_REQUEST['ctf']) && is_numeric($_REQUEST['ctf'][$this->Name()]["ID"])) {
102: $this->group = DataObject::get_by_id('Group', $_REQUEST['ctf'][$this->Name()]["ID"]);
103: }
104:
105: foreach(self::$addedFields as $key => $value) {
106: $fieldList[$key] = $value;
107: }<ul>MemberTableField->__construct(NewsletterAdmin,Recipients,)
line 339 of NewsletterAdmin.phpNewsletterAdmin->getMailingListEditForm(1)
line 273 of NewsletterAdmin.phpNewsletterAdmin->MailingListEditForm()
line 247 of NewsletterAdmin.phpNewsletterAdmin->EditForm(HTTPRequest)
line 167 of Controller.phpController->handleAction(HTTPRequest)
line 131 of RequestHandler.phpRequestHandler->handleRequest(HTTPRequest)
line 127 of Controller.phpController->handleRequest(HTTPRequest)
line 282 of Director.phpDirector::handleRequest(HTTPRequest,Session)
line 123 of Director.phpDirector::direct(/admin/newsletter/EditForm)
line 122 of main.php -
Re: Newsletter module not working on SS 2.3.2

10 February 2010 at 2:00am
I encountered this mistake today.
It occurs when you don't set a Mailing list group for the newsletter type. In order to create a User group go to Security panel and create a group, for example Newsletter Recipients, with no rights. Then select this group on the Newsletter Settings.
| 770 Views | ||
|
Page:
1
|
Go to Top |

