NOTE: This documentation is for the g2bridge module for Drupal 4, 5 or 6.
For Drupal 7+, please refer to the G2Drupal Bridge
Here are some things to check:
Depending on your configuration this can happen because the rewrite rules generated by Gallery2 apply to paths other than http://example.com/gallery/...
. For example if you have set your 'Show Item' rule to gallery/%path%
in G2 the rule also applies to some Drupal paths, such as admin/settings/gallery/filter
or similar paths. To solve this issue you have two choices:
gallery/v/%path%
(to make it more unique)\
, i.e. change the generic regexp RewriteCond %{THE_REQUEST} /gallery/([^?]+)(\?.|\ .)
in your Drupal's .htaccess file to RewriteCond %{THE_REQUEST} \ /gallery/([^?]+)(\?.|\ .)
(so that it only applies where 'gallery' is at the beginning of the path)Please also refer to the URL Rewrite tutorial.
Is Gallery2 installed in a sub-directory of Drupal? If no, create a symbolic link as described in Install instructions. Some features like CSS/JS cascading with Drupal styles and scripts is only available if G2 is installed inside the Drupal root directory.
Most (out-of-the-box) configurations of Thickbox/Lightbox require a certain order of styles/scripts in the page, for this Drupal CSS/JS cascading is required. See above.
This only happens if the "Search box" is enabled in the sidebar of your G2 theme AND the "Gallery Navigation" block is disabled in Drupal. Only in this case the JS is added and unable to find the textfield thus regenerating a js error. There are two options to solve this problem:
If the page appears blank then it is likely that your PHP memory limit is too low. See G2 FAQ (PHP Memory Limit)