Hello, I have a problem that I hope is quick for an experienced Drupaller to fix, so happy to pay a bounty of $50 for a fast solution, to the first person who sends me the solution to the problem. If I have got it wrong and it is more complex then please let me know.

I guess it is related to having customised the maintenance page: site has been offline for a couple of weeks showing a holding page that is altered maintenance page, and now I have restored the original maintenace page, but when I try to put it back the site back online it loses all css because the head tags are not being called. This only happens in the online mode - in the offline mode the theme loads perfectly. Same problem applies whether user is logged in or not. I am running drupal 6 with an OpenPublish installation. The problem only happens with the open publish theme, garland is fine, and i deleted and restored the original openpublish theme.

I posted the full problem with the code looking for help here: http://drupal.org/node/1013310

If you need to see the site message me and I will send you the URL. Hopefully someone can help me, I am in a panic as site needs to be live on Wednesday!

Thank you!

Comments

Drave Robber’s picture

Disable CSS optimization (Administration -> Configuration -> Performance); clear cache.

If this helps, but you want it reenabled, see this.

clemnet’s picture

Hi Drave, thanks for help, but just tried that and no joy. Any other ideas?

Drave Robber’s picture

This (and above it) contains a discussion of a similar problem (and some black jokes to lift your spirits).

clemnet’s picture

but not that specific post, spirits crashing..

Drave Robber’s picture

Above there it was suggested that "The socialists are censoring your content by breaking your theme purposefully."
I routinely attribute to conspiracy issues like bad weather and missing garbage pickup truck. It helps getting over it :)

But that specific post says "I deleted the whole theme directory and reloaded it. Now it works again."

edit: ah, I see you've already done that. :(

dannypfeiffer’s picture

I'm assuming you've looked in both page.tpl.php and template.php already for any anomalies, and that there aren't any errant hook_init functions called in any custom modules?

Danny Pfeiffer
http://RehabCreative.com

clemnet’s picture

Hi Danny, both page and template are the defaults and there are no custom modules installed.

dannypfeiffer’s picture

pm me a link to the site?

Danny Pfeiffer
http://RehabCreative.com

clemnet’s picture

done, now got to head offline for an hour or so. thanks.

dannypfeiffer’s picture

This may be a silly question, but is there any chance you inadvertently plugged in a D7 theme for a D6 site, or vice-versa? From viewing the source that's almost what it looks like.

D7 adds another level of template file that draws the 'wrapper' which includes head tags, etc, and it looks like that's what's absent from the source.

Danny Pfeiffer
http://RehabCreative.com

clemnet’s picture

I am ready to listen to all suggestions no matter how silly they sound, but it definitely is a drupal 6 theme.

Drave Robber’s picture

OK, a couple more silly suggestions:

* disable all sorts of caching and see what happens;
* try moving theme folder around (I see it's in /themes/blabla, try sites/all/themes/blabla or sites/default/themes/blabla);

These are wild guesses based on this issue.

* make sure cron is running regularly, run it manually if it hasn't run recently;

This is a wild guess based on this topic.

Anonymous’s picture

Hi,

Did you find a solution to this problem? I may be able to help.

Steve