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
PopUp Window just showing Transfer Completed

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



Joined: 27 Oct 2006
Posts: 2

PostPosted: Oct 27, 2006 1:31 pm    Post subject: PopUp Window just showing Transfer Completed Reply with quote

Hi all,

i want to use the free version of xupload but i've got a little problem:

the first time i try to upload a file, the popup window just shows me "Transfer completed" and "close window", nothing more. If I try to upload another file the popup shows correctly the statusbar, time, etc.

Does anybody know, how to solve this problem? The problems occurs only the first time you go to the upload-page.

I hope somebody can help...

Sorry for the bad english, i've tried my best Wink

thx to all Wink

zorn Wink
Back to top
View user's profile Send private message
tubbly



Joined: 06 Sep 2006
Posts: 15

PostPosted: Oct 30, 2006 9:32 am    Post subject: Reply with quote

I'm using the Pro version but have also noticed this problem sometimes.

I can't pin it down to any particular browser (though we mainly use Safari on Mac OS X) and in my case it does NOT do it every first time I use the Upload Page, but perhaps every 5 times or so.

I've recently started trying out Firefox with Mac OS X and so far have not had the problem so I'm assuming it's a browser problem.

I usually just refresh the page and select the file to upload again!
Back to top
View user's profile Send private message
PilgrimX182



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

PostPosted: Oct 30, 2006 12:54 pm    Post subject: Reply with quote

Make sure you put right paths in the config. Use .htaccess posted on xupload main page.
Back to top
View user's profile Send private message Visit poster's website AIM Address
zorn



Joined: 27 Oct 2006
Posts: 2

PostPosted: Oct 30, 2006 5:37 pm    Post subject: Reply with quote

hi @ all Wink

thanx for the answers Smile

i've solved the problem by uncommenting line 34 in upload_status.cgi: sleep 1;

now the upload-page works without any problems Smile

thanx to all,

zorn Wink
Back to top
View user's profile Send private message
mrsippy



Joined: 30 Oct 2006
Posts: 1

PostPosted: Oct 30, 2006 11:04 pm    Post subject: Same problem under IIS Reply with quote

I have just purchased the pro version and have a similar problem, that is not solved by the above solution.
The web server is IIS.
The whole thing works nicely on my own PC, which is running IIS for my developing. Everything displays correctly, files appear in the temp transfer directory, then are moved to the uploads directory. Progress bar displays correctly.

However it does not work on any other PC. The main page (http://development.tenderlink.com/XUploadPro/htdocs/upload_form.html) displays fine, with the correct number of upload files etc.. but when I go to upload my files in a pop-up window, it delays for a while - then says transfer complete (because there is no flength file in my transfer directory, in fact it is completely empty - no folders are even created).
However in the background the transfer is obviously still happening, because about 30 seconds later a folder briefly appears in the transfer directory, then it is instantly moved to the upload directory, where I can now see the file. My original upload page then takes me on to the redirect page I have set up.
So in the end I get the file OK, but there is no progress, as there is nothing in the temp folder during the entire upload.
None of this happens when I start the upload on teh PC running IIS.
Any help would be most appreciated.... Thanks
Back to top
View user's profile Send private message
PilgrimX182



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

PostPosted: Oct 31, 2006 6:28 am    Post subject: Reply with quote

mrsippy, the sympthoms are very similar to that when you have cluster on that 'other PC'. Do you? We had this situation once. The problem is that file synchronisation is a bit slow between cluster nodes.

Try these modifications:

in upload_status.cgi find "for(1..3)" and change to "for(1..10)", also find "my $ftime = (lstat($flength_file))[9];" and change to "my $ftime = time;"

If this won't help you can email us FTP/SSH access to your server to debug/fix the script for that server.
Back to top
View user's profile Send private message Visit poster's website AIM Address
ap



Joined: 08 Jan 2007
Posts: 21

PostPosted: Jan 16, 2007 8:54 pm    Post subject: Reply with quote

Also, I am wondering if the script is struggling if the network or internet slows down, lets say to 49kbps. Does script get confused? If I change the line "if($curr_time-$modif_time>30) # 30 seconds without filesize modification means upload failure" to a very high number under the upload_status.cgi script, will this help the script to reconnect to the sever and make the prgress bar and status window operate correctly. Just some food for thought.
Back to top
View user's profile Send private message
was



Joined: 21 Jan 2007
Posts: 2

PostPosted: Jan 21, 2007 1:05 pm    Post subject: Reply with quote

We use PRO version and everything worked fine until we moved to a new hosting.

Currently if ‘Show upload status’ box is checked, popup window doesn’t show progress bar, but only 'Transfer completed. Close' and the original upload page doesn’t redirect me to the thank you page!
If ‘Show upload status’ box isn’t checked I’m redirected to the thank you page.
Files are uploaded successfully in both cases.

What can be the problem with a progress bar?

I use your .htaccess file and set up CHMODs correctly.
Back to top
View user's profile Send private message
PilgrimX182



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

PostPosted: Jan 22, 2007 6:41 am    Post subject: Reply with quote

Are you sured .htaccess alowed on this new hosting?

Not sured how progress bar affect main upload in your case. Please PM me URL to your upload form to check things out.
Back to top
View user's profile Send private message Visit poster's website AIM Address
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