Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum
https://www.tinywebgallery.com/forum/

Partial Uploads
https://www.tinywebgallery.com/forum/viewtopic.php?f=13&t=3060
Page 1 of 1

Author:  fossilman [ 15. Jul 2011, 13:52 ]
Post subject:  Partial Uploads

I'm having problems with multiple uploads. A single file of any size will work, but multiple selection uploads fail after the first file. My site is a shared install on cloudaccess.net

PHP 5.2.10
Apache 2.2.3
Joomla 1.5.23
JFU 2.14.2

PHP upload limit (in KB): 204800
PHP memory limit (in KB): 131072
Max. resize resolution: ~ 5207 x 3910
PHP max input time: 60 s
PHP max execution time: 1100 s
Default socket timeout: 60 s

I've made the modifications to .htaccess and placed php.ini files with your recommendations in the appropriate directories, but to no avail. I've included the log output.

Thanks

07.15.2011 7:33:20 - 1. Config loaded
07.15.2011 7:33:20 - 2. Authenification sucessfull
07.15.2011 7:33:20 - 3. Directory read:

./__/__/__/__/userfiles/testuser1
07.15.2011 7:33:20 - 3a. $_FILES content:
Array
(
[Filedata] => Array
(
[name] => 2010 (1).gpx
[type] => application/octet-stream
[tmp_name] => /tmp/phpQCQz6w
[error] => 0
[size] => 154546
)

)

07.15.2011 7:33:20 - 4. Check valid extension: 2010 (1).gpx
07.15.2011 7:33:20 - 4a. Extension valid.
07.15.2011 7:33:20 - 5. Before move_uploaded_file : /tmp/phpQCQz6w

-> ./__/__/__/__/userfiles/testuser1/2010 (1).gpx
07.15.2011 7:33:20 - 5a. After move_uploaded_file.
07.15.2011 7:33:20 - 6. Uploaded.
07.15.2011 7:33:20 - 7. Internal processing done.
07.15.2011 7:33:20 - 9. End upload
07.15.2011 7:33:20 - 10. End store session
07.15.2011 7:33:25 - 1. Config loaded
07.15.2011 7:33:25 - 2. Authenification sucessfull
07.15.2011 7:33:25 - 3. Directory read:

./__/__/__/__/userfiles/testuser1
07.15.2011 7:33:25 - 3a. $_FILES content:
Array
(
[Filedata] => Array
(
[name] => 2010 (2).gpx
[type] =>
[tmp_name] =>
[error] => 3
[size] => 0
)

)

07.15.2011 7:33:25 - 4. ERROR: Php upload error: The uploaded file

was only partially uploaded. Please check your timeouts.
07.15.2011 7:33:25 - 9. End upload
07.15.2011 7:33:25 - 10. End store session
07.15.2011 7:33:30 - 1. Config loaded
07.15.2011 7:33:30 - 2. Authenification sucessfull
07.15.2011 7:33:30 - 3. Directory read:

./__/__/__/__/userfiles/testuser1
07.15.2011 7:33:30 - 3a. $_FILES content:
Array
(
[Filedata] => Array
(
[name] => 2010 (3).gpx
[type] =>
[tmp_name] =>
[error] => 3
[size] => 0
)

)

07.15.2011 7:33:30 - 4. ERROR: Php upload error: The uploaded file

was only partially uploaded. Please check your timeouts.
07.15.2011 7:33:30 - 9. End upload
07.15.2011 7:33:30 - 10. End store session

Author:  TinyWebGallery [ 15. Jul 2011, 14:07 ]
Post subject:  Re: Partial Uploads

can you enable the upload debug in the config and then check the log file.
Then you should see where the upload fails.

- Michael

Author:  fossilman [ 15. Jul 2011, 16:40 ]
Post subject:  Re: Partial Uploads

I will when they get their datacenter back online. A huge number of sites are now down.

Author:  fossilman [ 15. Jul 2011, 17:35 ]
Post subject:  Re: Partial Uploads

Here's the verbose log:


