Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: Spaceman-Spiff on March 18, 2008, 11:00:28 AM

Title: [SMF 2 Beta 3p] Can\'t change theme after upgrade
Post by: Spaceman-Spiff on March 18, 2008, 11:00:28 AM
Was using oxygen theme by bloc, successfully converted. However, when selecting new theme in Admin Panel, get this error:

An Error Has Occurred!                                     
At least one theme must be selectable.

Overwriting the template files with default or removing the oxygen folder results in a fatal error: Unable to load the 'main_above' template.

I had to change the value of theme_default and theme_guests in phpMyAdmin to fix it.
Title: Re: [SMF 2 Beta 3p] Can't change theme after upgrade
Post by: SleePy on March 18, 2008, 12:33:26 PM
So this was on the Manage and install page?
You selected this theme to be used by default?
Title: Re: [SMF 2 Beta 3p] Can't change theme after upgrade
Post by: Spaceman-Spiff on March 18, 2008, 02:08:49 PM
Selecting or changing to any theme in Admin -> Themes and Layout gives the first error message.
Title: Re: [SMF 2 Beta 3p] Can't change theme after upgrade
Post by: SleePy on March 18, 2008, 02:45:18 PM
Spaceman-Spiff,

Can you make sure on that page that "Themes that the user is able to select:" area has themes checked?
I can only get that error if I uncheck all the themes.
Title: Re: [SMF 2 Beta 3p] Can't change theme after upgrade
Post by: Spaceman-Spiff on March 18, 2008, 05:36:37 PM
Ah, so that's the cause of the problem.

The theme selection checkbox was missing after the upgrade. Perhaps because the language or something else was missing from the converted theme.

I'll try to upgrade another forum later today. If the same problem appears, I'll update this thread again.
Title: Re: [SMF 2 Beta 3p] Can't change theme after upgrade
Post by: SleePy on March 18, 2008, 08:40:42 PM
Cool, Since this doesn't seem to be a bug in SMF, I will move it over to the english support boards :)
Title: Re: [SMF 2 Beta 3p] Can't change theme after upgrade
Post by: anna.young on March 29, 2008, 09:43:50 PM
i have exactly the same error message:

An Error Has Occurred!                                     
At least one theme must be selectable.

And there is no selection box.

Quote from: Spaceman-SpiffI had to change the value of theme_default and theme_guests in phpMyAdmin to fix it.

I cannot find those values in phpMyAdmin. 

I'm looking in  `smf_themes` which is obviously the wrong place...

Please point me in the right direction

Thank you

Anna

Title: Re: [SMF 2 Beta 3p] Can't change theme after upgrade
Post by: anna.young on March 29, 2008, 10:04:58 PM
OK, I got it working. I went to `smf_members', picked myself and changed my 'id_theme' to 1, and once in default theme in Admin I was able to make all appropriate changes...

Now I'm a very happy person... :)

In my test upgrade I changed the theme to default before an upgrade and had no problems whatsoever...   :-[