I'm actually using Panels 6.x-3.x-dev (2011-set-21) and Chaos tool suite (ctools) 6.x-1.x-dev (2011-ott-01). The Node Template work great on php 5.2 but doesn't render correctly on 5.3 (see images). I got this issue both using Flexible or 2/3 columns layout. Unfortunately I can't revert to old php version. Anybody's help is really appreciated. I also attache the panel export.

CommentFileSizeAuthor
#6 panel_backend.png244.2 KBAnonymous (not verified)
panels_php5.3-php5.2.png93.71 KBAnonymous (not verified)
node_panel.txt.zip1.67 KBAnonymous (not verified)

Comments

Letharion’s picture

Status: Active » Postponed (maintainer needs more info)

I think a first step in debugging this could be to insert a dpm/drupal_set_message into the panels-pane.tpl.php. The purpose would be to see if the missing panel panes are being called and fail to render, or if they are never called in the first place.

Anonymous’s picture

sorry I'm not very expert, how/where do I put dpm/drupal_set_message?

Letharion’s picture

The template would by default be placed here: sites/all/modules/panels/templates/panels-pane.tpl.php
Though you could have an overriding copy in your theme.
Add at second line of the file drupal_set_message($pane->type);so we can see how many times these panes are rendered.

Also please remember to reset the state to active when you've answered, or you risk having your issue over looked. :)

Anonymous’s picture

Status: Postponed (maintainer needs more info) » Active

this is the output for php 5.2.17 and 5.3.5:
node_body
content_field
node_comment_form
node_terms
node_author
node_created
node_updated
block

thanks a lot for helping

Letharion’s picture

Status: Active » Postponed (maintainer needs more info)

Oh, wait, I didn't see that all the data is still there. I thought that the problem was that some of the panes didn't show up at all, but now I see that they have simply moved.
Do you have any custom styling on those blocks? When the content looks right, why do they look that way?

While it's quite possible Panels is doing something wrong, this seems to be a theming issue, and you may be better of asking somewhere where there are theming experts.

Anonymous’s picture

StatusFileSize
new244.2 KB

ok Letharion, I'll try to answer where possible for my understanding.

>Do you have any custom styling on those blocks?
I tryed to use Custom style, Rounded corners or even no-style. The problem is that the content is not showing in the assigned region. Plus, in the admin backend there is the same display issue between PHP 5.2 and 5.3. Here is a screenshot.

>When the content looks right, why do they look that way?
Sorry, what do you mean?

Anonymous’s picture

.

Anonymous’s picture

Status: Postponed (maintainer needs more info) » Active

I firebugged both the good and bad page. I found different result about /sites/default/files/ctools/css/4d599f534fa9f8a649f8f20be7dc1ff4.css file. I hope this help. Any suggestion?

php 5.3.5

There are no rules.

php 5.2.17

