I went to add new content on a panel node page and when I clicked add content I got this:

[{"command":"settings","settings":{"basePath":"\/","ajaxPageState":{"theme":"marinelli","theme_token":"jgrcb-Dl_lLn8bUxOsn3HZ56hiH7AIiwdVBNAHth5FU","css":[]},"overlay":{"paths":{"admin":"node\/*\/webform\nnode\/*\/webform\/*\nnode\/*\/webform-results\nnode\/*\/webform-results\/*\nnode\/*\/submission\/*\nnode\/*\/outline\nnode\/*\/outline\/remove\nnode\/*\/edit\nnode\/*\/delete\nnode\/*\/revisions\nnode\/*\/revisions\/*\/revert\nnode\/*\/revisions\/*\/delete\nnode\/add\nnode\/add\/*\noverlay\/dismiss-message\nuser\/*\/shortcuts\nadmin\nadmin\/*\nbatch\ntaxonomy\/term\/*\/edit\nuser\/*\/cancel\nuser\/*\/edit\nuser\/*\/edit\/*","non_admin":"admin\/structure\/block\/demo\/*\nadmin\/reports\/status\/php"},"ajaxCallback":"overlay-ajax"},"extlink":{"extTarget":0,"extClass":"ext","extSubdomains":1,"extExclude":"","extInclude":"","extAlert":0,"extAlertText":"This link will take you to an external web site. We are not responsible for their content.","mailtoClass":"mailto"}},"merge":true},{"command":"modal_display","title":"Add content to Top","output":"\u003cdiv class=\"panels-add-content-modal\"\u003e\u003cdiv class=\"panels-section-column panels-section-column-categories\"\u003e\u003cdiv class=\"inside\"\u003e\u003cdiv class=\"panels-categories-box\"\u003e\u003ca href=\"\/?q=panels\/ajax\/editor\/select-content\/2\/top\/activity\" class=\"use-ajax panels-modal-add-category\" title=\"\"\u003eActivity\u003c\/a\u003e\u003ca href=\"\/?q=panels\/ajax\/editor\/select-content\/2\/top\/custom-blocks\" class=\"use-ajax panels-modal-add-category\" title=\"\"\u003eCustom blocks\u003c\/a\u003e\u003ca href=\"\/?q=panels\/ajax\/editor\/select-content\/2\/top\/listings\" class=\"use-ajax panels-modal-add-category\" title=\"\"\u003eListings\u003c\/a\u003e\u003ca href=\"\/?q=panels\/ajax\/editor\/select-content\/2\/top\/menus\" class=\"use-ajax panels-modal-add-category\" title=\"\"\u003eMenus\u003c\/a\u003e\u003ca href=\"\/?q=panels\/ajax\/editor\/select-content\/2\/top\/miscellaneous\" class=\"use-ajax panels-modal-add-category\" title=\"\"\u003eMiscellaneous\u003c\/a\u003e\u003ca href=\"\/?q=panels\/ajax\/editor\/select-content\/2\/top\/node\" class=\"use-ajax panels-modal-add-category\" title=\"\"\u003eNode\u003c\/a\u003e\u003ca href=\"\/?q=panels\/ajax\/editor\/select-content\/2\/top\/page-elements\" class=\"use-ajax panels-modal-add-category\" title=\"\"\u003ePage elements\u003c\/a\u003e\u003ca href=\"\/?q=panels\/ajax\/editor\/select-content\/2\/top\/view-panes\" class=\"use-ajax panels-modal-add-category\" title=\"\"\u003eView panes\u003c\/a\u003e\u003ca href=\"\/?q=panels\/ajax\/editor\/select-content\/2\/top\/views\" class=\"use-ajax panels-modal-add-category\" title=\"\"\u003eViews\u003c\/a\u003e\u003ca href=\"\/?q=panels\/ajax\/editor\/select-content\/2\/top\/widgets\" class=\"use-ajax panels-modal-add-category\" title=\"\"\u003eWidgets\u003c\/a\u003e\u003c\/div\u003e\u003cdiv class=\"content-type-button clearfix\"\u003e\u003ca href=\"\/?q=panels\/ajax\/editor\/add-pane\/2\/top\/custom\/custom\" class=\"use-ajax panels-modal-add-config\" title=\"Create a completely custom piece of HTML content.\"\u003e\u003cimg typeof=\"foaf:Image\" src=\"http:\/\/hughsells.com\/modules\/ctools\/images\/no-icon.png\" alt=\"\" \/\u003e\u003c\/a\u003e\u003cdiv\u003e\u003ca href=\"\/?q=panels\/ajax\/editor\/add-pane\/2\/top\/custom\/custom\" class=\"use-ajax panels-modal-add-config\" title=\"Create a completely custom piece of HTML content.\"\u003eNew custom content\u003c\/a\u003e\u003c\/div\u003e\u003c\/div\u003e\u003cdiv class=\"content-type-button clearfix\"\u003e\u003ca href=\"\/?q=panels\/ajax\/editor\/add-pane\/2\/top\/node\/node\" class=\"use-ajax panels-modal-add-config\" title=\"Add a node from your site as content.\"\u003e\u003cimg typeof=\"foaf:Image\" src=\"http:\/\/hughsells.com\/modules\/ctools\/plugins\/content_types\/node\/icon_node.png\" alt=\"\" \/\u003e\u003c\/a\u003e\u003cdiv\u003e\u003ca href=\"\/?q=panels\/ajax\/editor\/add-pane\/2\/top\/node\/node\" class=\"use-ajax panels-modal-add-config\" title=\"Add a node from your site as content.\"\u003eExisting node\u003c\/a\u003e\u003c\/div\u003e\u003c\/div\u003e\u003c\/div\u003e\u003c\/div\u003e\u003cdiv class=\"panels-categories-description\"\u003eContent options are divided by category. Please select a category from the left to proceed.\u003c\/div\u003e\u003c\/div\u003e"}]

Ideas?????

Comments

merlinofchaos’s picture

Title: Wow what is this? » JSON code on page
Status: Active » Postponed (maintainer needs more info)

That is called JSON code and its used to communicate during AJAX requests. Its presence usually means that javascript somehow crashed on the page, causing the link to fail to be properly set up to call the AJAX request.

Most browsers have a javascript console that you can open up and see javascript errors. THat might provide more detail about what's causing the failure. Common causes of things like this are multiple copies of jquery, drupal for firebug (which doesn' tlook like it's the case here) or bad/crashing javascript in modules and especially themes.

Letharion’s picture

Status: Postponed (maintainer needs more info) » Fixed

OP hasn't responded in several months. Closing.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.