Closed (outdated)
Project:
Chaos Tool Suite (ctools)
Version:
6.x-1.x-dev
Component:
Miscellaneous
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
9 Nov 2011 at 23:30 UTC
Updated:
28 Jan 2021 at 07:05 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Letharion commentedI 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.
Comment #2
Anonymous (not verified) commentedsorry I'm not very expert, how/where do I put dpm/drupal_set_message?
Comment #3
Letharion commentedThe 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. :)
Comment #4
Anonymous (not verified) commentedthis 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
Comment #5
Letharion commentedOh, 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.
Comment #6
Anonymous (not verified) commentedok 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?
Comment #7
Anonymous (not verified) commented.
Comment #8
Anonymous (not verified) commentedI 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
php 5.2.17
Comment #9
Anonymous (not verified) commentedI 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?
Comment #10
merlinofchaos commentedInteresting. 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.
Comment #11
Anonymous (not verified) commentedI 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
Comment #12
Letharion commentedThe 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.
Comment #13
merlinofchaos commentedLetharion: 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.
Comment #14
merlinofchaos commentedOh and this would clearly be a CTools issue, not Panels.
Comment #15
joelpittetTriaging the 6.x issues, it's no longer supported.