Request: /administrator/components/com_jfuploader/tfu/tfu_upload.php?dir=&TFUSESSID=s19in3pbgu6cs2qdpudfkcjc31&PHPSESSID=s19in3pbgu6cs2qdpudfkcjc31&size=100000&zeit=1310743964781&tfu_rn=1317895728392616411720744509035&tfu_is_flash_10=1&remaining=2
Stack: tfu_upload.php:78:tfu_debug:3a. $_FILES content:
Array
(
[Filedata] => Array
(
[name] => 2010 (2).gpx

07.15.2011 11:32:45 - 4. ERROR: Php upload error: The uploaded file was only partially uploaded. Please check your timeouts.
Request: /administrator/components/com_jfuploader/tfu/tfu_upload.php?dir=&TFUSESSID=s19in3pbgu6cs2qdpudfkcjc31&PHPSESSID=s19in3pbgu6cs2qdpudfkcjc31&size=100000&zeit=1310743964781&tfu_rn=1317895728392616411720744509035&tfu_is_flash_10=1&remaining=2
Stack: tfu_upload.php:86:tfu_debug:4. ERROR: Php upload error: The uploaded file was only partially uploaded. Please check your timeout
07.15.2011 11:32:45 - 9. End upload
Request: /administrator/components/com_jfuploader/tfu/tfu_upload.php?dir=&TFUSESSID=s19in3pbgu6cs2qdpudfkcjc31&PHPSESSID=s19in3pbgu6cs2qdpudfkcjc31&size=100000&zeit=1310743964781&tfu_rn=1317895728392616411720744509035&tfu_is_flash_10=1&remaining=2
Stack: tfu_upload.php:254:tfu_debug:9. End upload
07.15.2011 11:32:45 - 10. End store session
Request: /administrator/components/com_jfuploader/tfu/tfu_upload.php?dir=&TFUSESSID=s19in3pbgu6cs2qdpudfkcjc31&PHPSESSID=s19in3pbgu6cs2qdpudfkcjc31&size=100000&zeit=1310743964781&tfu_rn=1317895728392616411720744509035&tfu_is_flash_10=1&remaining=2
Stack: tfu_upload.php:256:tfu_debug:10. End store session
07.15.2011 11:32:46 - Action:dir; Directory: ./__/__/__/__/userfiles/testuser1
Request: /administrator/components/com_jfuploader/tfu/tfu_file.php?action=dir&dir=&ts=1310743969640&tfu_rn=1317895728392616411720744509035&tfu_is_flash_10=1&tfu_ut=0&TFUSESSID=s19in3pbgu6cs2qdpudfkcjc31
Stack: tfu_file.php:57:tfu_debug:Action:dir; Directory: ./../../../../userfiles/testuser1
07.15.2011 11:32:50 - 1. Config loaded
Request: /administrator/components/com_jfuploader/tfu/tfu_upload.php?dir=&TFUSESSID=s19in3pbgu6cs2qdpudfkcjc31&PHPSESSID=s19in3pbgu6cs2qdpudfkcjc31&size=100000&zeit=1310743969640&tfu_rn=1317895728392616411720744509035&tfu_is_flash_10=1&remaining=1
Stack: tfu_upload.php:48:tfu_debug:1. Config loaded
07.15.2011 11:32:50 - 2. Authenification sucessfull
Request: /administrator/components/com_jfuploader/tfu/tfu_upload.php?dir=&TFUSESSID=s19in3pbgu6cs2qdpudfkcjc31&PHPSESSID=s19in3pbgu6cs2qdpudfkcjc31&size=100000&zeit=1310743969640&tfu_rn=1317895728392616411720744509035&tfu_is_flash_10=1&remaining=1
Stack: tfu_upload.php:63:tfu_debug:2. Authenification sucessfull
07.15.2011 11:32:50 - 3. Directory read: ./__/__/__/__/userfiles/testuser1
Request: /administrator/components/com_jfuploader/tfu/tfu_upload.php?dir=&TFUSESSID=s19in3pbgu6cs2qdpudfkcjc31&PHPSESSID=s19in3pbgu6cs2qdpudfkcjc31&size=100000&zeit=1310743969640&tfu_rn=1317895728392616411720744509035&tfu_is_flash_10=1&remaining=1
Stack: tfu_upload.php:65:tfu_debug:3. Directory read: ./../../../../userfiles/testuser1
07.15.2011 11:32:50 - 3a. $_FILES content:
Array
(
[Filedata] => Array
(
[name] => 2010 (3).gpx
[type] =>
[tmp_name] =>
[error] => 3
[size] => 0
)

)

Request: /administrator/components/com_jfuploader/tfu/tfu_upload.php?dir=&TFUSESSID=s19in3pbgu6cs2qdpudfkcjc31&PHPSESSID=s19in3pbgu6cs2qdpudfkcjc31&size=100000&zeit=1310743969640&tfu_rn=1317895728392616411720744509035&tfu_is_flash_10=1&remaining=1
Stack: tfu_upload.php:78:tfu_debug:3a. $_FILES content:
Array
(
[Filedata] => Array
(
[name] => 2010 (3).gpx

07.15.2011 11:32:50 - 4. ERROR: Php upload error: The uploaded file was only partially uploaded. Please check your timeouts.
Request: /administrator/components/com_jfuploader/tfu/tfu_upload.php?dir=&TFUSESSID=s19in3pbgu6cs2qdpudfkcjc31&PHPSESSID=s19in3pbgu6cs2qdpudfkcjc31&size=100000&zeit=1310743969640&tfu_rn=1317895728392616411720744509035&tfu_is_flash_10=1&remaining=1
Stack: tfu_upload.php:86:tfu_debug:4. ERROR: Php upload error: The uploaded file was only partially uploaded. Please check your timeout
07.15.2011 11:32:50 - 9. End upload
Request: /administrator/components/com_jfuploader/tfu/tfu_upload.php?dir=&TFUSESSID=s19in3pbgu6cs2qdpudfkcjc31&PHPSESSID=s19in3pbgu6cs2qdpudfkcjc31&size=100000&zeit=1310743969640&tfu_rn=1317895728392616411720744509035&tfu_is_flash_10=1&remaining=1
Stack: tfu_upload.php:254:tfu_debug:9. End upload
07.15.2011 11:32:50 - 10. End store session
Request: /administrator/components/com_jfuploader/tfu/tfu_upload.php?dir=&TFUSESSID=s19in3pbgu6cs2qdpudfkcjc31&PHPSESSID=s19in3pbgu6cs2qdpudfkcjc31&size=100000&zeit=1310743969640&tfu_rn=1317895728392616411720744509035&tfu_is_flash_10=1&remaining=1
Stack: tfu_upload.php:256:tfu_debug:10. End store session
07.15.2011 11:32:50 - Action:dir; Directory: ./__/__/__/__/userfiles/testuser1
Request: /administrator/components/com_jfuploader/tfu/tfu_file.php?action=dir&dir=&ts=1310743974562&tfu_rn=1317895728392616411720744509035&tfu_is_flash_10=1&tfu_ut=5&check_upload=true&TFUSESSID=s19in3pbgu6cs2qdpudfkcjc31
Stack: tfu_file.php:57:tfu_debug:Action:dir; Directory: ./../../../../userfiles/testuser1

Author:  TinyWebGallery [ 16. Jul 2011, 20:37 ]
Post subject:  Re: Partial Uploads

have you tried to increase

PHP max input time: 60 s
Default socket timeout: 60 s

The error does happen before the JFU script is even reached (error 3).
See http://www.tinywebgallery.com/en/tfu/tfu_faq_19.php

Best,
Michael

Author:  fossilman [ 20. Jul 2011, 20:59 ]
Post subject:  Re: Partial Uploads

I finally got my host to make a change, but only to increase the PHP max input time from 60 s to 200 s.

It had no affect, and the multiple uploads still fail.

I'd hate to give up on this because it's a great component. Any other suggestions?

Author:  TinyWebGallery [ 20. Jul 2011, 21:32 ]
Post subject:  Re: Partial Uploads

you have to check the server log files. There there exact problem should be reported.
Maybe it is a apache configuration that has a limit.

- Michael

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/