I am using the Media plugin by David Persson for CakePHP (https://github.com/davidpersson/media). I’ve placed the files in app/plugins/media and added
require APP . 'plugins/media/config/core.php';
to my app’s core.php, but when I run cake media init I get this error:
Fatal Error: Call to undefined method MIME_Type::config() in C:\xampp\htdocs\wompwomp\app\plugins\media\config\core.php on line 166
Any idea what’s happening here? Can I just make the directories manually? If so, what are the default directories?
It looks like you need to install the MIME_Type library. The pear package for it is available here.
EDIT
The proper library would be found here.