Deleted my theme, how do I reset to a default theme?

mphare

Joined: 2004-12-17
Posts: 6
Posted: Wed, 2007-01-31 05:44

While upgrading 2.1.1 to 2.1.2 I deleted my custom theme.
I know.. where's the back up. I *may* have one at work, I'll check tomorrow.

Now when I try to access the gallery, I get a "Configuration Error: Missing Theme" message.

How do I reset gallery to point to some other stock theme so I can at least access the gallery again?

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2007-02-05 05:28

can't you access your site admin / theme config when you see that "Configuration Error: Missing Theme" message?

site admin -> themes: change default theme.

--------------
Enter the Gallery 2 Theme Contest today!

 
noedak
noedak's picture

Joined: 2007-03-19
Posts: 2
Posted: Mon, 2007-03-19 02:26

I have a similar problem. It occured while upgrading to G2.2, from 2.0. How can I change the default theme, if I cannot access site admin -> themes?

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 25967
Posted: Mon, 2007-03-19 03:46
 
noedak
noedak's picture

Joined: 2007-03-19
Posts: 2
Posted: Sun, 2007-04-22 22:13

Thanks, i've done that but i get the following error:

Error
Error (ERROR_PERMISSION_DENIED) :
in modules/core/classes/helpers/GalleryUserHelper_medium.class at line 169 (gallerycoreapi::error)
in modules/core/classes/GalleryCoreApi.class at line 542 (galleryuserhelper_medium::assertsiteadministrator)
in modules/core/AdminThemes.inc at line 34 (gallerycoreapi::assertuserissiteadministrator)
in main.php at line 231 (adminthemescontroller::handlerequest)
in main.php at line 94
in main.php at line 83