10689 Posts in 2796 Topics by 1518 members
Jump to:If this is your first visit, you will need to register before you can post. However, you can browse all messages below.
| Page: 1 | go to end | Reply | |
| Author | Topic: Newsletter: Adding new recipients shows success, but instead fails miserably. | 747 views |

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.

17 January 2008 at 11:32am
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.
Last edited: 17 January 2008 at 12:42pm
| 747 views | |||
| go to top | Reply |