chrome upload rar file

See all posts See thread Reply

Re: chrome upload rar file new!
by devlism, 13 years, 11 months ago
class.upload.php test forms

file not uploaded to the wanted location
Error: MIME type can't be detected.
file not uploaded to the wanted location
Error: MIME type can't be detected.
do another test

system information
- class version : 0.30
- operating system : WINNT
- PHP version : 5.2.3
- GD version : 2.0.34
- supported image types : png jpg gif bmp
- open_basedir : no restriction
- upload_max_filesize : 2M (2097152 bytes)
- language : en_GB
source is an uploaded file
- upload OK
- file name OK
determining MIME type
- Checking MIME type with Fileinfo PECL extension
Fileinfo PECL extension not available
- Checking MIME type with UNIX file() command
UNIX file() command not availabled
- Checking MIME type with mime.magic file (mime_content_type())
mime_content_type() is not available
- Checking MIME type with getimagesize()
getimagesize() failed
- MIME type detected as by browser
- Try to guess MIME type from file extension (rar): MIME type set to
- MIME type couldn't be detected! ()
source variables
- You can use all these before calling process()
file_src_name : 2checkout.rar
file_src_name_body : 2checkout
file_src_name_ext : rar
file_src_pathname : C:\WINDOWS\TEMP\php27D.tmp
file_src_mime :
file_src_size : 3742 (max= 2097152)
file_src_error : 0
process file to test\
- file size OK
- error: MIME type can't be detected.
process file to test\
- file size OK
- error: MIME type can't be detected.
cleanup
- delete temp file C:\WINDOWS\TEMP\php27D.tmp
Reply
Re: chrome upload rar file new!
by colin, 13 years, 11 months ago
Fileinfo PECL extension not available
UNIX file() command not availabled
mime_content_type() is not available
getimagesize() failed
MIME type couldn't be detected! ()


The excerpts from the log above indicate that your server is not able to detect MIME types. You need to make sure that at least one method works. You can configure your server to do so, or else ask you hosting provider.Reply