Upload not work

edited December 2015 in Feature Requests
I am using Fuel CMS 1.3.1 with wamp.
I am trying to upload files in the images directory or other additional directories but nothing.
I receive this error :The filetype you are attempting to upload is not allowed.I create subfolder without any problems.
Why? This function is very important for me

Comments

  • edited 6:58AM
    What type of files are you trying to upload? Also, what kind of mime type is your server reading it as (sometimes that requires hacking into the CI Upload class to determine what the mime type by debugging the CI_Upload::file_type)?

    Also, there is a FUEL config value of 'editable_asset_filetypes' the specifies what folders can contain what file types. The following code is the default configuration but can be copied to the fuel/application/config/MY_fuel.php file to alter.
    $config['editable_asset_filetypes'] = array( 'images' => 'jpg|jpeg|jpe|gif|png|zip|svg', 'pdf' => 'pdf|zip', 'media' => 'mov|mp3|aiff|mpeg|zip', 'assets' => 'jpg|jpeg|jpe|png|gif|mov|mpeg|mp3|wav|aiff|pdf|css|zip|svg' );
  • Sorry for the delay, but I had to try alone the solution.
    I downloaded and mechanism implemented the CMS without my customizations.
Sign In or Register to comment.