Publisher is EE6 compatible, but it does not support the Fluid field. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: AJAX error - The response was not a valid JSON object.

Status Resolved
Add-on / Version Custom System Messages
Severity Blocker
EE Version 16

Michael Sibley

May 31, 2012

Hello,

I’m trying to upgrade a site to the latest version of CSM to enable ajax system messages.  I have tried your example template code but just get ‘AJAX error - The response was not a valid JSON object.’ returned.  I’m not sure if it is a clash with another add-on as I do have User and Carthrob installed but if you could give me any pointers of how to troubleshoot this I’d be most grateful.

Mike

EE. 2.4
CSM 2.4

#1

BoldMinded (Brian)

May 31, 2012

Hi Michael, what sort of form are you attempting this with?

#2

Michael Sibley

May 31, 2012

Hello. I have just been trying to get it working with login form in the the example template you posted but eventually I would like to use it across the site.

#3

BoldMinded (Brian)

May 31, 2012

Can you share a link to the form?

#4

BoldMinded (Brian)

May 31, 2012

You can email it to me, litzinger at gmail

#5

Michael Sibley

May 31, 2012

OK great, I’ll send it now.  I am actually developing the site on a local server so I’ve installed the extension on a very similar environment online which demonstrates the problem.

#6

BoldMinded (Brian)

Jun 01, 2012

Looking at the ajax response shows the error: No templates defined for the Custom System Messages extension settings, or the defined templates can not be found.

Looks like you haven’t configured CSM.

#7

Michael Sibley

Jun 01, 2012

I’m an idiot - I enabled ajax responses but didn’t get any further.  Thanks for getting back to me so quickly.

#8

BoldMinded (Brian)

Jun 01, 2012

No worries 😊

Login to reply