Reply to Incorrect type of file

Incorrect type of file new!
by TeOkan, 9 years, 11 months ago
Hi, I use this Class, but on my new server I get an error: Incorrect type of file. I need advice (mime type is according to log well defined).

Here is log:
-------------------------------------------
system information
- class version : 0.32
- operating system : Linux
- PHP version : 5.5.9-1ubuntu4.5
- GD version : 2.1.1
- 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
MAGIC path will not be used
MIME type detected as text/plain; charset=us-ascii by Fileinfo PECL extension
- MIME validated as text/plain
source variables
- You can use all these before calling process()
file_src_name : testicek.txt
file_src_name_body : testicek
file_src_name_ext : txt
file_src_pathname : /tmp/phpOFnUek
file_src_mime : text/plain
file_src_size : 3 (max= 2097152)
file_src_error : 0
process file to common/internal/tmp/
- file size OK
- error: Incorrect type of file.
------------------------------------------

Thank you for any advice.Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important