Database Error An error has occurred while interacting with the database. Back to the Gallery Error Detail - Error (ERROR_STORAGE_FAILURE) : in modules/core/classes/GalleryStorage/GalleryStorageExtras.class at line 988 (GalleryCoreApi::error) in modules/core/classes/GalleryStorage.class at line 501 (GalleryStorageExtras::addMapEntry) in modules/core/classes/GalleryCoreApi.class at line 2923 (GalleryStorage::addMapEntry) in modules/core/classes/helpers/GalleryPluginHelper_medium.class at line 416 (GalleryCoreApi::addMapEntry) in modules/core/classes/helpers/GalleryPluginHelper_medium.class at line 360 (GalleryPluginHelper_medium::_addParameter) in modules/core/classes/GalleryCoreApi.class at line 416 (GalleryPluginHelper_medium::setParameter) in modules/captcha/classes/CaptchaValidationPlugin.inc at line 72 (GalleryCoreApi::setPluginParameter) in modules/core/UserLogin.inc at line 122 (CaptchaValidationPlugin::performValidation) in main.php at line 199 (UserLoginController::handleRequest) in main.php at line 87 in main.php at line 80 Debug Output file_exists(/var/www/localhost/htdocs/gallery/modules/core/classes/helpers/../../../../config.php) file_exists(/var/www/localhost/htdocs/gallery/modules/core/classes/helpers/../../../../plugins/index.modules) file_exists(/var/www/localhost/g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc) Unimplemented: GalleryUrlGenerator getParameter language.useBrowserPref for core plugin file_exists(/var/www/localhost/g2data/cache/module/core/0/0/0.inc) getParameter default.language for core plugin controller core.UserLogin, view Loading plugin core Class not defined, trying to include it. file_exists(/var/www/localhost/htdocs/gallery/modules/core/classes/helpers/../../../../modules/core/module.inc) core plugin successfully instantiated file_exists(/var/www/localhost/g2data/versions.dat) file(/var/www/localhost/g2data/versions.dat, ) getParameter id.anonymousUser for core plugin [1162984800] can't guarantee 5 -- extending! file_exists(/var/www/localhost/g2data/cache/entity/0/0/5.inc) Loading plugin core core plugin successfully instantiated Check the version of the core plugin file_exists(/var/www/localhost/g2data/cache/module/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc) The version of the core plugin is ok file_exists(/var/www/localhost/htdocs/gallery/modules/core/classes/helpers/../../../../modules/core/UserLogin.inc) (mysql): SET NAMES "utf8" (mysql): SELECT g2_User.g_id FROM g2_User WHERE g2_User.g_userName = 'Joey' getParameter validation.level for core plugin file_exists(/var/www/localhost/htdocs/gallery/modules/core/classes/helpers/../../../../modules/captcha/classes/CaptchaValidationPlugin.inc) getParameter failedAttemptThreshold for captcha plugin file_exists(/var/www/localhost/g2data/cache/module/captcha/0/0/0.inc) getParameter failCount-core.UserLogin.Joey for captcha plugin setParameter failCount-core.UserLogin.Joey for captcha plugin file_exists(/var/www/localhost/g2data/cache/module/_all/0/0/GalleryStorage_describeMap.inc) mysql error: [1062: Duplicate entry 'module-captcha-0-failCount-core.UserLogin.Joey' for key 1] in EXECUTE("INSERT INTO g2_PluginParameterMap (g_pluginType, g_pluginId, g_itemId, g_parameterName, g_parameterValue) VALUES ('module','captcha',0,'failCount-core.UserLogin.Joey','1')") (mysql): INSERT INTO g2_PluginParameterMap (g_pluginType, g_pluginId, g_itemId, g_parameterName, g_parameterValue) VALUES ('module','captcha',0,'failCount-core.UserLogin.Joey','1') 1062: Duplicate entry 'module-captcha-0-failCount-core.UserLogin.Joey' for key 1 ADOConnection._Execute(INSERT INTO g2_PluginParameterMap (g_pluginType, g_pluginId, g_itemId, g_parameterName, g_parameterValue) VALUES ('module','capt...) % line 836, file: adodb.inc.php ADOConnection.Execute(INSERT INTO g2_PluginParameterMap (g_pluginType, g_pluginId, g_itemId, g_parameterName, g_parameterValue) VALUES (?,?,?,?,?), Array[5]) % line 985, file: GalleryStorageExtras.class GalleryStorageExtras.addMapEntry(GalleryPluginParameterMap, Array[5]) % line 501, file: GalleryStorage.class GalleryStorage.addMapEntry(GalleryPluginParameterMap, Array[5]) % line 2923, file: GalleryCoreApi.class GalleryCoreApi.addMapEntry(GalleryPluginParameterMap, Array[5]) % line 416, file: GalleryPluginHelper_medium.class getParameter default.theme for core plugin Loading plugin matrix Class not defined, trying to include it. file_exists(/var/www/localhost/htdocs/gallery/modules/core/classes/helpers/../../../../config.php) file_exists(/var/www/localhost/htdocs/gallery/modules/core/classes/helpers/../../../../plugins/index.themes) file_exists(/var/www/localhost/htdocs/gallery/modules/core/classes/helpers/../../../../themes/matrix/theme.inc) matrix plugin successfully instantiated Check the version of the matrix plugin file_exists(/var/www/localhost/g2data/cache/theme/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc) The version of the matrix plugin is ok Loading plugin core core plugin successfully instantiated Check the version of the core plugin The version of the core plugin is ok file_exists(/var/www/localhost/htdocs/gallery/modules/core/classes/helpers/../../../../modules/core/ErrorPage.inc) getParameter id.adminGroup for core plugin (mysql): SELECT g2_UserGroupMap.g_userId FROM g2_UserGroupMap WHERE g2_UserGroupMap.g_userId = 5 AND g2_UserGroupMap.g_groupId = 3 LIMIT 1 realpath(/var/www/localhost/htdocs/gallery/modules/core/classes/../../../) file_exists(/var/www/localhost/g2data/smarty/templates_c/%%4217124040) is_dir(/var/www/localhost/g2data/smarty/templates_c/%%4217124040) file_exists(/var/www/localhost/g2data/smarty/templates_c/%%4217124040) is_writeable(/var/www/localhost/g2data/smarty/templates_c/%%4217124040) file_exists(/var/www/localhost/g2data/smarty/templates_c/%%4217124040/v_9) file_exists(/var/www/localhost/htdocs/gallery/modules/core/classes/../../../lib/javascript/local/BlockToggle.js) realpath(/var/www/localhost/htdocs/gallery/modules/core/classes/../../..) Binding text domain: themes_matrix -> /var/www/localhost/htdocs/gallery/themes/matrix/locale file_exists(/var/www/localhost/htdocs/gallery/modules/core/../../themes/matrix/local/theme.css) file_exists(/var/www/localhost/htdocs/gallery/modules/core/classes/../../../themes/matrix/local/theme.css)