Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Newsletter: Adding new recipients shows success, but instead fails miserably.

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: 1679 Views
  • darkowl
    Avatar
    Community Member
    12 Posts

    Newsletter: Adding new recipients shows success, but instead fails miserably. Link to this post

    Okay, I've found something I can't seem to figure out.

    Adding newsletter recipients on my test server? No problems.

    Adding newsletter recipients on the live, deployed site? Fails.

    The interface shows the green "User added" message, but they never appear in the database - somewhere between submission and database insertion it's failing, but there's no easy path to find out where it's broken.

    I'm at a bit of a loss. Any ideas?

    Also, although not necessarily the issue, I have noticed a JavaScript bug in cms/javascript/MemberList.js on line 56:
    $('Form_MemberForm').loadNewPage(response.responseText);

    In both IE and Firefox, "$('Form_MemberForm')" is a non-existant object and which produces a JavaScript error in the browser.

  • darkowl
    Avatar
    Community Member
    12 Posts

    Re: Newsletter: Adding new recipients shows success, but instead fails miserably. Link to this post

    No takers?

    Hmm. Well, I've narrowed it down a little. It seems the data is successfully stored in the DB, but the mechanism to view the list of users on the page (via AJAX) is causing issues.

    I still have no idea why it works on the dev server but not live, other than the live is on a shared host with PHP security etc. enabled.

    EDIT: Ah, here we go: http://www.silverstripe.com/site-builders-forum/flat/4806 has some good answers.

    1679 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.