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.

Archive /

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

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

Newsletter: Adding new recipients shows success, but instead fails miserably.


Reply


2 Posts   1724 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.