Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 19. Oct 2017, 16:37

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
 Post subject: Partial Uploads
PostPosted: 15. Jul 2011, 13:52 
Offline

Joined: 15. Jul 2011, 13:42
Posts: 4
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


Top
 Profile  
 
 Post subject: Re: Partial Uploads
PostPosted: 15. Jul 2011, 14:07 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10497
can you enable the upload debug in the config and then check the log file.
Then you should see where the upload fails.

- Michael


Top
 Profile  
 
 Post subject: Re: Partial Uploads
PostPosted: 15. Jul 2011, 16:40 
Offline

Joined: 15. Jul 2011, 13:42
Posts: 4
I will when they get their datacenter back online. A huge number of sites are now down.


Top
 Profile  
 
 Post subject: Re: Partial Uploads
PostPosted: 15. Jul 2011, 17:35 
Offline

Joined: 15. Jul 2011, 13:42
Posts: 4
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


Top
 Profile  
 
 Post subject: Re: Partial Uploads
PostPosted: 16. Jul 2011, 20:37 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10497
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


Top
 Profile  
 
 Post subject: Re: Partial Uploads
PostPosted: 20. Jul 2011, 20:59 
Offline

Joined: 15. Jul 2011, 13:42
Posts: 4
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?


Top
 Profile  
 
 Post subject: Re: Partial Uploads
PostPosted: 20. Jul 2011, 21:32 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 10497
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group

phpBB SEO