Alex Shirley Gold Membership
 Nuke Wiz Posts:164

 |
| 5/21/2006 5:09 PM |
|
Latest version of SimpleGallery.01.09.05 on DNN 4.0.3
I immediately get "page cannot be displayed "uploading Multiple photo files to the gallery from a brand new album the first time a module is being used with a brand new album. I'm running locally (so it's pretty fast) and web.config timeout settings are increased as recommended. I try to sync it afterwards and a dotnetnuke error comes up saying the file path does not exist.
However if I upload a single photo first (which works), I can then upload the zip file, everything works fine after that, including new albums etc, the bug completely goes away.
So I don't think the folders are being created properly when the first thing you do is upload a ZIP file. When you upload your first photo however the folders are created properly and everything will work properly after that. This happened with a brand new module installation (first time I used the app, I subscribed today).
Please confirm bug for next release.
Many Thanks
Alex |
|
|
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12797


 |
| 5/21/2006 6:23 PM |
|
Alex,
I'll investigate and get back to you.
-Scott |
|
Scott McCulloch Site Administrator |
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12797


 |
| 5/21/2006 6:26 PM |
|
Hi Alex,
I tried the following:-
* Added a new page called "Simple Gallery" * Added the simple gallery module to the page * Created a new album called test * Uploaded a zip file of photos
Everything seemed to go OK.
Did you customize the albumpath when creating an album?
I was using DNN 3.1.1 though, I assume you have the correct permissions set, as you were able to upload the module. |
|
Scott McCulloch Site Administrator |
|
|
Alex Shirley Gold Membership
 Nuke Wiz Posts:164

 |
| 5/22/2006 3:55 AM |
|
Hi
I followed the exact procedure you described (no custom file path). The only difference is that I had only just uploaded the module (successfully) for the first time ever and I was using DNN 4.0.3.
I shall try installing the module on another new page and see if the problem repeats itself. Might be 48 hours before I get back to you (sorry).
Everything in DNN generally works fine (permissions and everything).
Cheers
Alex |
|
|
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12797


 |
| 5/22/2006 7:37 AM |
|
Hmm, I have others users using 4.0.3 OK, I'm wondering if it's something in your local development environment causing the problem (maybe permissions or a really long path).
Let me know how you go with your testing.. |
|
Scott McCulloch Site Administrator |
|
|
Alex Shirley Gold Membership
 Nuke Wiz Posts:164

 |
| 5/22/2006 12:38 PM |
|
OK it works perfectly now whatever I do, even with a different portal that has never used the module before.
I think the issue that needs testing when somebody gets a chance is: With a brand new dotnetnuke 4.0.3 installation create new album, make sure public is off (note issue might occur with public on as well), and first upload a zip file (do not upload a single photograph). If issue I have previously explained occurs then upload a single photograph, and observe that the issue is fixed permanently
Anyway if somebody gets a similar issue the workaround is to upload a single photo, delete it and all will be fixed.
Cheers
Alex
|
|
|
|
|
Alex Shirley Gold Membership
 Nuke Wiz Posts:164

 |
| 5/22/2006 1:06 PM |
|
Oh and one last thing, I haven't test it by removing the module, deleting any gallery folders in the portal or any other residue that might be left, and then reinstalling the module (then follow same procedure as I explained in previous post).
Cheers
Alex |
|
|
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12797


 |
| 5/22/2006 5:45 PM |
|
| I'll do some testing on my local DNN 4.0.3 install and let you know.. thanks for your help |
|
Scott McCulloch Site Administrator |
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12797


 |
| 6/26/2006 2:19 AM |
|
| I haven't been able to reproduce this yet, anyone had similar problems? |
|
Scott McCulloch Site Administrator |
|
|
Steve Topilnycky Gold Membership
 Nuke Wiz Posts:175


 |
|
Scott McCulloch Administrators
 Nuke Master Posts:12797


 |
| 9/04/2006 6:43 PM |
|
Hi Steve,
Is there anything in the admin -> log viewer? (when logged in as host).
Have you made the web.config change to extend the default timeout?
|
|
Scott McCulloch Site Administrator |
|
|
Steve Topilnycky Gold Membership
 Nuke Wiz Posts:175


 |
