User Albums upgrade fails

robinbowes

Joined: 2002-09-20
Posts: 99
Posted: Wed, 2005-01-05 10:56

Hi,

I upgraded my G2 installation recently and the User Albums upgrade failed. I didn't worry too much as I don't use this feature.

However, I thought I'd post this bug report.

When I try to upgrade from the modules page (0.8.3 -> 0.8.5) I get the following error:

 Error (ERROR_STORAGE_FAILURE, ERROR_UNKNOWN)

    * in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 797 (gallerystatus::error)
    * in modules/core/classes/GalleryStorage.class at line 261 (mysqldatabasestorage::addmapentry)
    * in modules/core/classes/interfaces/GalleryPluginParameterMap.inc at line 124 (gallerystorage::addmapentry)
    * in modules/core/classes/helpers/GalleryPluginHelper_medium.class at line 385 (gallerypluginparametermap::addmapentry)
    * in modules/core/classes/helpers/GalleryPluginHelper_medium.class at line 335 (gallerypluginhelper_medium::_addparameter)
    * in modules/core/classes/GalleryCoreApi.class at line 306 (gallerypluginhelper_medium::setparameter)
    * in modules/core/classes/GalleryPlugin.class at line 210 (gallerycoreapi::setpluginparameter)
    * in modules/useralbum/module.inc at line 73 (useralbummodule::setparameter)
    * in modules/core/classes/GalleryModule.class at line 168 (useralbummodule::upgrade)
    * in modules/core/AdminModules.inc at line 85 (useralbummodule::installorupgrade)
    * in main.php at line 147 (adminmodulescontroller::handlerequest)
    * in main.php at line 46
    * in main.php at line 39

System Details:

 Gallery version  	 2.0-alpha-4+
PHP version 	4.3.10 apache2handler
Webserver 	Apache/2.0.52 (Fedora)
Database 	mysql 4.1.7-standard
Toolkits 	
Operating system 	Linux dude.robinbowes.com 2.6.9-1.724_FC3smp #1 SMP Sun Jan 2 15:56:53 EST 2005 i686
Browser 	Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0

Any ideas?

R.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2005-01-05 20:52

try again with buffered debug mode in config.php and look near the bottom of the debug output to find the actual database error that occurred..