I have uninstalled and reinstalled Gallery2 according to the instructions several times. I also successfully installed gallery2 on other drupal sites. However, this time, when I click on Admin> Site configuration>Gallery settings, (the path is /admin/settings/gallery), I get the following information:

Gallery settings
Status

* Overall Status (Installation) [Error]
* Gallery2 API version: 7.18 / 1.2
* Gallery2 plugin 'Image Block' is not available [Error]
* Gallery2 plugin 'ImageFrame' is not available [Warning]
* Gallery2 plugin 'Search' is not available [Warning]

I have verified that all three plugins are installed, configured and activated. It doesn't give me a place to indicate where i installed gallery2, which is right off of the drupal install root (ie, www.mysitecom/gallery2)

Any ideas?

Comments

goffer’s picture

i'm having the same problem at the moment

VM’s picture

expand the collapsed menu called "Gallery2 location settings" in administer -> gallery settings.

is the proper path set to G2 ? if your G2 software is installed in the Drupal root, & the G2 folder is called gallery 2 you should have /gallery2/ in Gallery2 URL or URI: field.

goffer’s picture

i have everything installed correctly and have the modules enabled in gallery2 CPanel and when I go to Drupal Gallery Settings to set up gallery it has this:

* Overall Status (Installation) [OK]
* Gallery2 API version: 7.18 / 1.2
* Gallery2 plugin 'Image Block' is not available [Error]
* Gallery2 plugin 'ImageFrame' is not available [Warning]

I was able to sync users and have it find the gallery2 path but it can't seem to find the plugins.

trghpy’s picture

Log in to your gallery install,
goto admin page
goto plug-ins
find image block, click install
find imageframe, click install

ect.. ect.. ect..

profix898’s picture

Category: bug » support

Its should be noted that 'Image Block' and 'Image Frame' plugins are not contained in the 'Minimal' and 'Typical' packages of Gallery2. You probably need to download/install these two plugins manually or get the 'Full' package of G2.

ja_ro_no’s picture

I had this same issue even after I had enabled the appropriate blocks. Tried installing and reinstalling to no avail. Finally found the problem in .htaccess for the gallery root. It had some legacy url rewrite rules from when I first installed the site.

I had initially migrated the site from another location. Before I switched the DNS both Drupal and Gallery sat in a subdirectory of another domain: www.site.com/dir/ and www.site.com/dir/gallery2, respectively. When I finally switched the DNS over (the urls were now www.site2.com and www.site2.com/gallery2) I got the error you mention.

Manually editing .htaccess for both directories to clean up the path references fixed this problem for me. The imageblock was finally recognized as installed by Drupal and everything works fine now.

owenrogers’s picture

Had this problem also. It turned out that once I removed trailing slashes from the "Gallery2 filesystem path:" and "Gallery2 URL or URI:" in the "Gallery2 location settings - Manual Configuration" the errors disappeared...

kanute’s picture

I had also migrated the site from another location. In my case, the error was caused by a missing apostrophe, which I had accidentally deleted when I changed the URL in the config.php of Gallery2:

$gallery->setConfig('data.gallery.base', '/var/www/........../g2data/');

holeepassion’s picture

where do I find this config.php please ???

i have the same issue ...

thanks

kanute’s picture

The config.php of Gallery2 is located in the "gallery2" directory (of the Gallery2 software, not the drupal module), which must lie * directly below * the drupal directory (as explained in the gallery2 module documentation).

kunkroo’s picture

I had the same issue ...
Gallery2 plugin 'Image Block' is not available [Error]
Gallery2 plugin 'ImageFrame' is not available [Warning]

I resolved by download imagesblock imagesframe and
1.copy it into gallery2/modules
2.reinstall by http://mydomain.com/gallery2/install/
3. reinstall 11 steps
enjoy!
www.drupalthai.net

arunmishra’s picture

dsfsf

elviento’s picture

Gallery -> Site Admin -> Plugins -> Get More Plugins (2nd Tab) ... Then download and activate Image Block and ImageFrame, Voila! (D6.17, G2.3.1, & gallery-6.x-1.0)

tgwit’s picture

* Gallery2 plugin 'Image Block' is not available [Error]
* Gallery2 plugin 'ImageFrame' is not available [Warning]
* Gallery2 plugin 'Search' is not available [Warning]
after restoring the finest backups to localhost to check upgrade from 6.22 to 6.24

try above, waste few hours, give up (some user synchronization issues included this time)
finally

  • restore public_html
  • mysql -u v1 -ppass drupal < drupal.sql
  • mysql -u v1 -ppass gallery2 < gallery2.sql
  • set location and sql in gallery2/config.php
  • set sql in sites/default/settings.php
  • change mysql/drupal/variable/gallery_uri from 's:27:"http://domain.com/gallery2/";' to 's:30:"http://192.168.1.132/gallery2/";', where 27 and 30 are the numbers of characters between the " marks (I hope so)
  • change mysql/drupal/variable/gallery_dir from 's:34:"/home/domain/public_html/gallery2/";' to 's:30:"/home/v1/public_html/gallery2/";'

that's it for me - no resetting of gallery module required - just flush caches and refresh.