Updated to PHP5 --> Error (ERROR_STORAGE_FAILURE)

jlkettwig

Joined: 2005-10-22
Posts: 10
Posted: Fri, 2008-05-09 08:54

I just changed from PHP4 to PHP5, and now gallery is not working at all. I get the following error message. I'd like to upgrade also to the newest version, but don't know how it will affect the data. PLEASE give me some advice.

Database Error
An error has occurred while interacting with the database.
Error (ERROR_STORAGE_FAILURE)
• in modules/core/classes/GalleryStorage.class at line 624 (GalleryCoreApi::error)
• in modules/core/classes/GalleryCoreApi.class at line 2790 (GalleryStorage::getMapEntry)
• in modules/core/classes/GalleryDataCache.class at line 628 (GalleryCoreApi::getMapEntry)
• in modules/core/classes/GalleryTheme.class at line 1139 (GalleryDataCache::getPageData)
• in themes/matrix/theme.inc at line 65 (GalleryTheme::loadCommonTemplateData)
• in modules/core/classes/GalleryTheme.class at line 930 (MatrixTheme::showAlbumPage)
• in modules/core/classes/GalleryView.class at line 308 (GalleryTheme::loadTemplate)
• in main.php at line 441 (GalleryView::doLoadTemplate)
• in main.php at line 94
• in modules/core/classes/GalleryEmbed.class at line 179
• in /mygallerypath/components/com_gallery2/pages/main.php at line 28 (GalleryEmbed::handleRequest)
• in /mygallerypath/components/com_gallery2/gallery2.php at line 44
• in /mygallerypath/index.php at line 236
System Information

Quote:
Gallery version
2.2-rc-1
PHP version
5.2.5 cgi
Webserver
Apache
Database
mysql 4.1.20
Toolkits
Thumbnail, Gd
Operating system
Linux www32.world4you.com 2.6.9-42.0.10.ELsmp #1 SMP Tue Feb 27 10:11:19 EST 2007 i686
Browser
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14

Debug Output

Quote:
file_exists(/MyFilesLocation/xyz_gallery/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc) Unimplemented: GalleryUrlGenerator getParameter language.useBrowserPref for core plugin file_exists(/MyFilesLocation/xyz_gallery/cache/module/core/0/0/0.inc) getParameter default.language for core plugin controller , view Loading plugin core Class not defined, trying to include it. file_exists(/MyProgrammLocation/xyz/gallery2/modules/core/module.inc) core plugin successfully instantiated file_exists(/MyFilesLocation/xyz_gallery/versions.dat) file(/MyFilesLocation/xyz_gallery/versions.dat, ) getParameter id.anonymousUser for core plugin [1210322384] can't guarantee 5 -- extending! file_exists(/MyFilesLocation/xyz_gallery/cache/entity/0/0/5.inc) Loading plugin core core plugin successfully instantiated Check the version of the core plugin file_exists(/MyFilesLocation/xyz_gallery/cache/module/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc) The version of the core plugin is ok file_exists(/MyProgrammLocation/xyz/gallery2/modules/core/ShowItem.inc) getParameter id.adminGroup for core plugin (mysql): SET NAMES "utf8" file_exists(/MyFilesLocation/xyz_gallery/cache/module/_all/0/0/GalleryStorage_describeMap.inc) (mysql): SELECT g_userId FROM g2_UserGroupMap WHERE g_userId=5 AND g_groupId=3 LIMIT 1 Loading plugin core core plugin successfully instantiated Check the version of the core plugin The version of the core plugin is ok file_exists(/MyProgrammLocation/xyz/gallery2/modules/core/MaintenanceMode.inc) getParameter acceleration for core plugin getParameter id.anonymousUser for core plugin getParameter acceleration for core plugin getParameter id.anonymousUser for core plugin (mysql): SELECT g2_Group.g_id, g2_Group.g_groupName FROM g2_UserGroupMap, g2_Group WHERE g2_Group.g_id = g2_UserGroupMap.g_groupId AND g2_UserGroupMap.g_userId = 5 ORDER BY g2_Group.g_groupName LIMIT 2147483647 file_exists(/MyFilesLocation/xyz_gallery/cache/module/_all/0/0/GalleryStorage_describeMap.inc) (mysql): SELECT g_module, g_permission, g_description, g_bits, g_flags FROM g2_PermissionSetMap realpath(/MyProgrammLocation/xyz/gallery2/modules/core/classes/../../..) Binding text domain: modules_core -> /MyProgrammLocation/xyz/gallery2/modules/core/locale realpath(/MyProgrammLocation/xyz/gallery2/modules/core/classes/../../..) Binding text domain: modules_comment -> /MyProgrammLocation/xyz/gallery2/modules/comment/locale realpath(/MyProgrammLocation/xyz/gallery2/modules/core/classes/../../..) Binding text domain: modules_rating -> /MyProgrammLocation/xyz/gallery2/modules/rating/locale (mysql): SELECT DISTINCT g2_AccessMap.g_accessListId FROM g2_AccessMap WHERE g2_AccessMap.g_userOrGroupId IN (5,4) AND g2_AccessMap.g_permission & 1 = 1 file_exists(/MyFilesLocation/xyz_gallery/cache/module/_all/0/0/GalleryStorage_describeMap.inc) mysql error: [1054: Unbekanntes Tabellenfeld 'g_isEmpty' in where clause] in EXECUTE("SELECT g_value FROM g2_CacheMap WHERE g_key='de92b980baa9ddc94b3560e2fe964c7a' AND g_type='page' AND g_userId=5 AND g_timestamp >1210321485 AND g_isEmpty=0") (mysql): SELECT g_value FROM g2_CacheMap WHERE g_key='de92b980baa9ddc94b3560e2fe964c7a' AND g_type='page' AND g_userId=5 AND g_timestamp >1210321485 AND g_isEmpty=0 1054: Unbekanntes Tabellenfeld 'g_isEmpty' in where clause