:first-child + html .rounded-shadow-background, * html .rounded-shadow-background {
    margin: 0 -10px 0 0 !important;
    padding: 10px 0 5px !important;
}
.rounded-shadow-top-edge, .rounded-shadow-bottom-edge, .rounded-shadow-left-edge, .rounded-shadow-right-edge, .rounded-shadow-wrap-corner {
    position: relative;
}
.pane-rounded-shadow-temporary-4d58888558eafaeb3c2d11dcf65fdf45 {
    color: #000000;
    margin-bottom: 30px;
    padding-top: 10px;
}
.pane-rounded-shadow-temporary-4d58888558eafaeb3c2d11dcf65fdf45 h2 {
    color: #000000;
}
.pane-rounded-shadow-temporary-4d58888558eafaeb3c2d11dcf65fdf45 .rounded-shadow-background {
    background: url("http://snowpedia.com/system/files/ctools/style/_temporary/4d58888558eafaeb3c2d11dcf65fdf45/rounded-shadow-background.png") repeat scroll 0 0 #D4EBF9;
    margin: 10px;
}
.pane-rounded-shadow-temporary-4d58888558eafaeb3c2d11dcf65fdf45 .rounded-shadow-wrap-corner {
    margin: -10px;
}
.pane-rounded-shadow-temporary-4d58888558eafaeb3c2d11dcf65fdf45 .rounded-shadow-top-edge {
    background: url("http://snowpedia.com/system/files/ctools/style/_temporary/4d58888558eafaeb3c2d11dcf65fdf45/rounded-shadow-top-edge.png") repeat-x scroll 0 top transparent;
    font-size: 1px;
    top: -10px;
}
.pane-rounded-shadow-temporary-4d58888558eafaeb3c2d11dcf65fdf45 .rounded-shadow-bottom-edge {
    background: url("http://snowpedia.com/system/files/ctools/style/_temporary/4d58888558eafaeb3c2d11dcf65fdf45/rounded-shadow-bottom-edge.png") repeat-x scroll 0 bottom transparent;
    bottom: -10px;
    font-size: 1px;
}
.pane-rounded-shadow-temporary-4d58888558eafaeb3c2d11dcf65fdf45 .rounded-shadow-left-edge {
    background: url("http://snowpedia.com/system/files/ctools/style/_temporary/4d58888558eafaeb3c2d11dcf65fdf45/rounded-shadow-left-edge.png") repeat-y scroll 0 0 transparent;
}
.pane-rounded-shadow-temporary-4d58888558eafaeb3c2d11dcf65fdf45 .rounded-shadow-right-edge {
    background: url("http://snowpedia.com/system/files/ctools/style/_temporary/4d58888558eafaeb3c2d11dcf65fdf45/rounded-shadow-right-edge.png") repeat-y scroll right 0 transparent;
}
.pane-rounded-shadow-temporary-4d58888558eafaeb3c2d11dcf65fdf45 .rounded-shadow-wrap-corner .rounded-shadow-top-edge, .pane-rounded-shadow-temporary-4d58888558eafaeb3c2d11dcf65fdf45 .rounded-shadow-wrap-corner .rounded-shadow-bottom-edge {
    height: 19px;
    margin: -10px 19px;
}
.pane-rounded-shadow-temporary-4d58888558eafaeb3c2d11dcf65fdf45 .rounded-shadow-wrap-corner .rounded-shadow-left, .pane-rounded-shadow-temporary-4d58888558eafaeb3c2d11dcf65fdf45 .rounded-shadow-wrap-corner .rounded-shadow-right {
    height: 19px;
    margin: 0 -19px;
    position: absolute;
    top: 0;
    width: 19px;
}
.pane-rounded-shadow-temporary-4d58888558eafaeb3c2d11dcf65fdf45 .rounded-shadow-wrap-corner .rounded-shadow-left {
    background-image: url("http://snowpedia.com/system/files/ctools/style/_temporary/4d58888558eafaeb3c2d11dcf65fdf45/rounded-shadow-top-left-corner.png");
}
.pane-rounded-shadow-temporary-4d58888558eafaeb3c2d11dcf65fdf45 .rounded-shadow-wrap-corner .rounded-shadow-right {
    background-image: url("http://snowpedia.com/system/files/ctools/style/_temporary/4d58888558eafaeb3c2d11dcf65fdf45/rounded-shadow-top-right-corner.png");
    right: 0;
}
.pane-rounded-shadow-temporary-4d58888558eafaeb3c2d11dcf65fdf45 .rounded-shadow-wrap-corner .rounded-shadow-bottom-edge .rounded-shadow-left {
    background-image: url("http://snowpedia.com/system/files/ctools/style/_temporary/4d58888558eafaeb3c2d11dcf65fdf45/rounded-shadow-bottom-left-corner.png");
}
.pane-rounded-shadow-temporary-4d58888558eafaeb3c2d11dcf65fdf45 .rounded-shadow-wrap-corner .rounded-shadow-bottom-edge .rounded-shadow-right {
    background-image: url("http://snowpedia.com/system/files/ctools/style/_temporary/4d58888558eafaeb3c2d11dcf65fdf45/rounded-shadow-bottom-right-corner.png");
    right: 0;
}
.pane-rounded-shadow-temporary-4d58888558eafaeb3c2d11dcf65fdf45 .rounded-shadow-wrap-corner .rounded-shadow-right-edge {
    padding: 3px 19px;
}
.pane-rounded-shadow-temporary-4d58888558eafaeb3c2d11dcf65fdf45 .panel-pane {
    position: relative;
    top: -6px;
}
Anonymous’s picture

I changed /admin/settings/file-system from Private to Public. The layout issue has gone away, unfortunately I can't run my site in the Public mode. Any workaround?

merlinofchaos’s picture

Interesting. So the code that makes the css cache in the filesystem seems to not work on PHP 5.3 -- that gives us something we might be able to try to debug.

Though it's odd. I'm running PHP 5.3 on my dev servers and I have not seen this happen.

Anonymous’s picture

I know it's out of this topic, but could you please give me any workaround with .htaccess and symlink? I'm not really expert, so I'd need the full examples. Thanks

Letharion’s picture

The problem is that I don't think any one yet has enough understanding of what's going wrong, to figure out what a useful workaround would be.

merlinofchaos’s picture

Letharion: What's going on is that ctools_css_add_css() (I think) has special code to deal with private file systems and in PHP 5.3 that's failing.

This should be easy to replicate: Install D6, enable private file systems, create a panel of any type (panelizer/panel node is fasted) and use a flexible layout.

With the private file system, the reference to the cached CSS file is either getting lost or misdirected. For some reason this works in PHP 5.2 and not in PHP 5.3 -- maybe there's a warning that will tell us more directly what's going on.

merlinofchaos’s picture

Project: Panels » Chaos Tool Suite (ctools)
Version: 6.x-3.x-dev » 6.x-1.x-dev
Component: Panel nodes » Miscellaneous

Oh and this would clearly be a CTools issue, not Panels.

joelpittet’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

Triaging the 6.x issues, it's no longer supported.