JSON Error when adding a Block
Permalink 1 user found helpful
Hi!
http://bit.ly/9OtIXx
That happens whenever I add a block. It happens on all block and all pages, even new pages.
I'm having this issue since 5.2 builts of C5. It occurs sometimes and then it stays there until you reinstall the site. I don't know why that happens but it's really annoying.
I allways thought that this is my fault.. but then it appeared again and again on different sites. And those sites don't share any code, they're totally different.
Could you please take a look at that?
I'm almost sure that this has to do with something that went wrong in the database.
But I don't know what.
Sincerely
Fernandos
http://bit.ly/9OtIXx
That happens whenever I add a block. It happens on all block and all pages, even new pages.
I'm having this issue since 5.2 builts of C5. It occurs sometimes and then it stays there until you reinstall the site. I don't know why that happens but it's really annoying.
I allways thought that this is my fault.. but then it appeared again and again on different sites. And those sites don't share any code, they're totally different.
Could you please take a look at that?
I'm almost sure that this has to do with something that went wrong in the database.
But I don't know what.
Sincerely
Fernandos
![Fernandos](/files/avatars/583.jpg)
I don't know with wich block this is starting, but I exclude layouts because it happened on 5.2.3 also. It might be the content block. Maybe it happens when you move blocks or remove a layout. I don't know when it happens to be honest. That bug is slipping in silently.
OK!
I mean I get that error when I hit save. But when I close all and hit exit-edit-mode my changes are there.
I've traced that bug down to be a browser specific issue! Don't stop reading here, it's still a bug. I will give you the XMLHttpRequest communication logs here.
Ressource: edit_area_popup.php
Headers:http://pastebin.com/0yxYrHwD
Content:http://pastebin.com/KYnREi7c
I'll skip:
Ressource: quicksilver.js
Ressource: jquery.liveupdate.js
Ressource: add_block_popup.php
Headers:http://pastebin.com/VbW4S8BZ
Content:http://pastebin.com/PJzyqE3t
Ressource: alert
Headers:http://pastebin.com/WwTNx48Y
Content:http://pastebin.com/72Xw1U7e
I'm using the latest Chromium build. Which is not Google Chrome. It's just Chrome with the lastest webkit from svn. (I'm learning webgl)
Haha... that's the price to stay bleeding edge, technology wise.
Hope you can make this work better some time.
I mean I get that error when I hit save. But when I close all and hit exit-edit-mode my changes are there.
I've traced that bug down to be a browser specific issue! Don't stop reading here, it's still a bug. I will give you the XMLHttpRequest communication logs here.
Ressource: edit_area_popup.php
Headers:http://pastebin.com/0yxYrHwD
Content:http://pastebin.com/KYnREi7c
I'll skip:
Ressource: quicksilver.js
Ressource: jquery.liveupdate.js
Ressource: add_block_popup.php
Headers:http://pastebin.com/VbW4S8BZ
Content:http://pastebin.com/PJzyqE3t
Ressource: alert
Headers:http://pastebin.com/WwTNx48Y
Content:http://pastebin.com/72Xw1U7e
I'm using the latest Chromium build. Which is not Google Chrome. It's just Chrome with the lastest webkit from svn. (I'm learning webgl)
Haha... that's the price to stay bleeding edge, technology wise.
Hope you can make this work better some time.
I had this issue and was able to resolve it by simply making sure that all select options were fully defined.
so instead of:
fully defining as follows resolved the JSON posting error from the add/edit dialog.
so instead of:
<select name="somthing"> <option>value 1</option> <option>value 2</option> <option>value 3</option> </select>
fully defining as follows resolved the JSON posting error from the add/edit dialog.
<select name="somthing"> <option value="value 1">value 1</option> <option value="value 2">value 2</option> <option value="value 3">value 3</option> </select>
I get the same save errors when adding any block to anything installed in different hosting accounts, using default template. I have narrowed it down to the following:
I do not get the error when using Firefox or IE, I only get the errors when saving while I use Google Chrome. So definitely something wonky is going on with Google Chrome compatibility with 5.4.0.5 versions of C5.
I hope this gets fixed with the 5.4.1 release.
I do not get the error when using Firefox or IE, I only get the errors when saving while I use Google Chrome. So definitely something wonky is going on with Google Chrome compatibility with 5.4.0.5 versions of C5.
I hope this gets fixed with the 5.4.1 release.
Just tested this: added a new content block to one of my 5.4.0.5 sites using Google Chrome. Worked fine!
Is it a default block you're adding or a custom block? Which version of Chrome are you using? Would you be able to set up a temporary login on a test site that we can test?
Jon
Is it a default block you're adding or a custom block? Which version of Chrome are you using? Would you be able to set up a temporary login on a test site that we can test?
Jon
I got it figured out, it was a Google Chrome Extension called Smooth Scroll that was creating the problem, soon as I disable it the error went away .. yay! I hope that this helps some other frustrated person along the way somewhere.
firehouse,
I have been looking all over for a solution for this. Disabling smooth scroll fixed the problem for me.
Thanks so much!
I have been looking all over for a solution for this. Disabling smooth scroll fixed the problem for me.
Thanks so much!