Problems after the Upgrade from Alpha 2-2 to 2-4

FedeRiver

Joined: 2005-01-17
Posts: 1
Posted: Mon, 2005-01-17 02:47

Hi everybody,

Afther the upgrade from Gallery2-2 to 2-4 the main page (main.php) show the following errors:

Error (ERROR_STORAGE_FAILURE)
in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 362 (gallerystatus::error)
in modules/core/classes/GalleryStorage.class at line 113 (mysqldatabasestorage::loadentities)
in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 89 (gallerystorage::loadentities)
in modules/core/classes/GalleryCoreApi.class at line 2018 (galleryentityhelper_simple::loadentitiesbyid)
in modules/core/classes/GalleryView.class at line 325 (gallerycoreapi::loadentitiesbyid)
in modules/core/ShowItem.inc at line 44 (showitemview::_getitem)
in modules/core/classes/GalleryView.class at line 208 (showitemview::getthemename)
in main.php at line 312 (showitemview::doloadtemplate)
in main.php at line 47
in main.php at line 40

I think that the problem is with the database.. some suggestions?

Thanks a lot!

Federico,
Buenos Aires, Argentina

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Mon, 2005-01-17 03:43

upgrading from alpha-2 isn't supported, but you might be able to make it work. turn on buffered debug output in config.php and retry.. the db error in the output may help you find which table is out of date and check the *.sql file and manually make the schema change.. if this sounds like too much then you'll need to do a clean install from scratch.