Using the just released version of Gallery2. Upped the memory in php.ini to 16M. Gallery2 works fine without the integration.

Installed and enabled the gallery.module. Configured it to point to gallery2/ as directed in the settings.

Went to admin/blocks and enabled the gallery image block. Nothing shows.

What's wrong?

Comments

walkah’s picture

syntaxerror’s picture

Walkah.. I've installed the latest CVS version and I'm getting the following (using Gallery 2.0, Drupal 4.6.3 and CVS gallery.module)

Unable to get Gallery image block
Error (ERROR_CONFIGURATION_REQUIRED)

    * in modules/core/classes/GalleryEmbed.class at line 764 (gallerystatus::error)
    * in /home/xxxx/public_html/drupal/modules/gallery/gallery.module at line 185 (galleryembed::getimageblock)
    * in ??? at line 0
    * in /home/xxxx/public_html/drupal/includes/module.inc at line 182
    * in /home/xxxx/public_html/drupal/modules/block.module at line 502
    * in ??? at line 0
    * in /home/xxxx/public_html/drupal/includes/module.inc at line 182
    * in /home/xxxx/public_html/drupal/includes/theme.inc at line 864
    * in ??? at line 0
    * in /home/xxxx/public_html/drupal/includes/theme.inc at line 194
    * in /home/xxxx/public_html/drupal/themes/engines/phptemplate/phptemplate.engine at line 204
    * in ??? at line 0
    * in /home/xxxx/public_html/drupal/includes/theme.inc at line 190
    * in /home/xxxx/public_html/drupal/modules/node.module at line 1727
    * in ??? at line 0
    * in /home/xxxx/public_html/drupal/includes/menu.inc at line 354
    * in /home/xxxx/public_html/drupal/index.php at line 18
esskay’s picture

I tried it, noticed that the block for gallery navigation no longer exists. I also noticed a couple of switches on the Settings/Modules/Gallery page. I checked them both. I still don't see the image block, even though it has been enabled.

syntaxerror’s picture

Are you reporting errors to WatchDog? If bet if you are, you're seeing what I'm seeing =/.

esskay’s picture

Yes. I am getting the same error.

esskay’s picture

I donwloaded the latest update from the site and the problem still remains.

Unable to get Gallery image block
Error (ERROR_CONFIGURATION_REQUIRED)

etc.

syntaxerror’s picture

Still "Unable to get Gallery image block". I've tested with the most recent version you posted, as well as CVS HEAD and 4.6. I noticed you changed the install document, but we're still seeing the issue posted above.

syntaxerror’s picture

I just checked and the embed of gallery is working at http://drupalsite.org/gallery, but the error is still being thrown and the Gallery navigation/image block is still not being pulled ( with the same issue as above )

lvthunder’s picture

In G2 do you have the Image Block module activated.

syntaxerror’s picture

No, it doesn't look so. Thats a stupid error on my part, but we probably should throw in the install.txt that the Image Block module (which isn't in the "Typical" install) is required. Downloading now to test.

syntaxerror’s picture

Working well now after downloading the Image Block module for G2. Only issue I see, is if you select to display no metadata in the drupal block, you get an implode error on 190:

[code]warning: implode(): Bad arguments. in /home/jnwhiteh/public_html/drupal/modules/gallery/gallery.module on line 190.[/code]

esskay’s picture

I downloaded, installed and activated the image block module. I now get the block with everything but the picture itself. What's wrong?

esskay’s picture

The problem with the display had to do with the fact that the original gallery1 folder (named gallery) was still there. I renamed the gallery folder to something else. The picture then began to display. Clicking on the link brought up a page not found, because it was looking for a page with an html file type. When I went to gallery2 site admin URL Rewrite and disabled all URL rewrites, the problem went away. Now I am stuck with the same problem as the other poster: I get the following message:

warning: implode(): Bad arguments. in /home/webadmin/sanremopalmira.com/html/modules/gallery.module on line 190.

alexandreracine’s picture

In G2 do you have the Image Block module activated.

I second that.

pitpit’s picture

patch you file like explain in http://drupal.org/node/31468 or install the enhanced gallery.module http://drupal.org/node/32393 to avoid implode warning at line 190.

does it work know ?

alexandreracine’s picture

When playing with Gallery2 embedded, you should not have any directory called "gallery" since the gallery.module use that.

Everything seems fine now? Going once...

alexandreracine’s picture

Status: Active » Closed (fixed)

twice... sold. Closed.