FuelPHP throws error ErrorException [ Warning ]: finfo::finfo() [finfo.finfo]: Failed to load magic database at '' when calling File::download(). Funny thing is I already use File::download in another controller action and there it works... but not here. My code is simple:
You can try working around it by finding the location of your local magic file, make sure it can be read by your webserver user, and create a file.php config file in config/development, in which you add
return array('magic_file' => [your local file path here]);