I've installed Gallery2 as module on a system running PostNuke 0.7.2.3. After setup I get the error mentioned in the subject . Can you help me please? This is the debug page:
(mysql): SELECT g2_ModuleParameterMap.g_parameterName, g2_ModuleParameterMap.g_parameterValue FROM g2_ModuleParameterMap WHERE g2_ModuleParameterMap.g_moduleName = 'core'
--------------------------------------------------------------------------------
1146: Table 'test.g2_ModuleParameterMap' doesn't exist
mysql error: [1146: Table 'test.g2_ModuleParameterMap' doesn't exist] in EXECUTE(" SELECT g2_ModuleParameterMap.g_parameterName, g2_ModuleParameterMap.g_parameterValue FROM g2_ModuleParameterMap WHERE g2_ModuleParameterMap.g_moduleName = 'core' ") Can't load core version -- assuming that the core needs installation opendir(/var/www/html/virtual/tvglobal.org/pn/modules/gallery2/modules/core/classes/GalleryStorage/../../../../modules/core/classes/GalleryStorage/DatabaseStorage/schema/platform/mysql)
--------------------------------------------------------------------------------
(mysql): SHOW TABLES
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
(mysql): SELECT g_name, g_major, g_minor FROM g2_Schema
--------------------------------------------------------------------------------
Table GalleryGroup: missing entry in Schema table Table GalleryItem: missing entry in Schema table Table GalleryUser: missing entry in Schema table
--------------------------------------------------------------------------------
(mysql): SELECT g2_ModuleParameterMap.g_parameterName, g2_ModuleParameterMap.g_parameterValue FROM g2_ModuleParameterMap WHERE g2_ModuleParameterMap.g_moduleName = 'core'
--------------------------------------------------------------------------------
1146: Table 'test.g2_ModuleParameterMap' doesn't exist
mysql error: [1146: Table 'test.g2_ModuleParameterMap' doesn't exist] in EXECUTE(" SELECT g2_ModuleParameterMap.g_parameterName, g2_ModuleParameterMap.g_parameterValue FROM g2_ModuleParameterMap WHERE g2_ModuleParameterMap.g_moduleName = 'core' ") Error (ERROR_STORAGE_FAILURE)
in modules/core/classes/GalleryStorage/DatabaseStorage.class (gallerystatus::error) at line 1072
in modules/core/classes/Gallery.class (mysqldatabasestorage::search) at line 357
in modules/core/classes/GalleryModuleParameterMap.class (gallery::search) at line 145
in modules/core/classes/Gallery.class (gallerymoduleparametermap::fetchallparameters) at line 1098
in modules/core/classes/GalleryModule.class (gallery::setmoduleparameter) at line 319
in modules/core/module.inc (coremodule::setmoduleparameter) at line 291
in init.php (coremodule::install) at line 160
in main.php at line 97
in main.php at line 24
:oops:
Posts: 7994
Ok for starters, G2 won't work as a PN mod, yet. It'll work standalone, but we haven't done the PN integration yet.
Now on to your problem. It's very strange. It looks like your schema table got created, but is missing all the entries it's supposed to have in it.
Can you drop any gallery related tables out of your database (they start with g2_, or whatever you set your table prefix to in your config.php), delete the contents of your gallerydata directory and try installing it again? Do you get the same problem? If so, would it be possible for me to ssh to your box and witness this firsthand? If so, private message me. Thank.