The mimetype could not be detected from the file Home › Forums › Learn ZF2 › The mimetype could not be detected from the file This topic contains 2 replies, has 2 voices, and was last updated by firstname.lastname@example.org 3 years, 5 months ago. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts 2014/05/29 at 6:34 pm #347 email@example.comParticipant Hello, git checkout 'ch-database' after submitting the form, the ‘Your Photo’ field returns the following error: The mimetype could not be detected from the file I tried with PNG, JPG and JPEG and always get the same error. Any idea from what it comes from? Many thanks 2014/05/30 at 2:42 pm #349 Slavey KaradzhovParticipant Hi Brad, Most probably you are missing the fileinfo PHP extension. Checkout this link for more information: http://stackoverflow.com/questions/2526286/zend-form-the-mimetype-of-file-foto-jpg-could-not-be-detected Regards, Slavey 2014/08/13 at 9:49 pm #563 firstname.lastname@example.orgParticipant Thanks Slavey, I didn’t succeed to fix it for the moment but I will go like that as it’s purely a “personal configuration” issue. Author Posts Viewing 3 posts - 1 through 3 (of 3 total) You must be logged in to reply to this topic.