After installing the gallery module I have noticed that I can no longer access Drupals Available Updates page. When i go to Reports > Available updates I am directed to a gallery page instead with a security access violation.

Error Detail -
Error (ERROR_PERMISSION_DENIED)

* in modules/core/classes/GalleryView.class at line 168 (GalleryCoreApi::error)
* in main.php at line 325 (GalleryView::loadView)
* in main.php at line 104
* in modules/core/classes/GalleryEmbed.class at line 189
* in /var/www/html/sdmaonline.com/sites/all/modules/gallery/gallery_base.inc at line 205 (GalleryEmbed::handleRequest)
* in /var/www/html/sdmaonline.com/sites/all/modules/gallery/gallery.module at line 452
* in ??? at line 0
* in /var/www/html/sdmaonline.com/includes/menu.inc at line 348
* in /var/www/html/sdmaonline.com/index.php at line 18

Comments

stuen93’s picture

another thing I noticecd is that I had turned off the rewrite engine because it was causing me problems. But it seems to be that was part of the trouble. AFter I commented out the below lines in the .htaccess file in my base web directory the problem went away.

#RewriteCond %{THE_REQUEST} /updates(\?.|\ .)
#RewriteCond %{REQUEST_URI} !/index\.php$
#RewriteRule . /index.php?q=gallery&g2_view=dynamicalbum.UpdatesAlbum [QSA,L]

lvthunder’s picture

So do you want to use the rewrite or not?

stuen93’s picture

I do not plan to use rewrite for it so it is working fine the way it is now. From what I can tell the problem is the rewrite sending the request for /updates to a dynamic albumn was making it impossible to get to the drupal updates reports page.

lvthunder’s picture

Status: Active » Closed (fixed)