Error_storage_failure ?

TheDailyNathan

Joined: 2008-01-10
Posts: 6
Posted: Mon, 2008-05-12 15:43

Please fill out the following form and take a look at the linked pages. The more information you supply, the better we can help you. Remove this FAQ information from your post before submitting.

- What information is required when asking for help in the forums? See:
http://codex.gallery2.org/index.php/Gallery2:faq#What_information_is_required_when_I_ask_for_help_in_the_forums.3F
- You can copy and paste a lot of the required information from "Site Admin" -> "Maintenance" -> "System Information" if your G2 is up and running.
- Also visit http://codex.gallery2.org for: Frequently Asked Questions, Debugging Instructions, Known Issues and much more
- And try your luck with the search function of this website


Gallery version (not just "2"): 2.2.4
PHP version (e.g. 5.1.6): 5.2.5
PHPInfo Link (see FAQ):
Webserver (e.g. Apache 1.3.33): 2.2.8 (Unix)
Database (e.g. MySql 5.0.32): 5.0.45-community-
log
Activated toolkits (e.g. NetPbm, GD):
Operating system (e.g. Linux): Linux
Browser (e.g. Firefox 2.0): Firefox, IE7

I logged into my site last night and this error suddenly popped up. I haven't made any changes to gallery at all in the past week or so. I get the same error on *both* installations of gallery (on the same hosting account, but running on two seperate databases)

http://photodecal.org/gallery/main.php
http://photography.thedailynathan.com/main.php

I turned on debugging and here is the error message (only shows up in Firefox? IE7 just displays HTTP 5000 Internal Server Error):

The error seems to be coming from this?

mysqli error: [1030: Got error -1 from storage engine] in EXECUTE("UPDATE photography_ItemAttributesMap SET photography_viewCount = photography_ItemAttributesMap.photography_viewCount + 1 WHERE photography_itemId=7")

================================================================================

Database Error

An error has occurred while interacting with the database.
The exact nature of database errors is not captured unless Gallery debug mode is enabled in config.php. Before seeking support for this error please enable buffered debug output and retry the operation. Look near the bottom of the lengthy debug output to find error details.

Back to the Gallery
Error Detail -
Error (ERROR_STORAGE_FAILURE)

* in modules/core/classes/GalleryStorage.class at line 690 (GalleryCoreApi::error)
* in modules/core/classes/GalleryCoreApi.class at line 2773 (GalleryStorage::updateMapEntry)
* in modules/core/classes/helpers/GalleryItemAttributesHelper_simple.class at line 89 (GalleryCoreApi::updateMapEntry)
* in modules/core/classes/GalleryCoreApi.class at line 1220 (GalleryItemAttributesHelper_simple::incrementViewCount)
* in modules/core/ShowItem.inc at line 93 (GalleryCoreApi::incrementItemViewCount)
* in modules/core/classes/GalleryView.class at line 300 (ShowItemView::loadTemplate)
* in main.php at line 445 (GalleryView::doLoadTemplate)
* in main.php at line 94
* in main.php at line 83

System Information
Gallery version 2.2.4
PHP version 5.2.5 cgi-fcgi
Webserver Apache/2.2.8 (Unix) mod_ssl/2.2.8 OpenSSL/0.9.8g DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
Database mysqli 5.0.45-community-log
Toolkits ImageMagick, NetPBM, Gd
Operating system Linux box385.bluehost.com 2.6.22-9_1.BHsmp #1 SMP Sun Feb 10 15:57:22 MST 2008 x86_64
Browser Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
Debug Output
file_exists(/home/photodec/galleryimages/cache/module/_all/0/0/GalleryFactoryHelper_loadRegistry.inc) Unimplemented: GalleryUrlGenerator getParameter session.lifetime for core plugin file_exists(/home/photodec/galleryimages/cache/module/core/0/0/0.inc) getParameter session.inactivityTimeout for core plugin (mysqli): SET NAMES "utf8" file_exists(/home/photodec/galleryimages/cache/module/_all/0/0/GalleryStorage_describeMap.inc) (mysqli): SELECT g_userId, g_remoteIdentifier, g_creationTimestamp, g_modificationTimestamp, g_data FROM g2_SessionMap WHERE g_id='5ed190b282282c7f9a583375797baafc' controller , view Loading plugin core Class not defined, trying to include it. file_exists(/home/photodec/public_html/gallery/modules/core/module.inc) core plugin successfully instantiated file_exists(/home/photodec/galleryimages/versions.dat) file(/home/photodec/galleryimages/versions.dat, ) [1210606196] can't guarantee 5 -- extending! file_exists(/home/photodec/galleryimages/cache/entity/0/0/6.inc) Loading plugin core core plugin successfully instantiated Check the version of the core plugin file_exists(/home/photodec/galleryimages/cache/module/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc) The version of the core plugin is ok file_exists(/home/photodec/public_html/gallery/modules/core/ShowItem.inc) getParameter acceleration for core plugin getParameter id.anonymousUser for core plugin getParameter id.anonymousUser for core plugin getParameter id.adminGroup for core plugin (mysqli): SELECT g_userId FROM g2_UserGroupMap WHERE g_userId=6 AND g_groupId=3 LIMIT 1 getParameter id.rootAlbum for core plugin file_exists(/home/photodec/galleryimages/cache/entity/0/0/7.inc) Loading plugin carbon Class not defined, trying to include it. file_exists(/home/photodec/public_html/gallery/themes/carbon/theme.inc) carbon plugin successfully instantiated Check the version of the carbon plugin file_exists(/home/photodec/galleryimages/cache/theme/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc) The version of the carbon plugin is ok file_exists(/home/photodec/galleryimages/cache/theme/carbon/0/0/0.inc) file_exists(/home/photodec/galleryimages/cache/theme/carbon/0/0/7.inc) (mysqli): SET AUTOCOMMIT=0 (mysqli): BEGIN mysqli error: [1030: Got error -1 from storage engine] in EXECUTE("UPDATE g2_ItemAttributesMap SET g_viewCount = g2_ItemAttributesMap.g_viewCount + 1 WHERE g_itemId=7") (mysqli): UPDATE g2_ItemAttributesMap SET g_viewCount = g2_ItemAttributesMap.g_viewCount + 1 WHERE g_itemId=7 Query: UPDATE g2_ItemAttributesMap SET g_viewCount = g2_ItemAttributesMap.g_viewCount + 1 WHERE g_itemId=7 failed. Got error -1 from storage engine
1030: Got error -1 from storage engine

