Root slideshow, home page banner image upload error "error": Disallowed file type.","errorcode":0 magneto 1 , please solve

2 Answers 2


Use the below command then check again

chmod 777 -R pub/media

Please check that the PHP module fileinfo is enabled on your environment (check that in your php.ini, the line extension=fileinfo.so exists and if it has a ';' in front of it, remove it and restart the php service).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.