XUpload - Progress indicator stops at 5 minutes

Message
Author
nodak
Posts: 14
Joined: Apr 13, 2007 7:01 pm

Progress indicator stops at 5 minutes

#1 Postby nodak » Apr 19, 2007 6:00 pm

I did some searching and will do some more after I post, but the progress indicator stops after 5 minutes of uploading.

The files all upload completely and my php script finishes it's work as intended, but the progress indicator is really a key part of my over all script.

I've increased the timeout in IIS to 30 minutes and am stuck as to what to try next.

Platform: Windows 2003 server running IIS6
XUpload Pro

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » Apr 20, 2007 5:42 am

This is IIS problem, still timeout scripts on your server.
You've set up timeout there: http://www.microsoft.com/technet/commun ... 2.mspx#EOD ?

Some users report that using perl as ISAPI filter helped to fix timeout problem. Try to use Perl via ISAPI using Perliis.dll (or perlis.dll). This may help.
http://support.microsoft.com/default.as ... s;245225#4

nodak
Posts: 14
Joined: Apr 13, 2007 7:01 pm

#3 Postby nodak » May 01, 2007 5:53 pm

Sorry, been busy finishing off another big web based project for our Intranet.

I've set the timeout already, the process is considerably different in IIS6 on Windows 2003 server, but I've done what was recommended.

Here's a link to a really good article on configuring CGI timeout on IIS 5 and 6 for anyone who may need it: http://www.iis-resources.com/modules/AM ... toryid=509

I've also set Perl up correctly per the second link. As I mentioned it IS working, the progress indicator just stops moving after 5 minutes.

nodak
Posts: 14
Joined: Apr 13, 2007 7:01 pm

#4 Postby nodak » May 01, 2007 6:01 pm

I've switched to the perlis.dll file, will see how it goes.

nodak
Posts: 14
Joined: Apr 13, 2007 7:01 pm

#5 Postby nodak » May 01, 2007 6:21 pm

Ok, switching to perlis.dll breaks the page. Throws javascript error saying max_upload_files is undefined and then defaults to one file allowed.

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#6 Postby PilgrimX182 » May 02, 2007 6:02 am

That is cause you get an error in upload.cgi. Run /upload.cgi?mode=settings in browser to see the error.

Make sure you've done Instruction 7 from here: http://www.sibsoft.net/forum/read-this- ... k-t84.html

nodak
Posts: 14
Joined: Apr 13, 2007 7:01 pm

#7 Postby nodak » May 02, 2007 3:58 pm

PilgrimX182 wrote:That is cause you get an error in upload.cgi. Run /upload.cgi?mode=settings in browser to see the error.

Make sure you've done Instruction 7 from here: http://www.sibsoft.net/forum/read-this- ... k-t84.html
Already set those to make it work. It was when I switched the executable to perlis.dll did it start to error out. I'll switch back and see what the error throws. It almost seems like it can't find the config file.

nodak
Posts: 14
Joined: Apr 13, 2007 7:01 pm

#8 Postby nodak » May 02, 2007 4:04 pm

Ok, the perlis.dll error is odd. There is no warning from the script itself. It seems that it's something to do with our intranet page, we are including the upload script in a frame and I think our web admin has something that is conflicting with my script. When I switch to perlis.dll and browse inside the frame it errors out. But loading it in a new window works fine.

So need to figure that out before seeing if perlis.dll will fix the progress bar stopping at 5 minutes.

Thanks.

nodak
Posts: 14
Joined: Apr 13, 2007 7:01 pm

#9 Postby nodak » May 02, 2007 5:01 pm

Ok, after further troubleshooting, we've realized that the error only occurs in IE 7. I don't have an IE 6 installation to test against unfortunately.

Works just fine in Firefox.

First error thrown says it's missing a ; on line 2, the second says max_upload_files is undefined. So looks like there's an incompatibility issue in xupload.js with IE7 when running under perlis.dll.

When using perl.exe it does not error out at all.

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#10 Postby PilgrimX182 » May 03, 2007 7:45 am

No, it works fine under IE7. Test it on our site's demo.
Did you try things from that article from iis-resources.com you announce?
Not sured what's how perlis.dll can cause IE7 error but works in FF. Do you have max number of files & max upload size values in upload form?

nodak
Posts: 14
Joined: Apr 13, 2007 7:01 pm

#11 Postby nodak » May 03, 2007 10:52 pm

The max upload value should be pulled from the config file. No I don't have those values on the form itself.

nodak
Posts: 14
Joined: Apr 13, 2007 7:01 pm

#12 Postby nodak » May 04, 2007 4:56 pm

PilgrimX182 wrote:No, it works fine under IE7. Test it on our site's demo.
Did you try things from that article from iis-resources.com you announce?
Not sured what's how perlis.dll can cause IE7 error but works in FF. Do you have max number of files & max upload size values in upload form?
Is your site's script running on IIS though? I've never used the Perlis.dll either. So I don't know why it would do this. It's like it can't find the path to the config file.

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#13 Postby PilgrimX182 » May 07, 2007 5:11 am

Make sure you have this in upload.cgi & upload_status.cgi:

Code: Select all

use lib '/path/to/script/folder'; 
chdir('/path/to/script/folder');
use Full path there.

If you still have problems, PM me URL to your script & FTP access so I can quickly fix it if it's possible in code.