No themes available after upgrade! Help!

No themes available after upgrade! Help!

Syamsul Anwar -
回帖数: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 伤心 (See screenshot attached).

Could anyone advise what I need to do to rectify this? Thanks ina dvance
附件 screenshot_01.jpg
回复Syamsul Anwar

Re: No themes available after upgrade! Help!

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)...

回复Mauno Korpelainen

Re: No themes available after upgrade! Help!

Sarah Quantick -

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

Sarah

回复Sarah Quantick

Re: No themes available after upgrade! Help!

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?

回复Mauno Korpelainen

本讨论区帖子已移除

本讨论区帖子的内容已移除,无法再访问。
回复Mauno Korpelainen

Re: No themes available after upgrade! Help!

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

回复Sarah Quantick

Re: No themes available after upgrade! Help!

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.

回复Mauno Korpelainen

Re: No themes available after upgrade! Help!

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

回复Mauno Korpelainen

Re: No themes available after upgrade! Help!

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!
回复Syamsul Anwar

Re: No themes available after upgrade! Help!

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.

回复Syamsul Anwar

Re: No themes available after upgrade! Help!

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?