Just updated from D5 to D6. Completely uninstalled Panels, deleted all related database tables, and reinstalled it. Seemed fine, however...

I made 2 mini panels. One front_page_listings and one test (incase it was title related)

When I try to put one of the mini panels in my panel page as a pane it says.

"Deleted/Missing Mini Panel t" (When adding "test" mini-panel)
and "Deleted/Missing Mini Panel f" (when adding "front_page_listings" mini-panel)

I tried putting view blocks, view panel panes, and other type panes in the mini panels, nothing helped.

I couldn't find any mentions of this, was thinking it might just be on my side.

Comments

vm’s picture

this seems to be a duplicate of = http://drupal.org/node/323145

drewish’s picture

marked #323145: Deleted/missing mini panel a as a duplicate since this has a better explanation of the problem.

alank’s picture

Interesting... or maybe not. Appears the name of the node is getting truncated to 1 character. I tried creating a mini panel with 't' as the name (one character) and this mini panel works. However anything with more then one character doesn't.

To be clear I'm referring to the mini panel "name" field, the 'title' field can be any length and it will appear if set or else the 'name' will appear.

If I was to take a really wild and stupid guess, it would appear that the mini-panel (and I think page panel as well) 'name' is being truncated to one character when fetched. I think it's being saved properly though. Going to investigate a little more and look at the code.

Meanwhile, a workaround can be to set your mini-panel names to 1 character limiting you to 36 ('a', 'b', 'c', 'd'...). Then set a more descriptive 'title' so you know which is which when adding to a page panel.

BTW: Really great module, can't wait to see it included in 7.x.

D6.5 + Panels 6.x-2.0-alpha2

2ndChanceTech’s picture

Damn, that's awesome, out of everything I've been doing you think I would of thought of trying that! I'm VERY glad to hear that it's that simple of a fix. I don't mind naming my mini panels with a single letter, or number. (That gives us 30+ mini panels to use, more then enough).

As for the duplicate thing, that post wasn't there when I was typing mine, must have a close post time, or I was blind.

Anyways thanks for the fix, I'm sure knowing the problem will make it easier to find the fix. Back to work then, mini panels was the only thing I was waiting for. (Oh, and secondary tabs for own displays...)

grendzy’s picture

I just created a 1-letter mini panel... now my web server is segfaulting on every page load:

[Tue Oct 21 15:47:51 2008] [notice] child pid 4216 exit signal Segmentation fault (11)

I had to manually disable panels_mini in the system table in order to recover my site.

alank’s picture

Strange, I didn't see any of that behaviour, can you state what versions you were using so that others know?

2ndChanceTech’s picture

I set the version when I made the post.

6.x-2.0-Alpha2 and but also happens on the Dev.

It happened when I upgraded my site from 5.x to 6.x

I wiped my site, did a fresh install, and it still happens.

Perhaps it's another module conflicting?

grendzy’s picture

Panels 6.x-2.0-alpha2
Drupal 6.5
Views 6.x-2.0-rc4

pisco23’s picture

same issue - and using the 1 unit naming also works for me

Panels 6.x-2.x-dev
Drupal 6.4
Views 6.x-2.0

alank’s picture

Hugh... I was using...

Panels 6.x-2.0-alpha2
Drupal 6.5
Views 6.x-2.1

Really didn't think Views had anything to do with it, thought the naming issue was only related to Panels. But then again it's no confirmation. Grendzy, any way you can try with Views 6.x-2.1 just to confirm if your case is caused by that module combination? I'm really curious.

Now I'm not 100% sure Views version is what I used when I first posted as there was a new version (2.1) but for my config I can assure you that 2.1 does not crash with 1 letter mini panel names.

Thanks.

alank’s picture

I'm sorry, shoot me, just realized post below might have caused some confusion because I didn't hit the "reply" link to Grendzy, so...

My message: "Strange, I didn't see any of that behaviour, can you state what versions you were using so that others know?" was related to Grendzy and not the initial post of kryptik

And to be more clear, Kryptik I have the same issue as you, unless I use one letter panel names.

alank’s picture

I don't think it's a conflict issue, I've just done a fresh install with only views, panels, created mini block, name test_mini and then tried to add to a panel page and same issue.

However: In doing this I've just realized that Mini Panels depends on Views (modules page) so it could very well be that there is some kind of conflict. I think at this point I'm a little lost.. just trying to understand why mini panels depends on views... I'm really confused at this point, actually it says that every Panel module depends on Views (except "Panels" module). I didn't see anywhere that panels required views... did I just slip up somewhere? Maybe my eyes are too damn tired!!!

grendzy’s picture

Hi alank, I wondered about that too, so I updated today to Vews 6.x-2.1. I also completely uninstalled Panels, and tried again. I'm still getting the segfault.

Specifically, here is what I'm doing:

  1. Create new mini panel, named "a"
  2. Add a page node nid:26 to the node context. This causes a form validation error, saying something like "please choose a node". I then dismiss/cancel the context dialog.
  3. Then I go to the panels content, and click the plus icon. Even though the previous step had issues, my node is available as content, so I add it. Still good.
  4. Then, I go to the block admin page, and add this mini panel block to sidebar-right. That's when I get the white-screen-of-death, and a segfault in the apache log.
  5. To recover, I run "update system set status = 0 where name = 'panels_mini'
alank’s picture

Give me a little time, I'm going to try this, just have to finish up some stuff for another site. Just little question, your node is avail as content... but not with the page display (nid:26 does not display in the mini panel) ?

grendzy’s picture

Just little question, your node is avail as content... but not with the page display (nid:26 does not display in the mini panel) ?

I think you've got it, yes. The node can be viewed normally (example.com/node/26), and it's offered as a choice when adding content to the mini-panel. In the mini-panel preview, it's not displayed (something about previews disabled for performance reasons).

I don't get to see the actual contents of the mini block, because the segfault occurs right after adding it to a block region.

Also, mini-panels is the only panels sub-module I have installed. Thanks for taking a look!

merlinofchaos’s picture

Status: Active » Fixed

I can't speak for the segfaults, but the deleted/missing (and unable to view) is now fixed in CVS. It may have fixed teh segfaults too).

drjonez’s picture

So is there a fix for this?

To clarify adding mini panel in a panel is displaying "deleted/missing mini panel"

Pardon my ignorance but where is the fix? I'm still having a problem in Panels 6.x-2.0-alpha2

drjonez’s picture

okay I installed the dev and all is good. Thanks everyone :)

Status: Fixed » Closed (fixed)

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

mike15’s picture

merlinofchaos, I am running into Segmentation fault on the web server causing the whole site to crash. Basically, as have been described already by @grendzy here http://drupal.org/comment/reply/323148/1083541#comment-1073098, the same exact steps would cause the site to go down upon adding Panels_mini block to Blocks content.

I am able to replicate this on the following version:

Drupal 6.10
Panels 6.x-3.0-alpha4 with the patch from here: http://drupal.org/node/422404#comment-1444292

Hope this helps to get to the bottom of the issue.

I ended up fixing access to the site directly on the database level.

UPDATE `databasedr6`.`system` SET `status` = '0' WHERE `system`.`filename` = 'modules/panels/panels_mini/panels_mini.module' LIMIT 1 ;