Please help, I updated to Panels 6.x-3.10 yesterday and now I find I cannot edit panel contents or add new panel pages.

When I click the cogwheel on the panel, no matter what I choose, edit css, edit panel, change style, I get this the code below. This is a corporate site and I need to be able to edit contents! I am not very skilled at Drupal, PLEASE PLEASE HELP!

[ { "command": "settings", "argument": { "basePath": "/", "admin_menu": { "margin_top": 1 }, "cron": { "basePath": "/poormanscron", "runNext": 1354891600 }, "extlink": { "extTarget": "_blank", "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": 0 }, "custom_search": { "form_target": "_self", "solr": 0 } } }, { "command": "css_files", "argument": [ { "file": "/modules/admin_menu/admin_menu.css?X", "media": "all" }, { "file": "/modules/aggregator/aggregator.css?X", "media": "all" }, { "file": "/modules/book/book.css?X", "media": "all" }, { "file": "/modules/cck/theme/content-module.css?X", "media": "all" }, { "file": "/modules/ctools/css/ctools.css?X", "media": "all" }, { "file": "/modules/filefield/filefield.css?X", "media": "all" }, { "file": "/modules/node/node.css?X", "media": "all" }, { "file": "/modules/poll/poll.css?X", "media": "all" }, { "file": "/modules/simplenews/simplenews.css?X", "media": "all" }, { "file": "/modules/system/defaults.css?X", "media": "all" }, { "file": "/modules/system/system.css?X", "media": "all" }, { "file": "/modules/system/system-menus.css?X", "media": "all" }, { "file": "/modules/user/user.css?X", "media": "all" }, { "file": "/modules/views_slideshow/contrib/views_slideshow_singleframe/views_slideshow.css?X", "media": "all" }, { "file": "/modules/views_slideshow/contrib/views_slideshow_thumbnailhover/views_slideshow.css?X", "media": "all" }, { "file": "/modules/extlink/extlink.css?X", "media": "all" }, { "file": "/modules/cck/modules/fieldgroup/fieldgroup.css?X", "media": "all" }, { "file": "/modules/panels/css/panels.css?X", "media": "all" }, { "file": "/modules/views/css/views.css?X", "media": "all" } ] }, { "command": "scripts", "argument": [ "/misc/jquery.js", "/misc/drupal.js", "/modules/admin_menu/admin_menu.js", "/modules/equalheights/jquery.equalheights.js", "/modules/poormanscron/poormanscron.js", "/modules/views_slideshow/js/jquery.cycle.all.min.js", "/modules/views_slideshow/contrib/views_slideshow_singleframe/views_slideshow.js", "/modules/views_slideshow/contrib/views_slideshow_thumbnailhover/views_slideshow.js", "/modules/extlink/extlink.js", "/modules/panels/js/panels.js", "/modules/custom_search/custom_search.js" ] }, { "command": "modal_display", "title": "Configure CSS on New custom content", "output": "\x3cform action=\"/panels/ajax/editor/pane-css/210/842\" accept-charset=\"UTF-8\" method=\"post\" id=\"panels-edit-configure-pane-css-form\"\x3e\n\x3cdiv\x3e\x3cdiv class=\"form-item\" id=\"edit-css-id-wrapper\"\x3e\n \x3clabel for=\"edit-css-id\"\x3eCSS ID: \x3c/label\x3e\n \x3cinput type=\"text\" maxlength=\"128\" name=\"css_id\" id=\"edit-css-id\" size=\"60\" value=\"\" class=\"form-text\" /\x3e\n \x3cdiv class=\"description\"\x3eCSS ID to apply to this pane. This may be blank.\x3c/div\x3e\n\x3c/div\x3e\n\x3cdiv class=\"form-item\" id=\"edit-css-class-wrapper\"\x3e\n \x3clabel for=\"edit-css-class\"\x3eCSS class: \x3c/label\x3e\n \x3cinput type=\"text\" maxlength=\"128\" name=\"css_class\" id=\"edit-css-class\" size=\"60\" value=\"\" class=\"form-text\" /\x3e\n \x3cdiv class=\"description\"\x3eCSS class to apply to this pane. This may be blank.\x3c/div\x3e\n\x3c/div\x3e\n\x3cinput type=\"submit\" name=\"op\" id=\"edit-next\" value=\"Save\" class=\"form-submit\" /\x3e\n\x3cinput type=\"hidden\" name=\"form_build_id\" id=\"form-e1a7f84ec4e5e91382925605dddd814b\" value=\"form-e1a7f84ec4e5e91382925605dddd814b\" /\x3e\n\x3cinput type=\"hidden\" name=\"form_token\" id=\"edit-panels-edit-configure-pane-css-form-form-token\" value=\"a3347c8886acf7c26fb5a7d4f3fc30c8\" /\x3e\n\x3cinput type=\"hidden\" name=\"form_id\" id=\"edit-panels-edit-configure-pane-css-form\" value=\"panels_edit_configure_pane_css_form\" /\x3e\n\n\x3c/div\x3e\x3c/form\x3e\n" } ]


merlinofchaos’s picture

That looks like a properly formatted JSON response; that indicates that javascript on the server side is probably crashing. This can happen if some other javascript is interfering and crashing. You should check your browser's javascript console for an error, that will give more detail as to what is failing.

dhills’s picture

Thanks merlinofchaos.

I opened Chrome's java console. Not sure what I am looking for but under the Network tab I found that is returning a 404, and in Console I see:

GET 404 not found
(anonymous function) poormanscron.js:12
Drupal.behaviors.cronCheck poormanscron.js:9
(anonymous function) drupal.js:41
Drupal.attachBehaviors drupal.js:40
(anonymous function) drupal.js:276
(anonymous function)
(anonymous function)

Is this helpful? I am way over my head here and don't know what to do to fix it. Any input would be appreciated.

dhills’s picture

Priority: Critical » Normal

We had to restore from a backup, which seems to have fixed the issue when I use Chrome, but in Firefox I still get the same error when editing or adding a panel. I'm not sure if this makes any difference in finding out what's wrong... As long as I can access the site from one browser, this issue is no longer critical, but I would like to know what happened, otherwise I may never update modules again!

Thanks for your help!

**Update: It's is only this one particular version of Chrome it works on, still get the same error from all other version of Chrome and from IE and Firefox.

merlinofchaos’s picture

Status: Active » Closed (won't fix)

The error indicates that poormanscron module is somehow failing. I would check with that module; maybe something critical broke.

The failure then cascades and destroys all the other javascript on the page. :(

There's probably nothing Panels can do about this.

dhills’s picture

Not what I wanted to hear, but thanks, I'll will look into that module and see what I can do to fix this.

Thanks for all the help.

Bridges_People’s picture

I'm running into this too. dhills / anybody else: ever figure out the bug with Poor Man's Cron?


Bridges_People’s picture

Issue summary: View changes

Added cannot add to cannot edit.