Hi,
I have an issue with page manager, when editing content, all forms remains empty. (see attached screenshot)

I tried uninstalling/resinstalling ctools modules but same symptoms.

Doing a fresh installation with same modules/themes seems to work, but this is not an option as i dont want to restart my site from scratch.

Thanks for help

CommentFileSizeAuthor
empty-forms.png8.36 KBbear_beavis

Comments

merlinofchaos’s picture

Hmm. Curious. I can't immediately think of why this might happen. To figure out what's causing this I might need direct access to the site, and I would probably need access to the code in order to add debugging statements.

bear_beavis’s picture

Thanks for the answer,

I can give you a shell access if you give me a public ssh key, and even better if i can chat with you on some irc chan...

I'm currently trying to debug, it seems that function page_manager_get_operations is never called.

bear_beavis’s picture

i've done some debug :
page_manager_cache_load is called but page_manager_edit_page is neved called.

It's related to something in the database :
- using a dump of the fresh install, page_manager_edit_page is called and forms are there.
- reverting to the other dump no forms.

(clearing caches does nothing)

merlinofchaos’s picture

Hmm. That debug suggests that something is making Drupal think it should be retrieving the form from cache and that might be failing?

Try specifically clearing the cache_form table -- clearing cache will not clear that table. (Note that any in progress forms you have, particularly ajax stuff, might be affected by that).

bear_beavis’s picture

Ok, truncated the table cache_form but forms are still empty.
Any other ideas ?

merlinofchaos’s picture

Wow, hm. Unfortunately nothing else is really coming to mind, beyond digging into form.inc and debugging the form process and figuring out why the function isn't being called. :/

bear_beavis’s picture

Hum, i was debugging like an idiot using drupal_set_message...

I switched to dd() and discovered that page_manager_edit_page was called with same variables, it was something in the "theme" part of page_manager code.

Then i realized that it has to do with devel settings "Rebuild the theme registry on every page load".
If i turn it on, forms are empty, if i switch it off are forms are there. Gotcha !

So finally, i dont know if its a ctools bug or if this issue should be moved to a devel bug.

Ashlar’s picture

Status: Active » Closed (won't fix)

This bug report has not been active for over six months. In an effort to clean-up the issue queue this item has been closed. If your modules are current and the report is still relevant please feel free to change the Status back to active.