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.
Everything was working fine for thousands of files a week ago, we just physically moved the computer it was running on. So I am certain that anything that needs to be installed is still installed. The images are still in jpg format too, but they may be from a different source (a different scanner).
I was not aware that the script was unsupported in Windows, if you are unable to help, I understand, and I appreciate your response.
The end of the log is posted below, the only thing that strikes me as unusual is the folder "docs/\" which I had as set to "docs/" (I assume it's a Windows thing). However this was definitely working, as-is, very recently.
It does confirm that "- MIME validated as image/jpeg", and; - class version : 0.29 - operating system : WINNT - PHP version : 5.3.5 - GD version : 2.0.34
source is a local file files/10001303827667DOC019.jpg - local file name OK
source variables - You can use all these before calling process() file_src_name : 10001303827667DOC019.jpg file_src_name_body : 10001303827667DOC019 file_src_name_ext : jpg file_src_pathname : files/10001303827667DOC019.jpg file_src_mime : image/jpeg file_src_size : 363379 (max= 134217728) file_src_error : 0
process file to docs/\ - file size OK - file mime OK : image/jpeg - new file name ext : jpeg - new file name body : Other.1303833501 - destination variables file_dst_path : docs/\ file_dst_name_body : Other.1303833501 file_dst_name_ext : jpeg - image operation, change extension for conversion type - checking for auto_rename - destination file details file_dst_name : Other.1303833501.jpeg file_dst_pathname : docs/\Other.1303833501.jpeg - Other.1303833501.jpeg doesn't exist already - image resizing or conversion wanted - error: Error in creating JPEG image from source.
Thanks for your response.
Everything was working fine for thousands of files a week ago, we just physically moved the computer it was running on. So I am certain that anything that needs to be installed is still installed.
The images are still in jpg format too, but they may be from a different source (a different scanner).
I was not aware that the script was unsupported in Windows, if you are unable to help, I understand, and I appreciate your response.
The end of the log is posted below, the only thing that strikes me as unusual is the folder "docs/\" which I had as set to "docs/" (I assume it's a Windows thing). However this was definitely working, as-is, very recently.
It does confirm that "- MIME validated as image/jpeg", and;
- class version : 0.29
- operating system : WINNT
- PHP version : 5.3.5
- GD version : 2.0.34
source is a local file files/10001303827667DOC019.jpg
- local file name OK
source variables
- You can use all these before calling process()
file_src_name : 10001303827667DOC019.jpg
file_src_name_body : 10001303827667DOC019
file_src_name_ext : jpg
file_src_pathname : files/10001303827667DOC019.jpg
file_src_mime : image/jpeg
file_src_size : 363379 (max= 134217728)
file_src_error : 0
process file to docs/\
- file size OK
- file mime OK : image/jpeg
- new file name ext : jpeg
- new file name body : Other.1303833501
- destination variables
file_dst_path : docs/\
file_dst_name_body : Other.1303833501
file_dst_name_ext : jpeg
- image operation, change extension for conversion type
- checking for auto_rename
- destination file details
file_dst_name : Other.1303833501.jpeg
file_dst_pathname : docs/\Other.1303833501.jpeg
- Other.1303833501.jpeg doesn't exist already
- image resizing or conversion wanted
- error: Error in creating JPEG image from source.
Regards,
Michael