Page 1 of 1

php uploader never ends

Posted: Fri Apr 02, 2010 2:00 pm
by nelamurugan
after lot of prob with jsp shifted to php and its uploading fine, it cant able to create directories and also in the end of file upload its again beggning from the startr. its never ends.

this is what in debug report.

---- Fri Apr 2 10:01:23 EDT 2010 -----
PHP.ini setup:5.1.6
Free space for /var/www/vhosts/ss4udemo.com/httpdocs/public/uploads:77396885504
file_uploads:1
upload_max_filesize:2024M (script max_size:150000000000)
post_max_size:1024M
max_execution_time:360
max_input_time:60
memory_limit:128M
ignore_user_abort:1
magic_quotes_gpc:1
Method dump:POST
Headers dump:
USER_AGENT=JFileUpload
HOST=www.ss4udemo.com
VIA=1.1 production.ss4u:3128 (squid/2.6.STABLE6)
X_FORWARDED_FOR=192.168.2.16
CACHE_CONTROL=max-age=259200
CONNECTION=keep-alive
GET dump:
POST dump:
emptydirectory=Backdraft_769566/converted
todo=upload
account=Backdraft_769566/original
Processing request
do_post_upload /var/www/vhosts/ss4udemo.com/httpdocs/public/uploads/Backdraft_769566/original
temp_name:
file_name:Toy Story.flv
file_size:0
file_type:
file_error:3
move_uploaded_file: to /var/www/vhosts/ss4udemo.com/httpdocs/public/uploads/Backdraft_769566/original/Toy Story.flv
move_uploaded_file:
do_post_upload completed:Error - PHP upload failed
----- Fri Apr 2 10:02:36 EDT 2010 -----
PHP.ini setup:5.1.6
Free space for /var/www/vhosts/ss4udemo.com/httpdocs/public/uploads:77396869120
file_uploads:1
upload_max_filesize:2024M (script max_size:150000000000)
post_max_size:1024M
max_execution_time:360
max_input_time:60
memory_limit:128M
ignore_user_abort:1
magic_quotes_gpc:1
Method dump:POST
Headers dump:
USER_AGENT=JFileUpload
HOST=www.ss4udemo.com
VIA=1.1 production.ss4u:3128 (squid/2.6.STABLE6)
X_FORWARDED_FOR=192.168.2.16
CACHE_CONTROL=max-age=259200
CONNECTION=keep-alive
GET dump:
POST dump:
emptydirectory=Backdraft_769566/converted
todo=upload
account=Backdraft_769566/original
Processing request
do_post_upload /var/www/vhosts/ss4udemo.com/httpdocs/public/uploads/Backdraft_769566/original
temp_name:/tmp/php8mTYIr
file_name:Toy.flv
file_size:1757614
file_type:application/octet-stream
file_error:0
move_uploaded_file:/tmp/php8mTYIr to /var/www/vhosts/ss4udemo.com/httpdocs/public/uploads/Backdraft_769566/original/Toy.flv
move_uploaded_file:
do_post_upload completed:Error - PHP upload failed

Please tell me whats the problem

Re: php uploader never ends

Posted: Sun Apr 04, 2010 10:43 am
by support
How big is the file you're trying to upload?
Could you make a test with a small file?

Re: php uploader never ends

Posted: Tue Apr 06, 2010 10:29 am
by nelamurugan
Yes, the file size is 300mb,avi file. Small files are uploaded and big ones some times not. But i can upload more than 1gb using jsp. Is it because of time out prob.

Re: php uploader never ends

Posted: Tue Apr 06, 2010 6:38 pm
by support
Yes, it's because of php.ini configuration. upload in PHP is limited to 2MB depending on what you have in php.ini. Could you check this file?