No themes available after upgrade! Help!

No themes available after upgrade! Help!

by Syamsul Anwar -
Number of replies: 14
My Moodle installation has been upgraded from 1.6 to 1.8.3 and now when I select Theme Selector, I get no themes at all sad (See screenshot attached).

Could anyone advise what I need to do to rectify this? Thanks ina dvance
Attachment screenshot_01.jpg
Average of ratings: -
In reply to Syamsul Anwar

Re: No themes available after upgrade! Help!

by Mauno Korpelainen -

I have never seen this happen but some thoughts anyway:

- check that you have files index.php and and preview.php in folder theme
- check that standard theme is from moodle 1.8.3 package
- try to copy all files to theme folder again
- check permissions of theme folder

If your custom theme does not work in moodle 1.8 you could try to set variables allowuserthemes and allowcoursethemes to 0 and variable theme to standard in table mdl_config (with phpmyadmin or sql commands). Also removing/renaming your custom theme folder may help (you should get standard theme if custom theme is missing)...

In reply to Mauno Korpelainen

Re: No themes available after upgrade! Help!

by Sarah Quantick -

I have the same problem with a  test site I have just upgraded to Moodle 1.9

Sarah

In reply to Sarah Quantick

Re: No themes available after upgrade! Help!

by Mauno Korpelainen -

Try to turning on debugging (admin - debugging - all ), press link Notifications or go to http://yoursite/admin/ and back to theme selector...do you get any error messages?

Did you change any paths (config.php) during upgrade process? What browser did you use? Can you give some web address to check what might be wrong?

In reply to Mauno Korpelainen

This forum post has been removed

The content of this forum post has been removed and can no longer be accessed.
In reply to Deleted user

Re: No themes available after upgrade! Help!

by Mauno Korpelainen -

This looks like a new bug in admin block that Petr has changed recently...

In reply to Deleted user

Re: No themes available after upgrade! Help!

by Mauno Korpelainen -

Dietmar,

http://tracker.moodle.org/browse/MDL-12713 (fix may take some days/weeks because most developers have some secret projects with Santa Claus wink)

In reply to Mauno Korpelainen

This forum post has been removed

The content of this forum post has been removed and can no longer be accessed.
In reply to Mauno Korpelainen

Re: No themes available after upgrade! Help!

by Sarah Quantick -
 

My problem isn't the same as Dietmar's but is the same  as Syamsul's. Looking at Syamsul's picture I am wondering is he was using the clouds theme when he upgraded as so was I could this be a possible cause.

I have turned on debugging but don't get any error messages when I go to notifications

I am using I.E7 but have also checked on firefox.

In my PHP log I get the following error

PHP Notice trying to  get property of non-object in /var/www/teacher/lib/weblib.php on line 2852

Sarah

In reply to Sarah Quantick

Re: No themes available after upgrade! Help!

by Mauno Korpelainen -

Trying to get property of non-object...something is missing (does not exist) or in a wrong place or the theme you have has some conflict with standard theme or some non standard activities (javascript)...I'll be back after christmas.

In reply to Mauno Korpelainen

Re: No themes available after upgrade! Help!

by Sarah Quantick -

I have solved the problem but I am not quite sure why what I did solved the problem.

I was having an issue with eaccelerator which was throwing up errors, when I went into my mdl_config table, eaccelerator field and removed eaccelerator  and set the rcache field to 0 and all the errors  I have had disappeared including this one

Sarah

In reply to Sarah Quantick

Re: No themes available after upgrade! Help!

by Mauno Korpelainen -

Sarah, probably you just had all pages in cache and old files caused your problem...

In reply to Mauno Korpelainen

Re: No themes available after upgrade! Help!

by Syamsul Anwar -
Hi all. I upgraded directly to Moodle 1.8.3.

The config.php was untouched and I was (and am) using the Clouds 3.0 theme

The site is here: http://www.btvss-online.net/elearning

I appreciate all the advice. Thank you!
In reply to Syamsul Anwar

Re: No themes available after upgrade! Help!

by Mauno Korpelainen -

Syamsul, I tried to login as a guest and it looks like your site has not been upgraded properly. I got error messages from module Questionnaire - have you installed the latest version of that module?

If latest version of Questionnaire is in correct place login as an admin and press link Notifications or go to http://www.btvss-online.net/elearning/admin ...

You may have more problems with upgrading but let us know if this does not help.

In reply to Syamsul Anwar

Re: No themes available after upgrade! Help!

by Matt Gibson -
Generally (although this may not be the cause of the problem) its a good idea to upgrade through all of the releases one by one i.e. 1.6 > 1.7 > 1.8 just in case. Did you do this, or go straight from 1.6 to 1.8?