G'Day all,

This is a strange one, but I've not spent much time with D7 and theme issues.

What I'm observing is that Marinelli *disables itself* repeatedly.

I have a fresh d7.4 install (via aegir) and no other contrib themes, plus only 4-5 contrib modules (Views, Panels, CTools, etc)

I go and do a bunch of content development (publishing new pages), check the site in a browser on a different machine and there is no theme. Going to the admin interface: Marinelli is not selected (nor is anything else). I set it as default and save. All back to normal.

A day later I check the site and it's back to no theme. Repeat cycle.

This seems to have happened other the course of the week whether I am working on the site or not...as if something cron-based is unsetting a variable or something?

Any clues?

How can I get Marinelli to stay on the job??

Comments

boabjohn’s picture

So: no one else is having a ssimilar experience? Here's another clue: each time I re-apply (enable and set to default), we get this in watchdog:

Warning: uasort() [function.uasort]: The argument should be an array in system_themes_page() (line 237 of /var/aegir/platforms/d7smallsite-222/modules/system/system.admin.inc).

There is an excruciatingly long thread or three on this issue, but it ends up being far deeper than I can follow:
http://drupal.org/node/305653

And for basic reference:
http://api.drupal.org/api/function/_system_rebuild_theme_data/7

The reason I'm still parking this in Marinelli is that the Bartik theme does not seem to exhibit this behaviour, so I wonder if it's something assocciated with the way Marinelli is hooked into drupal.

This is a very debilitating bug: any advice much appreciated.

george.plescan’s picture

Priority: Normal » Major

I also have this problem.

I have some node teasers in a Views and when I click on read more I get a basic render of the node. No CSS. For other nodes it works ok.

I hope that this is not an unique bug.

Thanks for any help.

mattyoung’s picture

I also have this problem. #1559678: Periodically lose default theme setting

The site is at http://zzglobal.net and this just happened again now. The page show these error messages:

    Notice: Undefined index: marinelli in drupal_theme_initialize() (line 100 of /var/www/html/drupal-7.14/includes/theme.inc).
    Notice: Trying to get property of non-object in _drupal_theme_initialize() (line 145 of /var/www/html/drupal-7.14/includes/theme.inc).
    Notice: Trying to get property of non-object in _theme_load_registry() (line 334 of /var/www/html/drupal-7.14/includes/theme.inc).
    Notice: Undefined index: marinelli in theme_get_setting() (line 1332 of /var/www/html/drupal-7.14/includes/theme.inc).

I look in the Recent Log messages and see no messages that seems to relate to this. One thing might be of interest is cron just ran before this happened.

laurelg’s picture

Category: support » bug

I am (and have been) having the exact same issue as boabjohn with a Marinelli-based custom theme. Has anyone figured out a solution? It is getting very old (having to re-enable the default and mobile theme all the time).

boabjohn’s picture

Sorry: no help here. I just stopped using the theme and have not had the problem in the themes we use now.

fpatrick5’s picture

if this can help:
I had a similar problem on a multicite drupal. The problem was that the "default" website ("default" folder) had the same paramettres, mysql connection, the site that was the problem. When a cron was executed on the "default" site where the theme was not only installed, it generates a error that disabled the theme.