2.3 install failure: "Unable to install the core module Unable to activate the core module "; "Error installing Gallery Core"

doctor doctor

Joined: 2005-12-12
Posts: 4
Posted: Wed, 2008-11-26 05:42

Attempting clean install of 2.3 on XP Pro, IIS5. Zipped log attached.

Stack trace:
Error (ERROR_STORAGE_FAILURE) : Error trying to run query: CREATE TABLE g2_Schema( g_name varchar(128) NOT NULL, g_major int(11) NOT NULL, g_minor int(11) NOT NULL, g_createSql text, g_pluginId varchar(32), g_type varchar(32), g_info text, PRIMARY KEY(g_name) ) ENGINE=InnoDB /*!40100 DEFAULT CHARACTER SET utf8 */
in modules\core\classes\GalleryStorage\GalleryStorageExtras.class at line 1707 (GalleryCoreApi::error)
in modules\core\classes\GalleryStorage\GalleryStorageExtras.class at line 1258 (GalleryStorageExtras::_executeSql)
in modules\core\classes\GalleryStorage.class at line 768 (GalleryStorageExtras::configureStore)
in modules\core\classes\GalleryModule.class at line 156 (GalleryStorage::configureStore)
in install\steps\InstallCoreModuleStep.class at line 138 (GalleryModule::installOrUpgrade)
in install\index.php at line 164 (InstallCoreModuleStep::processRequest)

Error (ERROR_STORAGE_FAILURE) : Error reading schema table
in modules\core\classes\GalleryStorage\GalleryStorageExtras.class at line 1668 (GalleryCoreApi::error)
in modules\core\classes\GalleryStorage\GalleryStorageExtras.class at line 1475 (GalleryStorageExtras::_loadTableVersions)
in modules\core\classes\GalleryStorage.class at line 1474 (GalleryStorageExtras::_updateTableInfo)
in modules\core\classes\GalleryModule.class at line 405 (GalleryStorage::updateTableInfo)
in install\steps\InstallCoreModuleStep.class at line 153 (GalleryModule::activate)
in install\index.php at line 164 (InstallCoreModuleStep::processRequest)

______________
doctor doctor

AttachmentSize
install_e303c261f6.zip2.12 KB
 
ZubaZ

Joined: 2008-03-18
Posts: 23
Posted: Fri, 2008-11-28 08:33

Hello,
I was looking over your installation log, it seems that you don't have on your mysql, InnoDB activated.
Comment skip-innodb in your my.cnf(put # in front of it: from skip-innodb to #skip-innodb) and restart your mysql server.

Please activate it, and try again. If it fails, get back here.

------------
mediashow.ro

 
doctor doctor

Joined: 2005-12-12
Posts: 4
Posted: Sat, 2008-11-29 05:11

Thanks - that fixed it (my.ini rather than my.cnf in Windows).
______________
doctor doctor

 
jululu

Joined: 2008-12-07
Posts: 1
Posted: Sun, 2008-12-07 23:30

Hello, I have a similar failed installation at core upgrade. Could ZubaZ take a look at my error log. Thanks in advance.

Stack Trace:
Error (ERROR_STORAGE_FAILURE)

* in modules/core/classes/GalleryStorage.class at line 494 (GalleryCoreApi::error)
* in modules/core/classes/Gallery.class at line 202 (GalleryStorage::search)
* in modules/core/CoreModuleExtras.inc at line 633 (Gallery::search)
* in modules/core/module.inc at line 486 (CoreModuleExtras::upgrade)
* in modules/core/classes/GalleryModule.class at line 175 (CoreModule::upgrade)
* in upgrade/steps/UpgradeCoreModuleStep.class at line 85 (GalleryModule::installOrUpgrade)
* in upgrade/index.php at line 186 (UpgradeCoreModuleStep::processRequest)

 
ZubaZ

Joined: 2008-03-18
Posts: 23
Posted: Tue, 2008-12-16 10:18

Hello, sorry for delay.

You have missing or corrupted table in mysql database. All started from here:
mysqli error: [1146: Table 'huz_gallery2.g2_PermissionMap' doesn't exist]

I think you have too old version (2.0-alpha-3) to be able to upgrade directly to the latest one.
I was googleing a little and I have found some links. Please take a look:

http://gallery.menalto.com/node/29249
http://gallery.menalto.com/node/32646

I am sorry, I really don't know if I can help you more on this :/

Cheers
------------
mediashow.ro

 
Bruce3

Joined: 2009-06-17
Posts: 12
Posted: Thu, 2009-06-18 23:41

Hi, yes, same as the others above! I had originally run a successful install and had to reinstall. So that's when this started. I have gone in and removed the tables in the MySql db, downloaded a fresh copy of Gallery2, but the installer routine still contains values from the previous install! I have no idea where it is picking that up from! Anyway, log attached!