From the userside everything seems to work fine, but looking at my drupal logs every time I browse through an album I get:

Location
/cms/drupal/gallery/vanessa/?g2_page=2

Nachricht
Unable to get Gallery image block
Error (ERROR_CONFIGURATION_REQUIRED)
in modules/core/classes/GalleryEmbed.class at line 764 (gallerystatus::error)
in /var/www/cms/drupal-4.6.5/modules/gallery/gallery.module at line 198 (galleryembed::getimageblock)
in ??? at line 0
in /var/www/cms/drupal-4.6.5/includes/module.inc at line 182
in /var/www/cms/drupal-4.6.5/modules/block.module at line 502
in ??? at line 0
in /var/www/cms/drupal-4.6.5/includes/module.inc at line 182
in /var/www/cms/drupal-4.6.5/includes/theme.inc at line 864
in ??? at line 0
in /var/www/cms/drupal-4.6.5/includes/theme.inc at line 194
in /var/www/cms/drupal-4.6.5/themes/engines/phptemplate/phptemplate.engine at line 204
in ??? at line 0
in /var/www/cms/drupal-4.6.5/includes/theme.inc at line 190
in /var/www/cms/drupal-4.6.5/modules/gallery/gallery.module at line 287
in ??? at line 0
in /var/www/cms/drupal-4.6.5/includes/menu.inc at line 354
in /var/www/cms/drupal-4.6.5/index.php at line 18

Severity
error

Comments

tangibre’s picture

Same here, as posted at http://drupal.org/node/40465#comment-74358.

The same kind of error shows up when trying to use the g2_filter with Drupal 4.7b4 and gallery 2.02.

tangibre’s picture

Never mind. I figured out that I had to activate the "Image block" within Gallery.

Have you tried this?

frisco’s picture

I scanned through the complete side admin, but couldn't find an image block to activate - the only blocks to be activated I can find so far are within the theme, but there's no so called "image block". Any hints? Or is it in drupal's admin section? For integration purposes I deactivated everything in the sidebar, does that apply to the error?

BTW, do you know if I can give drupal a block showing a random image from gallery2? I know that there are such options in the image module and I think in gallery itself, but is it possible to integrate it like this with gallery and drupal?

Frisco

kiz_0987’s picture

tangibre’s picture

Yes, the image block is a module and you activate it by going to the gallery's admin/module page.

frisco’s picture

Status: Active » Fixed

Thanks, that did it - and now I can also have a random image in a sidebar block, that's so cute!

Frisco

Anonymous’s picture

Status: Fixed » Closed (fixed)