Register   Login
     
  Latest Posts  
RE: Search Wildcard Problem!
by georgelew on 1/08/2009 4:19 AM
RE: Does anyone have XHTML Compliant PA Template
by georgelew on 1/08/2009 4:11 AM
RE: Help! Cannot use "&" in CustomField.
by georgelew on 1/08/2009 4:01 AM
RE: Comments not posting
by smcculloch on 1/08/2009 2:55 AM
Does anyone have XHTML Compliant PA Template
by tmahmud on 1/08/2009 1:04 AM
RE: Comments not posting
by WillJean on 1/08/2009 12:53 AM
RE: Comments not posting
by smcculloch on 1/08/2009 12:24 AM
RE: 4.9.0 and 5.0.0 with Simple gallery
by smcculloch on 1/08/2009 12:23 AM
Enable to comment in Simple Gallery
by nmduc073 on 1/07/2009 11:33 PM
Comments not posting
by WillJean on 1/07/2009 11:32 PM
  Forums  
Subject: File Permissions Issues on Upgrade to SG 2.03.03
Prev Next
You are not authorized to post a reply.

Author Messages
Steven WebsterUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:219


12/17/2007 11:50 AM  

Scott,
I'm having some issues with file permssions after upgrading Simple Gallery.  I have two specific issues on two seperate portals on the same DNN installation.  I'm running DNN 4.07 and Simple Gallery 2.03.03 (I had the same issues on the previous version of Simple Gallery and upgraded to the latest today).

First, I've created a new portal and installed Simple Gallery on a page.  I have created three new albums.  I selected an album and clicked "add photo".  When I click the next button I am prompted by Windows for a network login (see screenshot 1).  After clicking cancel I get a the following error dialog (see screenshot 2):

Sys.WebForms.PageRequestManagerServerErrorException: An unkown error occured while processing the request on the server.  The status code returned from the server was: 401

Entering in a valid administrator username and password on this server have the same results...I get this error

It seems like while the alums have been created in the module, there are no corresponding folders in the portal directory.

My second issue is on a portal that has existing albums and has been in production for a while.  I can select an album and click "Add Photo".  But the "next" button doesn't seem to do anything.  No loading, nothing.  Seems like it is just a dead link.

In both cases I'm logged in using a Host account.  Additionally, I've triple checked permissions on my installation (Network Service and ASPNet) and all seems fine.  I cal also upload files and image using other modules (File Manager, Property Manager, etc.)

Any ideas or suggestions?










Steven Webster
Overlook Technologies
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12797


12/17/2007 2:48 PM  

A few points:-

* Are you using windows authentication? This will only work with IE for the flash based uploader. Maybe you have the permissions incorrect? Can you check file permissions?

* Secondly, album folders are only created when an image is uploaded to them. So if an image isn't attached to an album, the folder won't be created.

* Try turning off partial rendering for the "addphoto" control in module defintions of the simple gallery module. This is an ajax update panel, maybe ajax isn't working correctly on your setup. I turned this checkbox on recently for the progress bar at the bottom. Again, I had no issues with it previously.


Scott McCulloch
Site Administrator
Steven WebsterUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:219


12/17/2007 7:56 PM  
Permissions are set and reset. I even tried giving everything to everyone for a minute.

Thanks for the clarification on when folders are created...I suspected this was how it worked but didn't know if it was relavant.

I tried turning off partial rendering with no change.

Steven Webster
Overlook Technologies
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12797


12/17/2007 10:11 PM  
Hmm, there are a lot of search results for this type of error, but couldn't find a specific resolution.

If you turned off partial rendering for addphoto only, i'm not sure how to resolve this issue specifically for you instance. I haven't received any other reports of this error yet, so that makes me think it's something in your environment causing the issue?

If you turned off partial rendering at the control level, it shouldn't add any ajax, what happens when you go to module settings, does it error as well?

Scott McCulloch
Site Administrator
Steven WebsterUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:219


12/18/2007 3:47 AM  
Woah, Scott I'm glad you asked me to check this. If I select "Add Photo" from the action menu on the modue it works! Still not working from the "add photo" from the front end.

Steven Webster
Overlook Technologies
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12797


12/18/2007 4:00 AM  
When you say front end, do you mean the link in the top right? What is the difference between the 2 urls?

