-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Type file invalid #92
Comments
I don't know where you got the documentation, how did you declare your Mime types ?
|
Maybe the problem was related with the bug #93. Check with the latest version in master branch to see if works. |
Yes, I have the latest version in my app, my Model is this: var $actsAs = array( |
This is exactly what I said, you must replace "allowed_mime" by "allowedMime", "allowed_ext" by "allowedExt", "create_directory" by "createDirectory", ... And replace in "dir", {model} by {ModelName} and {field} by {fieldName}. You can see the whole syntax and options in MeioUpload behavior between line 33 and 68. |
Oh, thanks for help me. I replace, and my model stay: The problem when I add one post, the field picture say for me: "Invalid type file" |
I configured right in my cakephp 2.0
Files in the Plugin paste, configuration in the Model correct, added for load my Plugin in the Model.
But, when i upload one image, don't save my image, and show me that file is invalid.
I don't know why, I just try install sometimes again, but don't work.
help me please.
thanks
The text was updated successfully, but these errors were encountered: