SibSoft Ltd.
Development Services
software products
 RegisterRegister    SearchSearch   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
EZYWebhost - Cheap XUpload & XFileSharing 100% campatible hosting

AJAX upload progress bar

File sharing script
Progress bar stops

 
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XUpload
View previous topic :: View next topic  
Author Message
Maks



Joined: 03 Sep 2008
Posts: 3

PostPosted: Sep 03, 2008 10:33 am    Post subject: Progress bar stops Reply with quote

Hi,

I have Xupload pro, latest version.

Everytime I try to upload a large file the progress bar will stop at approximately 7.24 minutes.
File progress is at approximately 21.6 of 91.0 Mbytes at that moment.
Browser: Firefox

When I check the temp dir the temp file size keeps increasing.

Vars in XUploadConfig.pm are set to:
max_upload_size => 100
max_upload_filesize => 500
(switched these, seemed to be a bug I read about earlier)

I already checked:
- TimeOut in apache2.conf -> set to 6000 , no result
- post_max_size in php.ini -> set to 120M , no result
- upload_max_filesize in php.ini -> set to 200M , no result

Is there any config parameter I am missing? Or any other suggestions why the progress bar is hanging?
Any help would be very much appreciated as I need the system up and running in a couple of days...


Thanks in advance,
Maks
Back to top
View user's profile Send private message
Maks



Joined: 03 Sep 2008
Posts: 3

PostPosted: Sep 03, 2008 3:31 pm    Post subject: Reply with quote

After more testing seems that progress bar will stop on different times/different upload sizes.
Tested it from Windows machine and OsX, all with firefox...
Still have to see the first time the progress bar will make it to the end of the upload with a large file.
Back to top
View user's profile Send private message
PilgrimX182



Joined: 22 Mar 2006
Posts: 1055
Location: Undisclosed location

PostPosted: Sep 04, 2008 6:38 am    Post subject: Reply with quote

Try to increase delay between ajax requests: in Templates/xstatus.js find
Code:
setTimeout("jah('upload_status.cgi?uid="+sid+"&ajax2=1&num="+num+"');",100);

and increase 100 to 500 or 1000 or even 5000
Make several tests after this.

Do you have Firebug extension? It shows you ajax requests in realtime. Try it and check if it's ajax timeout or something else.
Back to top
View user's profile Send private message Visit poster's website AIM Address
Maks



Joined: 03 Sep 2008
Posts: 3

PostPosted: Sep 05, 2008 7:37 am    Post subject: Reply with quote

Thanks for your reply.
I will try and see if this help.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    SibSoft Ltd Forum Index -> XUpload All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group