jgonyea / grav-plugin-podcast

GravCMS plugin that creates podcast channel and podcast episode page templates along with a podcast RSS feed.
MIT License
18 stars 7 forks source link

Unable to add locally hosted file, when attempting to save: Save Failed: Undefined index: mime_type #40

Closed csimsbsr closed 3 years ago

csimsbsr commented 3 years ago

I've set up Grav on both an Nginx and Apache server, then installed Podcast and dependencies via the admin plugin, but both give me the same issue when trying to add the episode to the podcast audio tab. The page media upload is fine and it will save, it also works fine with setting an episode image, but it refuses to save and returns "Save Failed: Undefined index: mime_type" when trying to save after the episode is selected from the drop box.

issue page 1 issue page 2

csimsbsr commented 3 years ago

After many hours of testing, and ending up trying WordPress and getting similar errors, I have since discovered that for some reason some MP3 files saved by WavePad sound editor send false information to the server when uploaded, causing the mime-type error.