I try to make an upload form. But something is going wrong. When I enter a rule in the model, I do get a message: Please fix the following input errors: Image cannot be blank. Although I did select a file, on a windows machine, called test.jpg in the root. When I delete the rule I do get another message: Fatal error: Call to a member function saveAs() on a non-object