XUpload - Upload status not available until upload finished - Page 2
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
-
- Posts: 6
- Joined: Apr 25, 2007 5:09 am
Thanks for your help again.
I really appreciate it.
The small file (< 100 byte ) upload is working now.
The max. file size limit is currently set at 100MB in the XUploadConfig.pm file.
However, if I try to upload a 550MB mpg file (xxx.mpg)
It displays "Transfer complete" on the pop-up window in a few seconds.
Instead, it should displays "Max. File Size Limit Exceeded".
Thanks,
Jimmy
I really appreciate it.
The small file (< 100 byte ) upload is working now.
The max. file size limit is currently set at 100MB in the XUploadConfig.pm file.
However, if I try to upload a 550MB mpg file (xxx.mpg)
It displays "Transfer complete" on the pop-up window in a few seconds.
Instead, it should displays "Max. File Size Limit Exceeded".
Thanks,
Jimmy
I'm having the same issue, I've been trying all of the fixes in this forum to no avail. Oh yeah and mine (the free one) comes with a default .htaccess file, I didn't have to create it. What did you do in this last instance to fix the issue?
************ EDIT
I just found out that .htaccess is enabled on my shared host
************ EDIT
I just found out that .htaccess is enabled on my shared host
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
Ok. In upload_status.cgi find line "print $t->output;" and add below:
Then in the same file find
and add below
this should do the work.
Code: Select all
print "<!--".('x'x6000)."-->";
Code: Select all
print"<Script>SP($size,$time,$speed,$files_uploaded,$time_left);</Script>";
Code: Select all
print "<!--".('x'x4000)."-->";
Nope,
I still get the pop-up that says "Upload Failed!" after a few seconds of blank screen and the funny thing is that the other screen redirects to the details of the upload screen. When I check the Uploads folder on the server, the upload is there and is successful.
Here's my .htaccess
I still get the pop-up that says "Upload Failed!" after a few seconds of blank screen and the funny thing is that the other screen redirects to the details of the upload screen. When I check the Uploads folder on the server, the upload is there and is successful.
Here's my .htaccess
Code: Select all
# General Apache options
AddHandler fastcgi-script .fcgi
AddHandler cgi-script .cgi
Options +FollowSymLinks +ExecCGI
<IfModule mod_security.c>
SetEnvIfNoCase Content-Type "^multipart/form-data;" "MODSEC_NOPOSTBUFFERING=Do not buffer file uploads"
</IfModule>
<IfModule mod_gzip.c>
mod_gzip_on No
</IfModule>
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
Ah, "Upload Failed!" problem...that's cause disk caching...
in upload_status.cgi find
and add ABOVE:
with this quick hack status window will wait some time till file appear on disk, then start working.
in upload_status.cgi find
Code: Select all
&DisplayMessage("Transfer complete!")
Code: Select all
for(1..20){ last if -e $flength_file; sleep 1; }
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
It's putting something in my temp folder, but like I said earlier eventhough I get the 'Upload Failed!' on the pop-up. I close the pop-up and notice that the actual 'upload_form.html' is still uploading. It will complete the upload and I will notice the file in my 'Uploads' directory. It's very strange.
I did notice that when you told me to find
above I couldn't find it but instead I found
So, I took
and replaced it with
to find that it looks like it at least tries to start the progress but still gives me an upload failed error. And I still find the file uploaded in my Uploads directory. Could this have something to do with it?
BTW,
Here's the locale of my upload page
http://vcob.org/upload_form.html
Code: Select all
print"<Script>SP($size,$time,$speed,$files_uploaded,$time_left);</Script>";
Code: Select all
print"<Script>SP($size,$time,$speed,0,$time_left);</Script>";
Code: Select all
print"<Script>SP($size,$time,$speed,0,$time_left);</Script>";
Code: Select all
print"<Script>SP($size,$time,$speed,$files_uploaded,$time_left);</Script>";
BTW,
Here's the locale of my upload page
http://vcob.org/upload_form.html
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
You should give me URL in the first post. I've made 'upload' iframe visible and got 'Connection closed by remote server'. So it looks like your server kill script somehow. Maybe cause upload size limit, maybe cause time limit.
I tested 3 times on 3 different mp3s - always got this error after uploading 160Kb.
I tested 3 times on 3 different mp3s - always got this error after uploading 160Kb.
I removed everything I did in the first post and tried to do install it again thinking maybe I didn't chmod something or maybe I forgot a step. I can do whatever you like to this but as it stands it is a default install. Would you like me to do the edits talked about above and then give you the link?
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm
- PilgrimX182
- Posts: 2186
- Joined: Mar 22, 2006 1:39 pm