I have a custom module which implements argumnets and context plugins for locations (location.module). On the conversion from panels2 to panels3, a few panels were giving me an access denied everytime i went to the panel url. If I changed the URL to say, by appending a 2 (overview2) then it would work fine. I deleted the panel, and tried re-importing, i tried deleting it and recreating from scratch and still the same issues. This only happened on 2 panels, both of which i think i had been using the panels 2 tab menu item functionality. I finally looked in my menu_router table and saw that the access_callback was "0" for both of them! So thinking they were left over for some reason, I tried to delete them from the menu_links and menu_router tables, and also clearing the menu cache, but they both come back.


destinations/region/%/overview
a:1:{i:2;N;}
0
a:0:{}
page_manager_page_execute
a:2:{i:0;s:31:"destinations_region_placeholder";i:1;i:2;}
13
4
destinations/region/%/overview
t
6
-1
/plugins/tasks/page.inc

Comments

frankcarey’s picture

This is a pain, I can't seem to be able to get rid of these entries in the menu router. I've removed the old panel page that was using the %country/overview path, and the panel page i'm using now is %country/overview2. Both are still showing up in the menu tables! I cleared cache. It's like there is an evil ghost panel page somewhere but I can't find it.

merlinofchaos’s picture

Hmm. Check your page_manager_pages table to see if there's some kind of ghost entries for these in there or something?

frankcarey’s picture

I'm not sure if this is related but two of my panels seem to be joined at the hip. They seem to be sharing the same variant, so that when I change the settings for content on one, It effects the other. They were both exitsing panels in panels2, and went through the upgrade process. I'm considering exporting my panels and starting over with a fresh installation of panels. Do you this is a good idea and if so, how would you recommend doing it (seems like there is no bulk export/import? Do pages and variants have to be imported/exported separately?

frankcarey’s picture

i found the bulk export tool. (Administraion -> Site Building -> Bulk Export) but I started with features module. For some reason i was only getting the page, not panes in the exports there (which also seemed to be the case when i used an individual page's export button as well) but it looks like the bulk export is getting everything. Is this normal behavior?

So for now, I'm copying from bulk export and pasting over what was in my features export.

merlinofchaos’s picture

Status: Active » Fixed

It's possible features is not fully exporting the objects because the page manager exports are fairly complicated. I'm not really familiar with features.

It does sound like you have the result of a bug from way earlier, where variants could get the same display so changes to one would affect the other. Your solution is a good one, as that will force them to use new, fresh data.

frankcarey’s picture

Seems to be working well now once i got them out of the DB and into code. FYI: there is a patch for features that looks like it's leveraging the ctools bulk export backend and it's making it really nice to pack up all my views, content_types, panels and more into a nice little features modules :) http://drupal.org/node/532256

Status: Fixed » Closed (fixed)

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