Hi,

When I go to add content -> New custom content, it just shows me an empty page. In the watchdog I get the following warning:
Location: http://simpel7.sultan/admin/structure/pages/nojs/operation/page-test/han...
Message: Theme key "panels_edit_display_form" not found.

What to do?

Regards, Geert

Comments

merlinofchaos’s picture

Try the -dev version? This sounds like one I've already fixed.

merlinofchaos’s picture

Issue tags: -blank, -custom content

I can't reproduce this using CTools -dev version. Note that This would be a CTools issue, not Panels.

Cassidy1990’s picture

Make sure the "Custom Content Panes" in the Ctools section is enabled in the Modules menu.

merlinofchaos’s picture

Status: Active » Fixed

This was actually a CTools issue. Committed a fix there.

merlinofchaos’s picture

Project: Panels » Chaos Tool Suite (ctools)
Version: 7.x-3.0-alpha1 » 7.x-1.x-dev
larskleiner’s picture

It didn't fix it for me, although my issue might be slightly different. I do get the same message in the logs when I try to "Add content" to a panel pane in a node_view variant. On top of this I do get a blank edit pop window along with the following JS alert() dialog.

An AJAX HTTP error occurred.
HTTP Result Code: 200
Debugging information follows.
Path: [base_path]/panels/ajax/editor/select-content/panel_context%3Anode_view%3Anode_view_panel_context/middle
StatusText: OK
ResponseText: [{"command":"settings","settings":{"basePath":"\/bfi\/drupal\/core\/","ajaxPageState": ...

I tried this using combinations of both the latest panels (7.x-3.x-dev and 7.x-3.0-alpha2) and ctools (7.x-1.x-dev and 7.x-1.0-alpha2) release and dev versions.

larskleiner’s picture

Status: Fixed » Active
larskleiner’s picture

Status: Active » Fixed

I had another look around and this issue affected ajax calls across the board (including panels, features and the "add another item" button script to add new form fields in node/add and node/edit).

Disabling the Drupal for Firebug modules fixed it. Within the JS alert() dialog I found the following message which might point to a Drupal for Firebug config issue:

Drupal for Firebug General Messages
There were no messages sent to the general log. Please use "firep($item, $optional_title)" to output messages to this console.

Query Logging is Not Enabled
Please enable "Collect query info" in the Devel Module Settings (admin/settings/devel) to use this feature.

greg.harvey’s picture

Confirmed, latest 7.x-1.x-dev of Ctools fixes this for me.

Status: Fixed » Closed (fixed)

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

bryancasler’s picture

Still getting "Theme key "panels_edit_display_form" not found."

#1116522: Warning: Theme key "panels_edit_display_form" not found.

Using Ctools version = "7.x-1.0-alpha4", datestamp = "1301099792"