Created a clone of the site template page. After saving, Admin menu shows up and so do the tabs in the various admin sections but the contents of the pages are blank. Need to back out to a default panels everywhere configuration. Disabled the page manager and panels everywhere modules via SQL to get access back to the site. Uninstalled panels everywhere and delete the folder from the modules directory. Cleared caches. Reinstalled the panels everywhere module and reinstalled. Same problem was back. Is there a way to delete all panels everywhere records from the SQL tables so I can get back to a default install?

Comments

merlinofchaos’s picture

Panels Everywhere doesn't really have records of its own. You can have variants in the site_template task, but those are owned by page manager, so it never occurred to me to have PE actually remove them on uninstall.

If the contents of the pages are blank, though, it seems like you have a bigger problem than just some PE data.

druplerjr’s picture

Thanks for the quick reply. You are really doing amazing work with all of this. Many thanks. I'm new to Drupal and still trying to figure things out. It appears that what I did was to set the new variant so that the panel would always be selected and then saved without adding any content to the panel. Since I had also set panels everywhere to use that variant for the admin theme as well it wasn't rendering anything but the admin menu. I was finally able to disable PM and PE to get the pages back. Then I was able to get to the setting to turn off using the panel for the admin theme.

merlinofchaos’s picture

Title: Uninstall panels everywhere not complete » Panels Everywhere should remove variants on site_template on uninstall.
Category: support » bug

Panels Everywhere tries to protect from that happenstance by never rendering the site template edit screen using itself.

If you visit admin/structure/pages/site_template that page should still render, regardless of an error on the site template. You can then disable the variant from there. I can see where actually uninstalling should remove any variants attached to the site template, though, and I'll mark the fact that it doesn't do that as a bug.

dig1’s picture

Issue summary: View changes
Status: Active » Closed (works as designed)

I am doing some triage on this project. This issue relates to 7.x-1.0-alpha1. No activity has ocurred on this issue for approximately 30 months. Hopefully ok to Close (works as designed).

damienmckenna’s picture

Version: 7.x-1.0-alpha1 » 7.x-1.x-dev
Priority: Major » Normal
Status: Closed (works as designed) » Active

Reopening this as it's still a valid bug - PE should remove its custom configuration upon uninstall, that's what the uninstall process is for.

damienmckenna’s picture

Title: Panels Everywhere should remove variants on site_template on uninstall. » Implement hook_uninstall to delete variables and variants
Status: Active » Needs review
StatusFileSize
new1.09 KB

This doesn't remove the variants yet, but it does delete the variables.

  • Commit cea7522 on 7.x-1.x by DamienMcKenna:
    Issue #1266214 by DamienMcKenna: Delete all custom variables on...
damienmckenna’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev
StatusFileSize
new1.32 KB

A D6 version of #6.

  • Commit 322e3b0 on 6.x-1.x by DamienMcKenna:
    Issue #1266214 by DamienMcKenna: Delete all custom variables on...
damienmckenna’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
Status: Needs review » Needs work

I've committed the two patches to delete the variables, I'll work on the variants shortly.

Could someone please confirm these as being the right steps to delete the variants?

  1. Query {page_manager_handlers} for any records with 'task' == 'site_template'.
  2. Extra the 'conf' field using unserialize(), obtain the 'did' value.
  3. Delete records in {panels_display} with the did value identified above.
  4. Delete records in {panels_pane} with the did value identified above.
damienmckenna’s picture

damienmckenna’s picture

Status: Needs work » Needs review
StatusFileSize
new1.97 KB

Remove the site templates.

damienmckenna’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev
StatusFileSize
new1.77 KB

D6 backport.

damienmckenna’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev
StatusFileSize
new2.31 KB

Fixed the D7 version so it actually deletes the theme variables.

damienmckenna’s picture

Version: 7.x-1.x-dev » 6.x-1.x-dev
StatusFileSize
new1.81 KB

D6 backport.

damienmckenna’s picture

Status: Needs review » Fixed

Committed.

  • DamienMcKenna committed c4747ac on 7.x-1.x
    Issue #1266214 by DamienMcKenna: hook_uninstall() now removes all site...

  • DamienMcKenna committed 7705526 on 6.x-1.x
    Issue #1266214 by DamienMcKenna: hook_uninstall() now removes all site...

Status: Fixed » Closed (fixed)

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