Can not create Temporary File

See all posts See thread Reply

Re: Can not create Temporary File new!
by colin, 16 years, 5 months ago
Can you copy here the complete log generated by the class? Can you also link to the phpinfo() of your Mac (or a copy of it)?Reply
Re: Can not create Temporary File new!
by Joeri, 16 years, 5 months ago
I have the same problem.
Below is my log file.

system information
- GD version : 2.0
- supported image types : png jpg gif bmp
- open_basedir : /www/htdocs/keesinternetnl/:/tmp:/usr/share/php
- language : en_GB
source is an uploaded file
- upload OK
- file name OK
- source variables
file_src_name : Forest Flowers.jpg
file_src_name_body : Forest Flowers
file_src_name_ext : jpg
file_src_pathname : /tmp/phpnktTHE
file_src_mime : application/octet-stream
file_src_size : 128755 (max= 20971520)
file_src_error : 0
process file to /www/htdocs/keesinternetnl/http/fotoalbum/uploads/thumbs/
- file size OK
- file mime OK : application/octet-stream
- file name safe format
- destination variables
file_dst_path : /www/htdocs/keesinternetnl/http/fotoalbum/uploads/thumbs/
file_dst_name_body : Forest_Flowers
file_dst_name_ext : jpg
- no image operation, keep extension
- checking for auto_rename
- destination file details
file_dst_name : Forest_Flowers.jpg
file_dst_pathname : /www/htdocs/keesinternetnl/http/fotoalbum/uploads/thumbs/Forest_Flowers.jpg
- Forest_Flowers.jpg doesn't exist already
- attempting creating a temp file:/www/htdocs/keesinternetnl/http/fotoalbum/uploads/thumbs/ failed
Reply
Re: Can not create Temporary File new!
by colin, 16 years, 5 months ago
Are you sure /www/htdocs/keesinternetnl/http/fotoalbum/uploads/thumbs/ is writeable by your web server? Try to chmod it to 777 just to see what it does.

In your example above, can you check if /tmp/phpnktTHE is a valid image?Reply