| View previous topic :: View next topic |
| Author |
Message |
zorn
Joined: 27 Oct 2006 Posts: 2
|
Posted: Oct 27, 2006 1:31 pm Post subject: PopUp Window just showing Transfer Completed |
|
|
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
thx to all
zorn  |
|
| Back to top |
|
 |
tubbly
Joined: 06 Sep 2006 Posts: 15
|
Posted: Oct 30, 2006 9:32 am Post subject: |
|
|
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 |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1107 Location: Undisclosed location
|
Posted: Oct 30, 2006 12:54 pm Post subject: |
|
|
| Make sure you put right paths in the config. Use .htaccess posted on xupload main page. |
|
| Back to top |
|
 |
zorn
Joined: 27 Oct 2006 Posts: 2
|
Posted: Oct 30, 2006 5:37 pm Post subject: |
|
|
hi @ all
thanx for the answers
i've solved the problem by uncommenting line 34 in upload_status.cgi: sleep 1;
now the upload-page works without any problems
thanx to all,
zorn  |
|
| Back to top |
|
 |
mrsippy
Joined: 30 Oct 2006 Posts: 1
|
Posted: Oct 30, 2006 11:04 pm Post subject: Same problem under IIS |
|
|
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 |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1107 Location: Undisclosed location
|
Posted: Oct 31, 2006 6:28 am Post subject: |
|
|
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 |
|
 |
ap
Joined: 08 Jan 2007 Posts: 21
|
Posted: Jan 16, 2007 8:54 pm Post subject: |
|
|
| 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 |
|
 |
was
Joined: 21 Jan 2007 Posts: 2
|
Posted: Jan 21, 2007 1:05 pm Post subject: |
|
|
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 |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 1107 Location: Undisclosed location
|
Posted: Jan 22, 2007 6:41 am Post subject: |
|
|
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 |
|
 |
|