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
Posts: 23
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
Posts: 4
Thanks - that fixed it (my.ini rather than my.cnf in Windows).
______________
doctor doctor
Posts: 1
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)
Posts: 23
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
Posts: 12
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!