Inserting Image / Uploading Media Fail.
  • Hi there,

    I've installed Tango CMS just fine, im running it on MYSQL PHPmyAdmin. I cant get the upload form for media items to work, when i upload an item i get an error at the top of page "OOops, an error occurred while uploading your files".
    Also when trying to insert an image into a page it doesnt show up in the editor or on the main site. Is this due to where the images are saved? This is the only issue stopping my site from going live. I appreciate your advise.

    All the Best

    Kieran
  • Hi i found this in the log file inside application/logs:

    [2011-05-13T13:26:48+01:00] [127.0.0.1 | uid 2] [warning] -- (unknown:0) zula_get_file_mime() no method to get mime type, please install "FileInfo" extension
    [2011-05-13T13:26:48+01:00] [127.0.0.1 | uid 2] [warning] -- (unknown:0) unable to find mime type for uploaded file

    Is this the issue with regards to uploading?

    Thanks
  • Hi Kboo,

    Yep, that'll be the issue. You'll need to install the PHP "FileInfo" extension as the warning shows, that will fix your problem.
  • Where do I go to install the PHP FileInfo extension?
  • That depends entirely on your OS/Distro and configuration. You'll have to give more info as to what you're running.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

Tagged