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: Adding new recipients shows success, but instead fails miserably.


Go to End


2 Posts   2361 Views

Avatar
darkowl

Community Member, 12 Posts

11 January 2008 at 5:31pm

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.

Avatar
darkowl

Community Member, 12 Posts

17 January 2008 at 11:32am

Edited: 17/01/2008 12:42pm

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.