| 9/04/2006 8:16 PM |
|
Scott,
By Golly, there is:
AssemblyVersion: 04.03.04 PortalID: 0 PortalName: ArGoStuff User to User Support Forums UserID: 1 UserName: host ActiveTabID: 60 ActiveTabName: Test Page RawURL: /TestPage/tabid/60/ctl/Edit/mid/378/Default.aspx AbsoluteURL: /Default.aspx AbsoluteURLReferrer: http://argostuff.topcatcomputing.com:8081/TestPage/tabid/60/ctl/Edit/mid/378/Default.aspx UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322) DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider ExceptionGUID: b82ca128-ba1d-4aea-8ff7-deac2db3b4b2 InnerException: Maximum request length exceeded. FileName: FileLineNumber: 0 FileColumnNumber: 0 Method: System.Web.HttpRequest.GetEntireRawContent StackTrace: Message: DotNetNuke.Services.Exceptions.PageLoadException: Maximum request length exceeded. ---> System.Web.HttpException: Maximum request length exceeded. at System.Web.HttpRequest.GetEntireRawContent() at System.Web.HttpRequest.GetMultipartContent() at System.Web.HttpRequest.FillInFormCollection() at System.Web.HttpRequest.get_Form() at System.Web.HttpRequest.get_HasForm() at System.Web.UI.Page.GetCollectionBasedOnMethod(Boolean dontReturnNull) at System.Web.UI.Page.DeterminePostBackMode() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace --- Source: Server Name: DESTINY
Looks like it timmed out. It will have to make the change to the web.config as recommended in your previous post. Thanks! |
|
-- Regards, Steve Topilnycky Top Cat Computing | Marine Corps League - Westchester County Detachment | ArGoStuff | Young Marines of Westchester |
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12797


 |
| 9/04/2006 9:37 PM |
|
| OK, let me know if it fixes it, it looks like the file was greater then 4 MB (the default for ASP.NET). If you make the changes it should be OK. |
|
Scott McCulloch Site Administrator |
|
|
Richard Thurgood Registered Users
 Nuke Active Member Posts:27


 |
| 9/05/2006 6:02 AM |
|
Could it be your config file setting for maxRequestLength and executionTimeout? Here's mine:
|
|
Richard |
|
|
Richard Thurgood Registered Users
 Nuke Active Member Posts:27


 |
| 9/05/2006 6:04 AM |
|
|
|
Richard |
|
|
Richard Thurgood Registered Users
 Nuke Active Member Posts:27


 |
| 9/05/2006 6:05 AM |
|
Let's try one mor time!!! From my config:
|
|
Richard |
|
|
Richard Thurgood Registered Users
 Nuke Active Member Posts:27


 |
| 9/05/2006 6:07 AM |
|
Scott, can you remove my other posts? I can't get my XML to paste. I'll try it here without the tags:
allow large file uploads
httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="102400" executionTimeout="1800"
|
|
Richard |
|
|
Steve Topilnycky Gold Membership
 Nuke Wiz Posts:175


 |
| 9/05/2006 7:00 AM |
|
Scott,
This did the trick, i uploaded a 18 MB ZIP and it worked like a charm:
<httpRuntime useFullyQualifiedRedirectUrl="true" maxRequestLength="20480" executionTimeout="3600" />
I note a difference, my original httpRuntime had this additional key. I don't know what it does, or if it is required. Can You advise?
requestLengthDiskThreshold="8192"
Here is a thought, can you make the Max Size & time out values configureable via the module instead of editiing the web.config directly...Suggestion for a future revision..
|
|
-- Regards, Steve Topilnycky Top Cat Computing | Marine Corps League - Westchester County Detachment | ArGoStuff | Young Marines of Westchester |
|
|
Alex Shirley Gold Membership
 Nuke Wiz Posts:164

 |
| 9/05/2006 7:11 AM |
|
Are you going via a proxy server, what is the exact and complete error message you are getting? I get problems like this though my ISA 2000 proxy server. I gave in, in the end, I just could not find out how to configure the ISA server timeout (apart from the obvious settings and that didn't work).
The best way a web app can upload files in my opinion is: a) Have a progress bar to show status. b) Consistently refresh the web page every 30 seconds or so i) to avoid web page timeouts ii) To update the progress bar (unless you are using AJAX or something).
>Here is a thought, can you make the Max Size & time out values configureable via the module >instead of editiing the web.config directly...Suggestion for a future revision..
I would not like that. Firstly it's a one off set and forget setting, secondly changes to web.config may restart your app, and this could be done by anyone who has access to editing this module.
Cheers
Alex
|
|
|
|
|
Scott McCulloch Administrators
 Nuke Master Posts:12797


 |
| 9/06/2006 3:55 PM |
|
Make it available in the module by directly modifying the web.config file, is this what you mean?
I do have a progress bar that I have implemented for another module, I am reviewing the license to see if I can integrate it. |
|
Scott McCulloch Site Administrator |
|
|