An Error Has Occurred While Interacting With The Database. Gallery2
Fri, 2010-02-12 10:54 Hello All, I've been running gallery2 for years. My server's hardware was upgraded few months ago and recently I was not able to access anything --> following error appeared: An error has occurred while interacting with the database. the URL to my Gallery: http://www.puterakembara.org/gallery2/main.php the version of Gallery: version 2.1 blackjack the version of PHP: 5.2.2 the version of Apache: Apache/2.0.52 (Red Hat) operating system and hardware: Linux puterakembara.org 2.6.9-89.0.20.EL.JLsmp #1 SMP Tue Feb 2 17:26:16 EST 2010 i686 DELL server web browser and version : Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/532.5 (KHTML, like Gecko) Chrome/4.0.249.89 Safari/532.5 mysql : 5.0.67 I've tried changing "mysqlt" or "mysqli" in config.php without success.the default was "mysql" * Can anyone help me howto debug this error * Whether I have dbase corrupt or not? * Best solution to fix problem * Will upgrading gallery2 to latest version will help solving the problem??? Thank you in advance, XUser login Login/Register alecmyers Joined:2006-08-01 Posts:4342 Posted: Fri, 2010-02-12 11:51 Put your gallery in debug mode and post the stack trace. FAQ: How to set/use Gallery in debug mode? putee Joined:2010-02-11 Posts:9 Posted: Fri, 2010-02-12 12:34 Thanks alecmyers, here below the debug output - does not look good - any idea how to fix the problem? ======================================================================================= Debug Output file_exists(/var/www/html/gallery2/modules/core/classes/helpers/../../../../config.php) file_exists(/var/www/html/gallery2/modules/core/classes/helpers/../../../../plugins/index.modules) file_exists(/var/www/html/gallery2/g2data2/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc) Unimplemented: Gall
Tue, 2006-07-25 05:30 This is now getting annoying. Second re-installation of Gallery 2.1.1 due to ERRORS in uploading. First error upload occured when using http://galleryproject.org/node/94396 GALLERY REMOTE. I re-installed and started using PICASA2 to use instead. Worked wonderful a couple times and then it just crashed. Now I'm getting this error when I'm http://galleryproject.org/node/52127 trying to access my gallery. Quote: Debug Output file_exists(/var/www/com/eternalgathering/gallery2/mygallery/modules/core/classes/helpers/../../../../config.php) file_exists(/var/www/com/eternalgathering/gallery2/mygallery/modules/core/classes/helpers/../../../../plugins/index.modules) file_exists(/var/www/com/eternalgathering/gallery2/mygallery/g2data/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc) Unimplemented: GalleryUrlGenerator getParameter language.useBrowserPref for core plugin file_exists(/var/www/com/eternalgathering/gallery2/mygallery/g2data/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(/var/www/com/eternalgathering/gallery2/mygallery/modules/core/classes/helpers/../../../../modules/core/module.inc) core plugin successfully instantiated file_exists(/var/www/com/eternalgathering/gallery2/mygallery/g2data/versions.dat) file(/var/www/com/eternalgathering/gallery2/mygallery/g2data/versions.dat, ) getParameter id.anonymousUser for core plugin [1153803672] can't guarantee 5 -- extending! file_exists(/var/www/com/eternalgathering/gallery2/mygallery/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/com/eternalgathering/gallery2/mygallery/g2data/cache/module/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc) The version of the core plugin is ok file_exists(/var/www/com/eternalgathering/gallery2/mygallery/modules/core/classes/helpers/
Tue, 2007-09-18 06:19 Hallo, wir betreiben seit kurzer Zeit eine Galerie, allerdings kommt schon bei minimaler Last, 5 Benutzer gleichzeitig, folgender Fehler: Quote: Database Error An error has occurred while an error interacting with the database. Back to the Gallery Error Detail + Error (ERROR_STORAGE_FAILURE) in modules\core\classes\GalleryStorage.class at line 480 (GalleryCoreApi::error) in modules\core\classes\Gallery.class at line 202 (GalleryStorage::search) in modules\core\classes\helpers\GalleryChildEntityHelper_simple.class at line 162 (Gallery::search) an error has in modules\core\classes\helpers\GalleryChildEntityHelper_simple.class at line 92 (GalleryChildEntityHelper_simple::_fetchChildItemIds) in modules\core\classes\GalleryCoreApi.class at line 2396 (GalleryChildEntityHelper_simple::fetchChildDataItemIds) in modules\core\classes\GalleryTheme.class at line 1252 (GalleryCoreApi::fetchChildDataItemIds) in themes\matrix\theme.inc at line 87 (GalleryTheme::loadCommonTemplateData) in modules\core\classes\GalleryTheme.class at line 932 (MatrixTheme::showPhotoPage) 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 main.php at line 83 Debug Output file_exists(C:\Inetpub\wwwroot\Gallery\gallery2\g2data\cache\module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc) Unimplemented: GalleryUrlGenerator getParameter language.useBrowserPref for core plugin file_exists(C:\Inetpub\wwwroot\Gallery\gallery2\g2data\cache\module/core/0/0/0.inc) Warning: Unable to select locale de_DE controller , view Loading plugin core Class not defined, trying to include it. file_exists(C:\Inetpub\wwwroot\Gallery\gallery2/modules/core/module.inc) core plugin successfully instantiated file_exists(C:\Inetpub\wwwroot\Gallery\gallery2\g2data\versions.dat) file(C:\Inetpub\wwwroot\Gallery\gallery2\g2d