album thumbnails gone after upgrade

mmolenaar

Joined: 2005-04-18
Posts: 2
Posted: Mon, 2005-04-18 21:18

After upgrade all my album thumb are gone.
I've read in this forum there should be an recreate thumbs option in the maintainance section, but all the options i've got are delete db cache, optimize db and delete template cache. ;-0

When I select the recreate thumb checkbox in a specific album, the followiing error occurs:
Fatal error: Class databaselocksystem: Cannot inherit from undefined class gallerylocksystem in c:\domains\molenaarweb.nl\wwwroot\gallery\modules\core\classes\DatabaseLockSystem.class on line 38

----

Gallery URL (optional):
Gallery version: 2 beta
Webserver (with version): iis 6
Datatabase (with version): mysql
PHP version (eg 4.2.1): 4.x
phpinfo URL (optional):
Graphics Toolkit(s): GD
Operating system: Windows
Web browser/version: Mozilla/IE6
G1 version (for migration bugs):

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Mon, 2005-04-18 21:39

for the error:
you may want to check in the installer step "systemcheck step" if there are no warnings about missing or modified files.
you may want to reupload all missing/modified files, at least
c:\domains\molenaarweb.nl\wwwroot\gallery\modules\core\classes\DatabaseLockSystem.class
and c:\domains\molenaarweb.nl\wwwroot\gallery\modules\core\classes\GalleryLockSystem.class

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2005-04-18 22:52

and rebuild thumbs in maintenance is in current cvs/nightly builds but not in beta-2.

 
virshu
virshu's picture

Joined: 2003-09-13
Posts: 314
Posted: Tue, 2005-04-19 21:16

mmolenaar, if you go to Site Admin - General, what is the locking system that you are using? If it's database (as I suspect) - is there a reason for it? If not, you may want to try to switch it back to File.

I am not suggesting that Database shouldn't work... just that File is fast, and database is more reliable in cases where File doesn't work

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Thu, 2005-04-21 05:22

Also, go back to the upgrader (browse to gallery2/upgrade) and on step 2 make sure that you don't have any missing or corrupted files.