All themes are not working.
I had a similar problem once before after activating Ubercart modules. Certain pages would not render the theme, though all the content was there. I went into performance settings and optimized CSS and all was fine. I heard this was due to too many css files being called at once. The optimize CSS setting streamlines them.
Today though I went tweak a css file and the theme broke again. I restored my edits and still no luck. So I tried other themes including zen and garland and still they all seem to be broken; none of them are rendering though all my contend is there. I've also tried various settings under performance and cleared the cache.
I should also note I'm having the same issues in various web browsers.
I'm not sure it is relevant but I this is a pre-production site online. I moved the directory path recently, but other than a few absolute links I had to change all came out OK. But I wonder if the path to my themes somehow might be an issue?
Would appreciated any suggesitons...
Comments
"Certain pages would not
"Certain pages would not render the theme, though all the content was there"
I don't understand what you mean. If the theme was not rendering, the page would be blank. You need to be more specific.
What does the HTML look like, is content and blocks there but just not showing? Try installing firefox with firebug, and poke around your DOM, and styles. HAve you checked your browsers errors?
I haven't poked around with
I haven't poked around with firebug yet but, in answer to your fist question, the pages have content only, no CSS is implementing at all. Any theme I activate doesn't change anything; the page is devoid of style. It seems all the content is there, including block content, but it flows linear down the page.
Shopping Cart Block is the culprit.
I played around more today and couldn't tell anything form the firebug. It seems though that not all the CSS is disappearing, but the themes don't' display correctly.
Anyway, I think I found the culprit: it's the shopping cart block. Whenever I activate it, in any region, the theme fails. If I disable it the themes work.
Any ideas on this?
I'm posting this on the ubercart forum as well. http://www.ubercart.org/forum/support/14927/themes_breaking
I've seen things like this
I've seen things like this happen when there is a tag mismatch. Say a
<div>is matched by a<div>instead of a</div>.I don't know ubercart well enough to give specific suggestions on this block. However I'd recommend looking at the HTML generated when the block is enabled, finding the HTML for that block, and taking a good hard look at it. You can search through the HTML for
id="block(no closing quote) to find the divs that begin blocks. Are there any components of the block that are user entered? Could you have a mismatched tag somewhere? You can also use firebug, and find the block in the DOM.thanks mtsanford. I upgraded
thanks mtsanford. I upgraded to 6.15, ran update.php. flushed all the caches. But still had the problem on all browsers. but then 10 minutes ago I once again activated the shopping cart block and everything is in order! I'm going insane! At least it's working and I'm guessing I needed to flush my browser's cache , (though I though I already had!). First thing I've done is a back-up...
I understand your suggestion though too as I had a nightmare not long ago of the WYSIWYG editor capitalizing all my code. Alas I forget what the problem turned out to be but like many of my Drupal issues, it was another mini nightmare!
"needed to flush my browser's
"needed to flush my browser's cache"
Or the Drupal cache. Many problems are caused by a stale cache which can be reset at admin/settings/performance. It's only a problem during the sites development though, when settings are changing.