Problem

See all posts Reply

Problem new!
by Marijan, 16 years, 10 months ago
Can't create the temporary file. Can't carry on a process.

My log
- source variables
file_src_name :
file_src_name_body :
file_src_name_ext :
file_src_pathname :
file_src_mime :
file_src_size : (max= 33554432)
file_src_error : 2
process file to ../../../../upload/news/\
- attempting creating a temp file: failed
error : Can't create the temporary file. Can't carry on a process


ThanksReply
Re: Problem new!
by Marijan, 16 years, 10 months ago
I m uploading image about 2.5 mb, when i put image size about 500 kb he works fineReply
Re: Problem new!
by colin, 16 years, 10 months ago
Some ideas....

- Permissions are wrong, but then you wouldn't be able to upload 500KB file.
- Your server is running out of space, or your account is almost over-quota

Can you paste the logs when it works, with the 500kb image? Do you also have a link to a PHPinfo()? Which version of the class are you using?Reply
Re: Problem new!
by Dublay, 15 years, 5 months ago
Same over here. I can upload images, but he failed to resize.

- class version : 0.26
- GD version : 2.0.28
- supported image types : png jpg gif bmp
- open_basedir : /home/vpell/html/my-domain.com
- language : en_GB
source is an uploaded file
process file to /home/vpell/html/my-domain.com/images/thumbs/
- attempting creating a temp file: failed
Reply
Re: Problem new!
by colin, 15 years, 5 months ago
Can you try with 0.27, or even 0.28RC2?Reply
Re: Problem new!
by Dublay, 15 years, 5 months ago
Thanks for your quick reply. Same error message with 0.27. Maybe it' an outdated GD version making trouble here?Reply
Re: Problem new!
by Dublay, 15 years, 5 months ago
There's another error message:

file not uploaded to the wanted location Error: Can't create the temporary file. Can't carry on a process.Reply
Re: Problem new!
by colin, 15 years, 5 months ago
If you have file_src_error : 2, the variable $handle->uploaded should be false, and you shouldn't be calling process(). Can you try with this new version 0.28RC3?

In any case, your file hasn't been uploaded properly. The error code 2 means that the file is too big.Reply
Re: Problem new!
by Dublay, 15 years, 5 months ago
file not uploaded to the wanted location Error: File not uploaded. Can't carry on a process.

system information
- class version : 0.28RC3
- GD version : 2.0.28
- supported image types : png jpg gif bmp
- open_basedir : /home/vpell/html/my-domain.com
- language : en_GB
source is an uploaded file
- error: File not uploaded. Can't carry on a process.


The file in normal size has been uploaded to the server, but not resized.Reply
Re: Problem new!
by colin, 15 years, 5 months ago
What does the complete log say?Reply
Re: Problem new!
by Dublay, 15 years, 5 months ago
Hi Colin,

where can I find or enable the complete log?

Thanks,
DubReply
Re: Problem new!
by colin, 15 years, 5 months ago
Add at the end of your code:
echo $handle->log;
Reply
Re: Problem new!
by Dublay, 15 years, 5 months ago
That's all I got:

system information
- class version : 0.28RC3
- GD version : 2.0.28
- supported image types : png jpg gif bmp
- open_basedir : /home/vpell/html/my-domain.com
- language : en_GB
source is an uploaded file
- error: File not uploaded. Can't carry on a process.
Reply
Re: Problem new!
by colin, 15 years, 5 months ago
What is your code? Are you sure you are calling $handle->process() after checking that $handle->uploaded is true?

Try to output $handle->error before calling $handle->process()Reply