Closed (fixed)
Project:
Image Gallery Management
Version:
6.x-1.0-beta4
Component:
User interface
Priority:
Critical
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Nov 2009 at 18:32 UTC
Updated:
26 Dec 2009 at 06:00 UTC
I have the most recent version of Image Gallery installed and have installed Image Gallery Management; however, I can not get IGM to work. The 'Manage' tab does not appear when I go to root/admin/content/image. Also, when I type in root/admin/content/image/manage I get the following error message "Access denied - You are not authorized to access this page." I checked in the permissions area but couldn't find a option for IGM. Please help me get this very useful module working. Thank you.
Comments
Comment #1
jchan commentedIt sounds like your user account did not have enough permissions.
To get the 'Manage' tab, you will need the 'administer images' permission.
To get the 'Add-ons' tab in
admin/settings/image, you will need the 'administer site configuration' permission.If you have those permissions and still get "Access denied", then try rebuilding permissions:
admin/content/node-settings/rebuildComment #2
tchase commentedThanks for your response. I am able to see the 'Add-ons' tab, but still can't see the 'Manage' tab. Also, I don't see an 'administer images' permission (I searched the permissions page). For the Image Module, I have 'create', 'delete', 'edit' and 'view' permissions (there is no option to 'administer images' under the Image Module); also, for the Image Gallery Module, I have 'administer image galleries.' Am I missing something? I did try rebuilding permissions, but that didn't work.
Comment #3
jchan commentedAh, ok. It seems that the latest version of image_gallery module has changed the names of its permissions. It used to have 'administer images' rather than 'administer image galleries'.
I may not have time to release a new version of Image Gallery Management right now. But you should be able to work around this by using the main Admin user account (with uid==1). That account should automatically have all permissions, even non-existent ones, I think.
You may also edit the module on your own (gallery_manage.module, line 68):
'access arguments' => array('administer images'),change it to:
'access arguments' => array('administer image galleries'),Comment #4
tchase commentedI was able to access the 'Manage' functions as uid==1, but it still wouldn't work with the change to line 68 in the gallery_manage.module.
Thanks for you help. This is a great module!
Comment #5
jchan commentedGood to hear that you uid 1 worked at least.
For the other method, you may need to clear the Drupal menu cache before it takes effect. Disabling, then re-enabling the module will do that. Explicitly telling Drupal to clear all its caches should work too (
admin/settings/performance).I haven't had time to actually test any of this yet though.
Comment #6
jchan commentedApologies for the delay. 1.0-beta5 is now released with the fix in place. I have tried to make it also compatible with older versions of Image Gallery.