Hi,

I have been desperatley trying to change my default theme to Kubrick (it is currently pushbutton), but do not seem to be able to do so.

I can see all of the themes in administrator->themes and can enable them, but the default button just does not seem to work. I hit save, the page refreshes and the theme is set back to pushbutton.

I can set the individual user themes to Kubrick, through the user administration, and this works. But when a vistor visits the site, it reverts to pushbutton.

I have tried hacking the database so that user 0 (vistors) has a theme of Kubrick, and this too seems to work (although I am sure there must be a cleaner way of doing this).... I then get kubrick for all users unless I purposley then try to login with invalid details, at which point the theme will again revert to pushbutton.

Help .... what am I doing wrong ???

dmc

Comments

jmarki’s picture

Can this be a cache problem? I had a user who had this problem. After I changed the theme of the site, some of the pages were displayed with the previous theme, some with the new. After he refreshes his browser cache, the problem was solved.

Maybe you can try clearing the Drupal cache too.

Jmarki

Dublin Drupaller’s picture

I had the same problem before...try this:

  1. go to MY ACCOUNT
  2. Click on EDIT
  3. scroll down and see if there is a theme selected for your account

it was a minor glitch in earlier releases of 4.7 (I notice it's fixed now) that when you CREATED THE FIRST account and changed the password, for example, it automatically locked the default theme as the theme for your account. So when you went to ADMINISTER -> THEMES to change the site theme..it was still picking up the selected theme on your account.

From your post, it sounds like the same problem I had..

Hope that makes sense..

Dub

Currently in Switzerland working as an Application Developer with UBS Investment Bank...using Drupal 7 and lots of swiss chocolate

dmc’s picture

Hi
I have tried flushing my cache ... but no joy ... :(

When I take a look at My account, edit there is a theme selected for the account ... I am sure that it used to be push button but is now kubrick.

So, when I login I get the Kubrick theme and when I logout it reverts back to pushbutton.

So what do you recommend me doing to enable it to pick up the kubrick or any other theme ... should I perhaps just upgrade to 4.7 ... or is there a trick to get it to pick up my new default theme.

Many Thanks for your help

DMC

Dublin Drupaller’s picture

Hi DMC,

Sounds like a strange error that.

which version of Drupal are you using?

Have you checked big reports for that version?

Dub

Currently in Switzerland working as an Application Developer with UBS Investment Bank...using Drupal 7 and lots of swiss chocolate

dmc’s picture

Hi Dub

Thanks for the response...I am using 4.6.5... had a trawl through the bugs ... could not see anything.

I have drupal installed on two servers... and both seem to suffer from the same problem :(

As I say, if I hack user 0 theme (visitor) mysql entry to kubrick... then this almost sorts it out (although default theme still shows as pushbutton in administrator->theme)... that is until I add an invalid user name and password, at which point up pops pushbutton again

Thanks

dmc

Dublin Drupaller’s picture

this is a long shot in the dark, but try downloading a fresh version of the 4.6 PHPTEMPLATE engine and installing it.

(the theory is you might have a mismatched version by some reason)

Dub

Currently in Switzerland working as an Application Developer with UBS Investment Bank...using Drupal 7 and lots of swiss chocolate

dmc’s picture

Hi Dub

Thanks for your help on this .. was just looking at upgrading to 4.7 beta ..and was comparing the 4.7.0beta settings.php with my current 4.6.5 versions ... and stumbled across the $conf variable overide which I had un-commented out. This was overriding the theme to pushbutton.

Upon commenting this back out as in the original installation .. the administrator->theme default now seems to work... and as far as I can see it retains the correct theme for all of the scenarios :)

Thanks again

dmc