Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsGalleryGalleryforces login when choosing an imageforces login when choosing an image
Previous
 
Next
New Post
3/9/2012 12:29 PM
 

I have gallery module 4.3.3 installed on dnn  5.5.  Everything was a breeze to setup and deploy, however I'm running into a few challenges when viewing the imagery. 

 the site is here and you can see for yourself on this page what is happening: http://www.bestdarnswimcamp.com/resources/photo-gallery.aspx

 When you click on an image or anything other than slideshow option it opens up a login screen prompting you to login.

Bascially if I choose anythihng other than slideshow option it forces the user to login.  why?  What am I missing here?  I've looked thru the permissions and config settings and don't see anything on this.  Can anyone help me out here?

thanks.

 
New Post
3/9/2012 5:26 PM
 

First I would verify in the Admin --> File Manager that all of the Gallery folders have their View permission set for "All Users" and not "Administrators" or "Registered Users". If you let Gallery set up its default folder structure, there will be a Gallery folder in the portal's root folder and beneath that one or more folders whose names are the number of the ModuleID for each Gallery module. Each numbered folder (and of its child folders) should show "All Users" (green check not red X) in the "View" permissions column.

Did you upload the image files using the Gallery upload user interface or via FTP directly into the Gallery folders? If the latter, have you performed a file synchronization on the Gallery folders in File Manager?

The Slide Show component uses a different method of accessing the image files and as I recall does not perform the same permission check that simply clicking on a thumbnail does - hence the reason why the Slide Show is working.

If resetting the permissions does not take care of the problem, perhaps you can grant me temporary admin permission on the site and I'll see if I can help you further. My email address is bill AT wesnetdesigns DOT com if you would like to go that route.


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
3/12/2012 4:20 PM
 

Bill,

Thank you for your recommendations on this issue.  I reviewed the file manager and non of the folders that the gallery created under portals/0/gallery/gallery# are not showing up in the file manager.  I chose to refresh and sync the folders and that didn't do the trick.  Not sure what to do at this point.  All of the settings are correct and permissions for the actual module.  

Any other idears?  many thanks. Mike.  

 
New Post
3/12/2012 9:43 PM
 

Mike,

I'm afraid I'm running out of ideas as I've never seen that behavior before. In Fiddler I can see that there is a 302 redirection to the login control as soon as the Gallery module attempts to load DesktopModules/Gallery/GalleryPage.aspx which is a wrapper around various views when pop-ups are enabled in the Gallery configuration. GalleryPage does check for a number of potential security violations and if any are found there will be an intentional redirection to the DotNetNuke access denied url which will by default bring up the login control. Here are the checks - perhaps one of they might bring to mind something that is different about your site:

1. The tabid value (90) contained in the GalleryPage.aspx querystring must be the same as the currently active page. It looks to be correct and it does not appear that the site is multi-language which might be a factor.
2. The mid value (432) contained in the GalleryPage.aspx querystring must be that of a Gallery module on the currently active page. That looks to be correct but as part of this test the DesktopModule.ModuleName property is assumed to be "DNN_Gallery". Please check in the Host-->Extensions configuration for the Gallery module that this name was not changed to something else.
3. The user must have view permission on both the gallery page and the module - it appears that this is the case for all users including unauthenticated users.
4. The ctl value (viewer) in the GalleryPage.aspx querystring must be one of 5 values of which "viewer" or "Viewer" is one.

Please check the Admin-->Event Viewer to see if any related errors are logged when clicking on a Gallery thumbnail.

You might try turning off the Enable Popups in the Gallery configuration to see if the need to login is removed and if you can tolerate having the image viewer displayed in place.

Another possibility would be to consider upgrading the site to DNN 5.6.2 (minimum but 5.6.7 recommended) and upgrading Gallery to 4.4.0, although I don't see that any issues such as yours were fixed in Gallery 4.4.0. I do recall, however, that DNN 5.5.0 introduced an issue with custom aspx pages inheriting from PageBase (such as GalleryPage.aspx) throwing an exception. It was fixed in DNN 5.5.1. If you do upgrade, be sure to follow the usual good practices of backing up both the file system and database prior to the backup. Also, Gallery 4.4.0 made extensive changes to the html markup of all controls and to the css style sheets of the Gallery themes for better XHTML compliancy. Any customizations to style sheets that you have made will have to be re-done for Gallery 4.4.0.

Let me know if I may be of further assistance.


Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsGalleryGalleryforces login when choosing an imageforces login when choosing an image


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out