ERROR_STORAGE_FAILURE with Xaraya imageblock

mdb

Joined: 2005-01-04
Posts: 2
Posted: Tue, 2005-01-04 08:12

Hi all,

I'm using Xaraya 0.9.11 together with Gallery2 (from CVS, version 0.87) and valiants gallery2 module (version 2004-12-18 ). When not logged in and not viewing the gallery2 page in Xaraya I get the following error in my 'latest added' imageblock (Xaraya gallery2 block):

System Error

Function missing. 
G2 did not return a success status upon an imageblock request.
Here is the error message from G2:

Error (ERROR_STORAGE_FAILURE)
- in modules/core/classes/GalleryStorage/DatabaseStorage.class at line 755
- in modules/imageblock/classes/ImageBlockHelper.class at line 26
- in modules/imageblock/classes/ImageBlockHelper.class at line 123
- in modules/imageblock/module.inc at line 213
- in modules/imageblock/module.inc at line 151
- in embed.php at line 726]

Explanation: 
The function has executed correctly but the result has failed.

This problem only occurs when trying to view the imageblock as an anonymous user that has not accessed the normal gallery2 at http://mysite/gallery2. After viewing the normal gallery2 page
(also as an anonymous user) no errors occur! Also when logging in as a registred user there are no problems.

I have tried turning on the debug code (buffered) of gallery2. It gives normal debug output when accesssing the gallery2 page, but not at moments when the error occurs (viewing the xaraya gallery2 imageblock as an anonymous user that has not visited the gallery2 page yet). Maybe this (not returning debug output) is a hint already that gallery2 is not initialized correctly when only viewing the imageblock?

Hopefully someone can shed some light on this problem. All other functions work correctly for me. If this could be fixed I would be very pleased :-)
----

Gallery version: 0.8.7
Webserver: Apache 1.3.26
Datatabase: MySQL 3.23.49
PHP version: 4.2.1
Graphics Toolkit(s): NETPBM and ImageMagick
Operating system: Linux 2.6.8.1
Web browser/version: Firefox 1.0 / IE6

 
valiant

Joined: 2003-01-04
Posts: 32509
Posted: Sun, 2005-01-09 23:07

mdb, should be fixed now. download the most recent G2 version (0.8.8) and the xaraya module from today and it should work.