Just installed Internet Media Manager on Linux with PHP 5.2.5 with safe_mode off and short_open_tag on. Invoking configure.php went fine. After that while trying to open index.php I got the following message:
- Code: Select all
Fatal error: Cannot redeclare mime_content_type() in /opt/lampp/htdocs/imm/tables/files/files.php on line 24
I commented out "else" branch between lines 20 and 28 and Internet Media Manager started without problems. Now I am able to add files, photos looks just fine but when I add swf or flv files, preview is not possible. Under the Embeded code field I get message "Sorry this mimetype is not yet handled." I wander is it maybe because of my workaround in files.php file.
Thanks in advance.