Installed Drupal 4.7-beta-3 on a new and clean Gentoo box.
Gallery version = 2.0.2 core 1.0.0.2
PHP version = 4.4.0-pl1-gentoo apache2handler
Webserver = Apache
Database = mysql 4.1.14-log
Toolkits = ArchiveUpload, Exif, ImageMagick, Thumbnail
Operating system = Linux webbox 2.6.14-gentoo-r5 #1 SMP PREEMPT Mon Jan 16 14:23:04 Local time zone must be set-- i686
Browser = Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)

Both apps work fine on their own.
Enabled clean URLs in both, configured both.
Image block is enabled in G2.
Installed gallery.module from CVS (As of 1.20.06)
enabled module
configured in drupal-administer-settings-gallery
enabled block in drupal-administer-blocks

No image block appeared on Drupal pages. When i tried to configure Gallery Image block - no settings would stay saved (all checkmarks are off, even after "SAVE settings" has been pressed and drupal reported that new settings were saved).

No erros appear in drupal

Comments

KarenS’s picture

Might be a caching problem. I noticed the same thing and was about to report it, then the next day everything appeared just fine. Try clearing your browser cache, opening a new window, and/or clearing the Gallery template cache (in the maintenance subdirectory of the Gallery administration menu).

chrisd’s picture

I think I know why (but do not know PHP...just learning...so I can't fix it...).

The save part of the module does not actually save values. I checked the variable table and the
gallery_block_show_
gallery_block_block_

stay to empty arrays: "a:0:{}"

SELECT * FROM gdial.variable v where name like 'gallery%'

case 'save':
// if no image types selected, assume randomImage
if (count($edit['gallery_block_block_' . $delta])) {
variable_set('gallery_block_block_' . $delta, array_keys($edit['gallery_block_block_' . $delta], 1));
}
else {
variable_set('gallery_block_block_' . $delta, array('randomImage'));
}
variable_set('gallery_block_show_' . $delta, array_keys($edit['gallery_block_show_' . $delta], 1));
break;

Hope this can help someone with PHP knowledge...
Thanks,
Christophe D

chrisd’s picture

Status: Active » Closed (duplicate)

Someone has a fix that works....

Will close this bug since it is a duplicate...
See:
http://drupal.org/node/45803