ADOConnection._Execute(SELECT g_value FROM
g2_CacheMap WHERE g_key='de92b980baa9ddc94b3560e2fe964c7a' AND
g_type='page' AND g_userId=5 AND g_timestamp ...) % line 870, file: adodb.inc.php
ADOConnection.Execute(SELECT g_value FROM g2_CacheMap WHERE
g_key=? AND g_type=? AND g_userId=? AND g_timestamp >? AND g_isEmpty=?,
Array[5]) % line 617, file: GalleryStorage.class
GalleryStorage.getMapEntry(GalleryCacheMap, Array[1],
Array[5], Array[0]) % line 2790, file:
GalleryCoreApi.class
GalleryCoreApi.getMapEntry(GalleryCacheMap, Array[1],
Array[5]) % line 628, file: GalleryDataCache.class
GalleryDataCache.getPageData(page,
MyURL/gallery2/main.php) % line 361, file: main.php

Loading plugin comment Class not defined, trying to include it. file_exists(/MyProgrammLocation/xyz/gallery2/modules/comment/module.inc) comment plugin successfully instantiated Loading plugin multilang Class not defined, trying to include it. file_exists(/MyProgrammLocation/xyz/gallery2/modules/multilang/module.inc) multilang plugin successfully instantiated Loading plugin sizelimit Class not defined, trying to include it. file_exists(/MyProgrammLocation/xyz/gallery2/modules/sizelimit/module.inc) sizelimit plugin successfully instantiated Loading plugin albumselect Class not defined, trying to include it. file_exists(/MyProgrammLocation/xyz/gallery2/modules/albumselect/module.inc) albumselect plugin successfully instantiated Loading plugin thumbnail Class not defined, trying to include it. file_exists(/MyProgrammLocation/xyz/gallery2/modules/thumbnail/module.inc) thumbnail plugin successfully instantiated Loading plugin imageblock Class not defined, trying to include it. file_exists(/MyProgrammLocation/xyz/gallery2/modules/imageblock/module.inc) imageblock plugin successfully instantiated Loading plugin linkitem Class not defined, trying to include it. file_exists(/MyProgrammLocation/xyz/gallery2/modules/linkitem/module.inc) linkitem plugin successfully instantiated Loading plugin rating Class not defined, trying to include it. file_exists(/MyProgrammLocation/xyz/gallery2/modules/rating/module.inc) rating plugin successfully instantiated Loading plugin hidden Class not defined, trying to include it. file_exists(/MyProgrammLocation/xyz/gallery2/modules/hidden/module.inc) realpath(/MyProgrammLocation/xyz/gallery2/modules/core/classes/../../..) Binding text domain: modules_hidden -> /MyProgrammLocation/xyz/gallery2/modules/hidden/locale hidden plugin successfully instantiated Loading plugin password Class not defined, trying to include it. file_exists(/MyProgrammLocation/xyz/gallery2/modules/password/module.inc) realpath(/MyProgrammLocation/xyz/gallery2/modules/core/classes/../../..) Binding text domain: modules_password -> /MyProgrammLocation/xyz/gallery2/modules/password/locale password plugin successfully instantiated Loading plugin core core plugin successfully instantiated getParameter default.theme for core plugin Loading plugin matrix Class not defined, trying to include it. file_exists(/MyProgrammLocation/xyz/gallery2/themes/matrix/theme.inc) matrix plugin successfully instantiated Check the version of the matrix plugin file_exists(/MyFilesLocation/xyz_gallery/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 getParameter id.adminGroup for core plugin realpath(/MyProgrammLocation/xyz/gallery2/modules/core/classes/../../../) realpath(/MyProgrammLocation/xyz/gallery2/) file_exists(/MyFilesLocation/xyz_gallery/smarty/templates_c/%%1500656234) is_dir(/MyFilesLocation/xyz_gallery/smarty/templates_c/%%1500656234) file_exists(/MyFilesLocation/xyz_gallery/smarty/templates_c/%%1500656234) is_writeable(/MyFilesLocation/xyz_gallery/smarty/templates_c/%%1500656234) file_exists(/MyFilesLocation/xyz_gallery/smarty/templates_c/%%1500656234/v_12) file_exists(/MyProgrammLocation/xyz/gallery2/modules/core/classes/../../../lib/javascript/local/BlockToggle.js) realpath(/MyProgrammLocation/xyz/gallery2/modules/core/classes/../../..) Binding text domain: themes_matrix -> /MyProgrammLocation/xyz/gallery2/themes/matrix/locale file_exists(/MyProgrammLocation/xyz/gallery2/modules/core/../../themes/matrix/local/theme.css) file_exists(/MyProgrammLocation/xyz/gallery2/modules/core/classes/../../../themes/matrix/local/theme.css)

Quote:

Login or register to post comments