Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Sep 2011 at 11:06 UTC
Updated:
14 Feb 2012 at 18:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
merlinofchaos commentedThis usually indicates that somehow something is failing with the CSS.
Are you using caching of any kind?
Comment #2
honza pobořil commentedNo, I don't use caching, it's development site. In attachment is saved page with all styles.
Comment #3
honza pobořil commentedOn the same site I am using more panel pages, other works correctly. Layout is broken only on page with layout builded by layout designer.
Comment #4
thlor commented#1279012: Layout seems fine in designer, but floating divs don't work on front end. CSS problem?
It seems I have the same problem.
Comment #5
honza pobořil commentedIn the sites/all/modules/panels/plugins/layouts/flexible/flexible.css is not any relevant rules. There could be the problem.
Comment #6
merlinofchaos commentedNo, flexible.css is a generic css file.
The specifics are placed in an MD5 hash-named file (similar to what you get if you aggregate CSS in core) and placed in ctools/css in your files directory.
Perhaps there's something misconfigured in your files directory that's preventing the file from being written. That would be a good place to look first.
Comment #7
merlinofchaos commentedI assure you that on my test systems and on my production systems, flexible IS working and the custom CSS is getting written, so there is something either misconfigured or interfering on your system.
Comment #8
thlor commentedI have the same problem. I don't know if this md5 hash named css file is created or not, but it's not even called/included in the html's head! Neither is in Bobík's case, if I'm not mistaking observing the html he posted a few posts ago.
Comment #9
honza pobořil commentedAfter some debugging I found where is the problem. Generated css code has not been seved correctly because copy() in the file_unmanaged_copy() on line 857 in includes/file.inc failed.
Function copy() failed with error "Unable to access temporary://test" when I called it like this: copy('temporary://test', 'temporary://test-new');
but it worked correctlly when I called it like this: copy('/.../test', 'temporary://test-new');
Btw file_exists('temporary://test'); returned TRUE.
What to do now?
Comment #10
merlinofchaos commentedIs your Drupal temporary directory properly configured?
Check admin/config/media/file-system -- that is where the temp directory is configured.
Comment #11
honza pobořil commentedYes, it is configured properly. Temporary files had been saved correctly but it wasn't moved to the public folder as I described at the #9 post.
Comment #12
merlinofchaos commentedThis is strange. I don't know how or why that copy could be failing. :(
Comment #13
merlinofchaos commentedNote that this is a CTools issue, it seems. Switching queues.
Comment #14
albert78 commentedIt's probably caused by the PHP safe mode - I just had similar problem - copy failed when using temporary:// worked when full path was given. Turning safe mode off solved it.
Comment #15
honza pobořil commentedYes it has been caused by the safe mode. Thank you.