ADOConnection._Execute(UPDATE
g2_ItemAttributesMap SET g_viewCount = g2_ItemAttributesMap.g_viewCount + 1
WHERE g_itemId=7) % line 870, file: adodb.inc.php
ADOConnection.Execute(UPDATE
g2_ItemAttributesMap SET g_viewCount = g2_ItemAttributesMap.g_viewCount + ?
WHERE g_itemId=?, Array[2]) % line 687,
file: GalleryStorage.class
GalleryStorage.updateMapEntry(GalleryItemAttributesMap,
Array[1], Array[1]) % line 2773, file:
GalleryCoreApi.class
GalleryCoreApi.updateMapEntry(GalleryItemAttributesMap,
Array[1], Array[1]) % line 89, file:
GalleryItemAttributesHelper_simple.class
GalleryItemAttributesHelper_simple.incrementViewCount(7,
1) % line 1220, file: GalleryCoreApi.class

Loading plugin comment Class not defined, trying to include it. file_exists(/home/photodec/public_html/gallery/modules/comment/module.inc) comment plugin successfully instantiated Loading plugin rating Class not defined, trying to include it. file_exists(/home/photodec/public_html/gallery/modules/rating/module.inc) rating plugin successfully instantiated Loading plugin core core plugin successfully instantiated getParameter default.theme for core plugin Loading plugin carbon carbon plugin successfully instantiated Check the version of the carbon plugin The version of the carbon 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(/home/photodec/public_html/gallery/modules/core/classes/../../../) realpath(/home/photodec/public_html/gallery/) (mysqli): SELECT g_mimeType, g_toolkitId, g_priority FROM g2_TkOperatnMimeTypeMap WHERE g_operationName='thumbnail' ORDER BY g_mimeType ASC, g_priority ASC file_exists(/home/photodec/galleryimages/smarty/templates_c/%%74804057) is_dir(/home/photodec/galleryimages/smarty/templates_c/%%74804057) file_exists(/home/photodec/galleryimages/smarty/templates_c/%%74804057) is_writeable(/home/photodec/galleryimages/smarty/templates_c/%%74804057) file_exists(/home/photodec/galleryimages/smarty/templates_c/%%74804057/v_12) file_exists(/home/photodec/public_html/gallery/modules/core/classes/../../../lib/javascript/local/BlockToggle.js) file_exists(/home/photodec/public_html/gallery/modules/core/../../themes/carbon/local/theme.css) file_exists(/home/photodec/public_html/gallery/modules/core/classes/../../../themes/carbon/local/theme.css)

Login or register to post comments
pdwpg2

Joined: 2008-02-26
Posts: 1
Posted: Mon, 2008-05-12 18:12

Can some help me with this problem please
Storage Directory Permissions
Failed
Error: Some files and or directories in your storage directory are not writeable by the webserver user. Run chown -R webserverUser /mnt/gs01/herd04/36735/domains/purdrive.com/html/gallery2/g2data_43534/ OR run chmod -R 777 /mnt/gs01/herd04/36735/domains/purdrive.com/html/gallery2/g2data_43534/.
Gallery file integrity
Warning
+ Modified files (2)
themes/floatrix/theme.css
themes/hybrid/theme.css themes/floatrix/theme.css themes/hybrid/theme.css
Gallery: your photos on your website » gallery.sourceforge.net

Login or register to post comments
TheDailyNathan

Joined: 2008-01-10
Posts: 6
Posted: Mon, 2008-05-12 19:14

You should probably post your own troubleshoot request if you want to get advice.

Login or register to post comments