Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Newsletter issues in rc3

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

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

Page: 1
Go to End
Author Topic: 3962 Views
  • psusd
    Avatar
    Community Member
    9 Posts

    Newsletter issues in rc3 Link to this post

    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

  • Tim
    Avatar
    Core Development Team
    201 Posts

    Re: Newsletter issues in rc3 Link to this post

    I've added a ticket for this;

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

  • psusd
    Avatar
    Community Member
    9 Posts

    Re: Newsletter issues in rc3 Link to this post

    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!

    3962 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.