File too big

See all posts See thread Reply

Re: File too big new!
by Wilfried, 15 years, 11 months ago
Hello Colin,
I think i've managed to get a bit further by implementig the code you provide in the Q&A about the multiple uploads.

But now I get an error telling me this :
system information
- class version : 0.28
- GD version : 2.0.28
- supported image types : png jpg gif bmp
- open_basedir : /var/www/vhosts/vriens.be/subdomains/cafeminerva/httpdocs:/tmp
- language :
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 failed
- Checking MIME type with mime.magic file (mime_content_type())
MIME type detected as by mime_content_type()
- Checking MIME type with getimagesize()
getimagesize() failed
- MIME type detected as by browser
- Try to guess MIME type from file extension (gif): MIME type set to image/gif
- can't retrieve image information. open_basedir restriction in place?
source variables
- You can use all these before calling process()
file_src_name : wilfried.gif
file_src_name_body : wilfried
file_src_name_ext : gif
file_src_pathname :
file_src_mime : image/gif
file_src_size : (max= 2097152)
file_src_error :
- source file is an image
image_src_x :
image_src_y :
image_src_pixels :
image_src_type : gif
image_src_bits :
process file to ../fotos/stamgasten/
- file size OK
- file mime OK : image/gif
- no image properties available, can't enforce dimension checks : image/gif
- file name safe format
- destination variables
file_dst_path : ../fotos/stamgasten/
file_dst_name_body : wilfried
file_dst_name_ext : gif
- no image operation, keep extension
- checking for auto_rename
- destination file details
file_dst_name : wilfried.gif
file_dst_pathname : ../fotos/stamgasten/wilfried.gif
- wilfried.gif doesn't exist already
- attempting to use a temp file: failed
- error: Can't create the temporary file. Can't carry on a process.
Reply
Re: File too big new!
by colin, 15 years, 11 months ago
Check the permissions on your destination directory and webspace. Besides, you have problems in the libraries installed to detect MIME types.Reply