Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Newsletter issues in rc3


Go to End


3 Posts   4642 Views

Avatar
psusd

Community Member, 9 Posts

4 May 2008 at 12:33pm

Well, I'm pleased to see that the previous newsletter issues have mostly been resolved in the new 2.2.2-RC3 release. Importing emails worked, so did setting up the form and sending the emails.

However, I experienced some problems when setting up a template. In order to actually send emails that used the template I had setup, I had to create an "email" and an "Email" directory in both /mysite/templates as well as /themes/mytheme/templates. That's four duplicate directories, and the duplication of the template files in them. That's a bit ridiculous I think. (I didn't do testing back and forth to figure out exactly which ones were absolutely needed).

What happened was that when I setup the folder "/mysite/templates/email" the template name showed up in the newsletter 'use template' option. But when sending the emails, they turned up blank - no template and no text. So by duplicating the directories everywhere, I was able to get it to send emails using the template. So where it's looking for the email template files isn't remaining constant through out the app. Fairly easily solved... but it should be fixed for the final 2.2.2 release.

Linux sees the names 'email' and 'Email' as different... Windows should see them as the same. So capitalization needs to be consistent throughout.

Lastly... i thought I'd click on the unsubscribe link in the test email I was finally able to get and it choked:

Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/test/public_html/psusd/sapphire/core/control/Controller.php(543) : eval()'d code on line 1

Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/test/public_html/psusd/sapphire/core/control/Controller.php(543) : eval()'d code on line 1

Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM in /home/test/public_html/psusd/sapphire/core/control/Controller.php(543) : eval()'d code on line 1

Repeating those lines until it exhausted the allowed memory and stopped.

Someone else is getting it too:
http://www.silverstripe.com/site-builders-forum/flat/53980

Avatar
Tim

Community Member, 201 Posts

4 May 2008 at 1:47pm

I've added a ticket for this;

http://open.silverstripe.com/ticket/2482

Avatar
psusd

Community Member, 9 Posts

9 May 2008 at 12:06pm

Thanks... I suppose I should have added a ticket myself instead of posting on the forum. I'll try to do that next time I have an apparent bug.

Now I'm off to try RC4!