XUpload - Upload fail before the end : caching problem ?

Message
Author
Wolfib
Posts: 2
Joined: Aug 16, 2010 11:46 am

Upload fail before the end : caching problem ?

#1 Postby Wolfib » Aug 16, 2010 12:00 pm

Hello,

I'm currently testing X Upload because I need to transfer big files on my website.

For "small files" (under 100 Mo), it's ok. But for huge files, it doesn't work. For example for the same file, it stops sometimes at 200 Mo, sometimes 700 Mo, sometimes 500.

I kept the .htaccess file as provided by X Upload in the cgi-bin and put all the permissions as required.

I've read on this forum that it can be a caching problem from my host. The trouble is that I have de shared hosting (not sure of my English, but it's not a dedicated server where I can edit the php.ini file).

Is there a way I can test if it comes from a caching problem ? Or (better !) how I can fix this problem ?

Thanks ! ;)

Wolfib

User avatar
PilgrimX182
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » Aug 16, 2010 12:06 pm

Caching problems causing progress bar stuck. Your problem seems caused by server timeout. Try to increase timeout in apache config.
Also check your apache error_log for detailed info.

Wolfib
Posts: 2
Joined: Aug 16, 2010 11:46 am

#3 Postby Wolfib » Aug 16, 2010 4:29 pm

When I do a phpinfo(); my default_socket_timeout is 60. So I have added those lines on my cgi-bin/.htaccess file :

SetEnv PHP_VER 5
SetEnv default_socket_timeout 300

(I'm not really keen on Apache...)

But I still have the same problem.

And as it is shared hosting, I don't have access to the the Apache error_log file (neither the php.ini). But I have an error log file (not sure it's Apache's) which says :

[Mon Aug 16 14:57:20 2010] [error] [client xx.xx.xxx.xx] [host www.xxxx.com] (70014)End of file found: Error reading request entity data, referer: http://www.xxxx.com/xupload/upload_form.html

Does-it help ?

Thanks for your answer anyway.