Reply to Re: Incorrect type of file

Re: Incorrect type of file new!
by Gigi, 15 years, 2 months ago
Hello,

I have same problem with .ZIP files
Until 2-3 weeks it worked perfectly, but now not.


system information
- class version : 0.28
- GD version : 2.0.34
- supported image types : png jpg gif bmp
- open_basedir : /home/cinema/:/usr/lib/php:/usr/local/lib/php:/tmp
- 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
MIME returned as application/x-zip
MIME type detected as application/x-zip by UNIX file() command
source variables
- You can use all these before calling process()
file_src_name : G-Force.zip
file_src_name_body : G-Force
file_src_name_ext : zip
file_src_pathname : /tmp/phpw5VEIT
file_src_mime : application/x-zip
file_src_size : 116112 (max= 6291456)
file_src_error : 0
process file to ../storage/file/2009-09/
- file size OK
- error: Incorrect type of file.


Please help meReply

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