class.upload.php is a powerful and mature PHP class to manage uploaded files, and manipulate images in many ways. The script is available under a GPL license.
- 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
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: failedReply
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
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
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
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
Thanks
- 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?
- 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
file not uploaded to the wanted location Error: Can't create the temporary file. Can't carry on a process.
In any case, your file hasn't been uploaded properly. The error code 2 means that the file is too big.
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.
where can I find or enable the complete log?
Thanks,
Dub
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.
Try to output $handle->error before calling $handle->process()