I had my gallery2 2.3svn working great embedded in Drupal 5.9
Suddenly today the following appears whenever I try to access any of the gallery setting (other than install) from the Drupal admin menu. Anyone know what happened? I haven't changed anything from when it was working...
Quote:
*
A serious error has occured. This can happen due to an incorrect configuration or a bug in the gallery module. If you plan to submit a bug report to the issue queue at drupal.org consider to include the pre-generated report file.
* Error in function 'gallery_handle_request()' (gallery_base.inc:159):
o Error (ERROR_MISSING_OBJECT)
+ in modules/permalinks/Redirect.inc at line 61 (GalleryCoreApi::error)
+ in main.php at line 249 (RedirectController::handleRequest)
+ in main.php at line 103
+ in modules/core/classes/GalleryEmbed.class at line 189
+ in /var/www/vhosts/mysite.com/httpdocs/sites/all/modules/gallery/gallery_base.inc at line 141 (GalleryEmbed::handleRequest)
+ in /var/www/vhosts/mysite.com/httpdocs/sites/all/modules/gallery/gallery.module at line 387
+ in ??? at line 0
+ in /var/www/vhosts/mysite.com/httpdocs/includes/menu.inc at line 418
+ in /var/www/vhosts/mysite.com/httpdocs/index.php at line 15
Posts: 135
OK - I fixed this.
Although gallery2 permalinks work fine in Drupal, for some reason this breaks the admin gallery settings interface. Once I disabled the permalink URL rewrite rule in gallery2 (then deleted the rewrite section in my .htaccess file before setting gallery URL rewrite again through Drupal) the admin gallery settings were restored. Of course I lost my lovely gallery permalinks. I suppose once my site is configured and I no longer need to access to the settings I can re-enable permalink rewrite rules and get my permalinks back.
Is this a bug? I wonder if anyone else is able to replicate this behaviour?