0

I'd like to be able to upload PPT files in the CP, but I'm getting the "File not allowed" error. Can anyone tell me how to resolve this? This is in EE5 5.3.0--all the solutions I've seen have been in the EE2 format.

I've tried adding this to mimes.php with no success:

$config['mime_whitelist_additions'] = array(
  'application/vnd.ms-powerpoint'
);

Then I refresh the CP and try again, getting the same error.

Any ideas?

1
  • I noticed that some PPT files upload file, however. So this PPT may actually be formatted differently, though it opens fine. Is there a solution to this, like allowing the file extension rather than mime type? Or is that a bad idea? Commented Jan 27, 2020 at 15:07

1 Answer 1

1

There are a few mime types for .ppt files, try adding these:

.ppt application/mspowerpoint

.ppt application/powerpoint

.ppt application/vnd.ms-powerpoint

.ppt application/x-mspowerpoint

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.