Error message when editing content block

Permalink
Hi,
for the last maybe ten days I always get an erreor message when editing content block :

[{"aID":"4","arHandle":"Main","cID":"1","isGlobalBlock":false,"error":false,"bID":"411"}]

Anybody tell me what it´s about and what to do? Never had this prob before

rritz
 
jordanlev replied on at Permalink Reply
jordanlev
Sometimes simply clearing your site cache fixes this issue, but if it's been happening for 10 days that is unlikely to be the cause. Which means it is a javascript error. This could be caused by any number of things. The most likely is that you're loading jQuery in your theme or in a block/package (C5 already includes jquery so including it yourself means it is duplicated which creates lots of errors). If that's not the case then you have to go through whatever javascript you've created and look for errors.
If you haven't added any of your own javascript to your theme and haven't created your own blocks, then it is something in an addon you downloaded or installed from the marketplace. Do you recall what changes you may have made to the site around the time this started happening?
rritz replied on at Permalink Reply
rritz
Hi jordanlev,
thanks for replying
I have not added any javascript or self made blocks at all. The latest package I installed was MailMonkey. I removed it and cleared cache but the error is still there.
The other blocks were installed loger ago, I don´t think they can have caused the error.

Changes I have made in edit mode do take effect, but when I click
Exit Edit Mode I do not get the choice of clicking publish, preview or cancel but I go directly back to the page with the message page is pending approval.

In IE I get a warning symbol that tells me when I click on it
error on webpage details

Benutzer-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; CMNTDF)
Zeitstempel: Fri, 13 May 2011 13:14:34 UTC


Object missing
line: 53
character: 3
Code: 0
URI:http://www.emina-rock.com/index.php?cID=1...


As far as I can see line 53 is an empty line ....
jordanlev replied on at Permalink Reply
jordanlev
There's definitely some kind of javascript error going on, but unfortunately there's no way I could tell you what it is. If you don't have addons installed and didn't modify anything yourself then I don't see how there could be a problem. Did you recently move or copy this site from one place to another? Some people have reported issues with all files not copying properly in such situations. I don't know... wish I could offer more helpful advice.
rritz replied on at Permalink Reply
rritz
Hi Jordanlev,
Thxs for trying to help!

I think I found out what happens. i got a newsletter sign up form
it is embed code by mailchimp
I added another sign up form by mailchimp on a dedicated sign up page, and I get the same problem there. Must be something in the mail chimp code.

I don´t know now, should I turn to mail Chimp for support.
Also the mail chimp integration add on did not work for me
jordanlev replied on at Permalink Reply
jordanlev
I don't know -- it couldn't hurt to ask mailchimp about it. Maybe they have a forum where other people have reported a similar issue (probably not with Concrete5 specifically, but maybe other general "javascript conflicts" with the mailchimp embed code)?
tommyh replied on at Permalink Reply
tommyh
I too share in the same error when updating blocks... I get this error:

{"aID":"21","arHandle":"Main","cID":"69","isGlobalBlock":false,"error":false,"bID":"324"

Has anyone tried the Mailchimp add-on rather than pasting code?
tommyh replied on at Permalink Reply
tommyh
I removed the mailchimp code that I pasted into a block and installed the mail monkey (mailchimp) addon and entered the api...

Issue resolved

Page no longer displays the following when editing the blocks on the page:

{"aID":"21","arHandle":"Main","cID":"69","isGlobalBlock":false,"error":false,"bID":"324"