I have 2 issues. If you would like me to make separate issues I can.
1) For some reason all authenticated users are able to edit any and all albums, even though the permissions in my Drupal installation are that only Admin can do this.
2) Anonymous users are getting errors when viewing albums. The error message is: Unknown column 'n.nid' in 'on clause' query: SELECT fid FROM x_image INNER JOIN node_access na ON na.nid = n.nid WHERE (na.grant_view >= 1 AND ((na.gid = 0 AND na.realm = 'all') OR (na.gid = 1 AND na.realm = 'forum_access'))) AND ( pid =340 )ORDER BY fid DESC in /home/ucmeta5/public_html/starlightjournal.com/sites/all/modules/photos/photos.module on line 491.
Any help would be greatly appreciated.
Comments
Comment #1
eastcn commented1) You use a node access module(eg: acl.module)? Perhaps you open the edit and delete privileges, you should check node access module settings.
2)Please use the 1.2 version. This is the recommended version.
thanks
Comment #2
iharley commented1)I don't use any special node access module, and have just looked over my permissions and have verified that for every type of content only 1 role can edit all.
2) That seemed to fix my issue, but added another one. Now when I want to upload it won't let me upload any files. I will look through the other support tickets to see if I can find something.
On a separate note, I found some grammar things that you might want to include in your next revision:
In photos.page.in on lines 337, 356, 375, and 395 you should edit the existing code ...
('Create a album').|(t('Upload a image'),'phots/upload');to('Create an album').|(t('Upload an image'),'phots/upload');In photos_imageview.tpl.php on lines 5 & 33 add an "s" to previou
Thanks!
Comment #3
eastcn commented------On a separate note, I found some grammar things that you might want to include in your next revision:
My English is very bad. I hope someone can interface language on a comprehensive revision.
thanks
Comment #4
iharley commentedItems are now fixed.
Comment #5
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.