-
Notifications
You must be signed in to change notification settings - Fork 59
Description
Hi,
I've just discovered this branche for the MeioUpload behavior. I had just set up the 1.0.1 version, which worked fine. When I discovered it wasn't actually using PHPThumb, I decided to switch to this version. When replacing the code with this one I get the following errors:
Warning (2): file_get_contents() [function.file-get-contents]: Unable to access /phpsKmFIm [CORE/cake/libs/file.php, line 170]
Warning (2): file_get_contents(/phpsKmFIm) [function.file-get-contents]: failed to open stream: Inappropriate ioctl for device [CORE/cake/libs/file.php, line 170]
Also some PHPThumb errors which are probably caused by the PHP errors:
phpThumb() v1.7.10-201104242100
Unknown image type identified by "" () in SourceImageToGD() [3523]
Edit: I have analysed the code and it seems the behavior is using the CakePHP File class to handle the actual upload. Isn't it more easier to just use PHP's move_uploaded_file()? Is there some reason for using the File class?