Scott McCulloch
Site Administrator
Steven WebsterUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:219


12/18/2007 4:10 AM  

Yes, I mean the Add Photo link once a user navigates through the album to add a photo.

Working url:

http://stlcyclingclub.thisoldrv.com/PhotoGalleries/tabid/1631/ctl/Add/mid/3504/Default.aspx

Procedure:

From Photo Gallery page, select "Add Photo" from action menu (module drop down).  Select Album "Team Photos" and click Next. 

Non working url:

http://stlcyclingclub.thisoldrv.com/PhotoGalleries/tabid/1631/ctl/Add/mid/3504/SelAlbumID/60/Default.aspx?ReturnUrl=%2fPhotoGalleries%2ftabid%2f1631%2fAlbumID%2f3504-60%2fDefault.aspx

Procedure:

From Photo Gallery Page, select photo album (Team Photos).  Click "Add Photos" link on top center of page, click next, get login.


Steven Webster
Overlook Technologies
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12797


12/18/2007 4:34 AM  

I would suspect, on your machine the problem is the ReturnUrl.

Try the url without the returnUrl parameter:-

http://stlcyclingclub.thisoldrv.com/PhotoGalleries/tabid/1631/ctl/Add/mid/3504/SelAlbumID/60/Default.aspx

This hasn't been a problem I've seen on other instances yet.


Scott McCulloch
Site Administrator
Steven WebsterUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:219


12/18/2007 4:56 AM  
Scott,
Yes, removing the returnURL param from the QueryString seems to work. What would cause this now? The instance of SG on my ThisOldRV portal has been running for over a year. Either the update to 4.7 (froim 4.55) or something in SG updates seemed to "break" it. Suggestions?

Steven Webster
Overlook Technologies
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12797


12/18/2007 5:18 PM  
Can I get a login to your site so I can investigate? (support@ventrian.com)

Scott McCulloch
Site Administrator
Steven WebsterUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:219


12/18/2007 6:07 PM  
Done. Check your email. (and thanks for looking into this one - it's high on my strange meter)


Steven Webster
Overlook Technologies
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12797


12/19/2007 5:51 AM  
I think I have found the issue:-

Bring2mind.DNN.Modules.DMX.WebDAV.AuthenticationModule

Are you using a webdav module? I don't think it handles urls with a return URL on it?

Scott McCulloch
Site Administrator
Steven WebsterUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:219


12/19/2007 6:05 AM  
Yes, reccently installed. I'll remove it.

Steven Webster
Overlook Technologies
Steven WebsterUser is Offline
Gold Membership
Nuke Master
Nuke Master
Posts:219


12/19/2007 6:24 AM  

Scott,
You're a good man.  I'm emailing you a beer. 

I removed the offending module (which was unused) but still had to comment out the following linesi n web.config. (sloppy uninstall on their part).

in httpmodules

add name="RadUploadModule" type="Bring2mind.Telerik.WebControls.RadUploadHttpModule, Bring2mind.Telerik.RadUpload.Net2"

add name="WebDAVAuthenticationModule" type="Bring2mind.DNN.Modules.DMX.WebDAV.AuthenticationModule, Bring2mind.DNN.Modules.DMX.WebDAV"

In httphandlers

add path="Bring2mind.Telerik.RadUploadProgressHandler.aspx" verb="*" type="Bring2mind.Telerik.WebControls.RadUploadProgressHandler, Bring2mind.Telerik.RadUpload.Net2"

Perhaps this can help you in the future.   I suspect it has something to do with the file upload controls used in both modules.


Steven Webster
Overlook Technologies
Eric SwanzeyUser is Offline
Gold Membership
Nuke Super Newbie
Nuke Super Newbie
Posts:19

1/29/2008 7:32 PM  
Hmmm. I just encountered this.

Is there a way to keep the DMX module and stilll have this work?
Scott McCullochUser is Offline
Administrators
Nuke Master
Nuke Master
Posts:12797


1/29/2008 7:43 PM  
I would contact the module author and ask them to test with a URL that has a returnUrl on it.

Scott McCulloch
Site Administrator
You are not authorized to post a reply.
Forums > Modules > Simple Gallery > File Permissions Issues on Upgrade to SG 2.03.03



ActiveForums 3.7