| View previous topic :: View next topic |
| Author |
Message |
onasre
Joined: 23 Dec 2006 Posts: 2
|
Posted: Dec 23, 2006 12:13 am Post subject: uploading without progress bar |
|
|
hello
i got the script to run but the progress bar doest work Ok , the pop up windows comes and the file info show but not progress
i have edited the .htaccess file .
the uploaded is going well becose i can see the file i uploaded in the uploads folder
try plz
http://www.jordanmusics.com/upload_form.html |
|
| Back to top |
|
 |
PilgrimX182

Joined: 22 Mar 2006 Posts: 2106 Location: UFO Lab
|
Posted: Dec 25, 2006 6:39 am Post subject: |
|
|
First of all it looks you have time anomaly cause your file system time not synchronized with perl time(this happens rarely). Do you run this xupload on cluster?
To fix this replace this srting in upload_status.cgi:
| Code: | | my $ftime = (lstat($flength_file))[9]; # Upload start time |
with
And progress not showing cause temp file not growing. This happens when mod_gzip or mod_security enabled(.htaccess should help, try to comment IfModule directives) or you run it on cluster and there is file synchronization kinda slow, so try to change in this string: "$curr_time-$modif_time>30" 30 to e.g. 90 and test again. |
|
| Back to top |
|
 |
onasre
Joined: 23 Dec 2006 Posts: 2
|
Posted: Dec 25, 2006 11:57 pm Post subject: |
|
|
| i tried that but the progress bar worked for once and never work again lol |
|
| Back to top |
|
 |
|