Error (ERROR_STORAGE_FAILURE)

sjabby

Joined: 2005-01-02
Posts: 3
Posted: Sun, 2005-01-02 17:55

Error (ERROR_STORAGE_FAILURE)
in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 782
in modules/core/classes/interfaces/GalleryPluginParameterMap.inc at line 126
in modules/core/classes/helpers/GalleryPluginHelper_medium.class at line 387
in modules/core/classes/helpers/GalleryPluginHelper_medium.class at line 344
in modules/core/classes/GalleryPlugin.class at line 212
in modules/imageblock/module.inc at line 68
in modules/core/classes/GalleryModule.class at line 170
in modules/core/AdminModules.inc at line 70
in main.php at line 181
in main.php at line 67

--------------
I get that error when i try to enable ImageMagick!

 
sjabby

Joined: 2005-01-02
Posts: 3
Posted: Sun, 2005-01-02 22:29

some more info:
Error (ERROR_STORAGE_FAILURE)
in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 782
in modules/core/classes/interfaces/GalleryPluginParameterMap.inc at line 126
in modules/core/classes/helpers/GalleryPluginHelper_medium.class at line 387
in modules/core/classes/helpers/GalleryPluginHelper_medium.class at line 344
in modules/core/classes/GalleryPlugin.class at line 212
in modules/imagemagick/module.inc at line 77
in modules/core/classes/GalleryModule.class at line 170
in modules/core/AdminModules.inc at line 70
in main.php at line 181
in main.php at line 67
file_exists(/home/morten/public_html/g2data/sessions/9f97644a0201c84bb5e3810999f64caf)
clearstatcache()
filesize(/home/morten/public_html/g2data/sessions/9f97644a0201c84bb5e3810999f64caf)
fopen(/home/morten/public_html/g2data/sessions/9f97644a0201c84bb5e3810999f64caf,
rb, 0)
flock(Resource id #1, 6, )
fread(Resource id #1, 3439)
flock(Resource id #1, 3, )
fclose(Resource id #1)
Initializing navigation
Continuing navigation x05ab7a18
file_exists(/home/morten/public_html/modules/core/classes/helpers/../../../../modules/core/module.inc)
file_exists(/home/morten/public_html/g2data//versions.dat)
file(/home/morten/public_html/g2data//versions.dat, )
[1104704921] can't guarantee 5 -- extending!
file_exists(/home/morten/public_html/g2data/cache/entity/0/0/5.inc)
file_exists(/home/morten/public_html/g2data/cache/module/_all/0/0/GalleryPluginHelper_fetchPluginStatus.inc)
file_exists(/home/morten/public_html/modules/core/classes/../../../modules/core/AdminModules.inc)
file_exists(/home/morten/public_html/modules/core/classes/../../../modules/core/AdminModules.inc)
file_exists(/home/morten/public_html/g2data/cache/module/core/0/0/0.inc)
--------------------------------------------------------------------------------
(mysql):
SELECT
g2_UserGroupMap.g_userId
FROM
g2_UserGroupMap
WHERE
g2_UserGroupMap.g_userId = 5
AND
g2_UserGroupMap.g_groupId = '2'
LIMIT 1
--------------------------------------------------------------------------------

file_exists(/home/morten/public_html/modules/core/classes/helpers/../../../../modules/imagemagick/module.inc)
file_exists(/home/morten/public_html/g2data/cache/module/imagemagick/0/0/0.inc)
file_exists(/home/morten/public_html/modules/core/classes/GalleryStorage/../../../../modules/imagemagick/classes/GalleryStorage/DatabaseStorage/schema/platform/mysql)
--------------------------------------------------------------------------------
(mysql): SHOW TABLES
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
(mysql): SELECT g_name, g_major, g_minor FROM g2_Schema

--------------------------------------------------------------------------------

mysql error: [1062: Duplicate entry 'module-imagemagick-0-path' for key 1]
in EXECUTE("INSERT INTO g2_PluginParameterMap (g_pluginType, g_pluginId,
g_itemId, g_parameterName, g_parameterValue) VALUES ('module',
'imagemagick', 0, 'path', '')")

--------------------------------------------------------------------------------
(mysql): INSERT INTO g2_PluginParameterMap (g_pluginType, g_pluginId,
g_itemId, g_parameterName, g_parameterValue) VALUES ('module',
'imagemagick', 0, 'path', '')
--------------------------------------------------------------------------------
1062: Duplicate entry 'module-imagemagick-0-path' for key 1

realpath(/home/morten/public_html/modules/core/classes/../../../)
file_exists(/home/morten/public_html/modules/core/classes/helpers/../../../../modules/gd/module.inc)
file_exists(/home/morten/public_html/modules/core/classes/helpers/../../../../modules/squarethumb/module.inc)

 
sjabby

Joined: 2005-01-02
Posts: 3
Posted: Mon, 2005-01-03 00:36

its apache running on a debian server
i used the gallery i downloaded from here:
http://gallery.menalto.com/modules.php?op=modload&name=phpWiki&file=index&pagename=Download
that page. no svn ..
i installed it first under /~user1/ and that worked
but not under /~user2/ on SAME server

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Mon, 2005-01-03 07:24

Ok, this doesn't make sense. The first error is in the imageblock module, see this in the stack trace:
in modules/imageblock/module.inc at line 68
You said that this was caused by activating the ImageMagick module, but it looks to me like you were actually trying to upgrade the ImageBlock module instead. Perhaps you made a mistake?

The debug information that you provided is for the ImageMagick module, which is useful. This is the relevant part:

mysql error: [1062: Duplicate entry 'module-imagemagick-0-path' for key 1]
in EXECUTE("INSERT INTO g2_PluginParameterMap (g_pluginType, g_pluginId,
g_itemId, g_parameterName, g_parameterValue) VALUES ('module',
'imagemagick', 0, 'path', '')") 

However, that doesn't include the stack trace! So this is really half of two different bugs each. Can you provide the debug info for the imageblock bug, and the stack trace for the imagemagick bug? Preferably in two different forum topics so that we can fix them separately? Thanks!