Unable to upgrade the Thumbnail Manager module

Persuader

Joined: 2005-04-28
Posts: 2
Posted: Thu, 2005-04-28 07:26

I've got a problem with the update from G2 Beta1 to the new version.
On step4 i get this error:
"Unable to upgrade the Thumbnail Manager module"
(with a big debug-output)

and when I try to access to my gallery:

An error has occurred while interacting with the database.

 Error (ERROR_STORAGE_FAILURE) :

    * in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 410 (gallerystatus::error)
    * in modules/core/classes/GalleryStorage.class at line 113 (mysqldatabasestorage::loadentities)
    * in modules/core/classes/helpers/GalleryEntityHelper_simple.class at line 82 (gallerystorage::loadentities)
    * in modules/core/classes/GalleryCoreApi.class at line 2092 (galleryentityhelper_simple::loadentitiesbyid)
    * in modules/core/classes/GalleryView.class at line 305 (gallerycoreapi::loadentitiesbyid)
    * in modules/core/ShowItem.inc at line 91 (showitemview::_getitem)
    * in modules/core/classes/GalleryView.class at line 214 (showitemview::loadtemplate)
    * in main.php at line 293 (showitemview::doloadtemplate)
    * in main.php at line 79
    * in main.php at line 70

I need help :)

----

Gallery version: G2 Beta 2
Webserver (with version): Apache/2.0.49
Datatabase (with version): 3.23.56
PHP version (eg 4.2.1): 4.3.6
Operating system: Debian Linux (kernel 2.6.11)
Web browser/version: MozillaFirefox 1.03.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2005-04-28 15:09

turn on buffered debug output in config.php and try again; find the database error near the bottom of the debug output and post that here.
in README.html you can find direct links to login and site admin.. try using those to see if you can get to site admin / modules and try upgrading thumbnail module again.. post the details of that error too.

 
Persuader

Joined: 2005-04-28
Posts: 2
Posted: Thu, 2005-04-28 18:25

When I try to access to the site admin via "main.php?g2_view=core:SiteAdmin" i get this error-message:
Security Violation
The action you attempted is not permitted.

Error (ERROR_PERMISSION_DENIED) :

    * in modules/core/classes/helpers/GalleryUserHelper_medium.class at line 209 (gallerystatus::error)
    * in modules/core/classes/GalleryCoreApi.class at line 488 (galleryuserhelper_medium::assertsiteadministrator)
    * in modules/core/SiteAdmin.inc at line 46 (gallerycoreapi::assertuserissiteadministrator)
    * in modules/core/classes/GalleryView.class at line 214 (siteadminview::loadtemplate)
    * in main.php at line 293 (siteadminview::doloadtemplate)
    * in main.php at line 79
    * in main.php at line 70
 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Thu, 2005-04-28 21:48

you can't access site admin unless you're logged in as an administrator..