As of May 31, 2023, we have updated our Code of Conduct.
4 votes
Accepted

Cannot upload EPS to file directory

A coworker had this same problem earlier this week and added 'application/octet-stream' to the mime types to solve this.
Michael McGhee's user avatar
4 votes
Accepted

Unresolved error with EE 2.10.1 and MimeType.php

I just encountered this, and found that I had to follow the instructions in this Dreamhost wiki entry to truly enable fileinfo functions. (The default "shared" fileinfo support didn't cut it.)
Derek Hogue's user avatar
  • 17.4k
4 votes

PHP fileinfo and MimeType.php

EllisLab addresses this issue on a blog post. Part of it: If you encounter problems with uploading files check the following: Login to your CP and go to Tools, then Utilities, then PHP Info. If you ...
Sobral's user avatar
  • 6,108
3 votes
Accepted

Unable to upload PDF using File Upload

With that error when uploading a PDF the first thing to take a look at is Admin ‣ Security and Privacy ‣ Security and Sessions and see whether "Apply XSS Filtering to Uploaded Files" is set to "yes." ...
Alex Kendrick's user avatar
  • 7,961
2 votes
Accepted

Undefined variable: whitelist whenever trying to interact with files

Did you run an EE upgrade recently?? They changed how they detect mime types: https://ellislab.com/expressionengine/user-guide/about/changelog.html Look at the change log for 2.10. They use a ...
jrothafer's user avatar
  • 5,900
2 votes
Accepted

CRUDL Interface for Custom Data and Files: The Correct Way

The best way would be to use the Model service to create Channel Entries and files: https://docs.expressionengine.com/latest/development/services/model.html This will guarantee you are saving ...
jrothafer's user avatar
  • 5,900
2 votes

I'm trying to upload a favicon to EE, but it says the .ico file type is not allowed

I would upload it to the root of the site and then link to it in the head of your document like this <!--favicon--> <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />...
CreateSean's user avatar
  • 4,757
1 vote
Accepted

File names with special characters

This is a bug, and a solution from EllisLab can be found at https://support.ellislab.com/bugs/detail/20972
Christofer Sandin's user avatar
1 vote

WSOD on File Upload

SOLVED Reason was PHP GD was not installed. Fixed by running the following on the server: sudo apt-get install php-gd
tigercore's user avatar
1 vote
Accepted

Assets: Clean up Upload-Directories

Do you plan to continue using Assets? If you do you probably can achieve all this simply by dragging / dropping images within the Assets UI. If you plan to eliminate Assets, you cannot simply change ...
JCOGS Design's user avatar
  • 3,587
1 vote
Accepted

No Uploads with RTE Image Upload?

You need to change the directory dropdown from "All" to the directory you're trying to upload to. Once you select it you should get the option to upload at the bottom.
Michael McGhee's user avatar
1 vote

File uploader error: File Not Found

Had the same issues here. I'm setting my url and directory paths in a config file but was missing the trailing slash as mentioned above on my path. I should note, my issue was happening on a IIS ...
Andy's user avatar
  • 43
1 vote
Accepted

Uploading .rfa file

I solved it myself. In the end I had to load the site up locally and step through the php files using a debugger to find out what it was. Although the file was being uploaded as application/octet-...
Patrick64's user avatar
  • 430
1 vote
Accepted

Easy creation of new file upload directory per entry instead of per channel?

If you want to upload a slideshow images per entry and you want separate directories per entry. You can simply use channel images plugin. It will create separate directories for each entry and you can ...
Mufi - Amici Infotech's user avatar
1 vote

Memory exhausted when uploading images

Your php.ini could be overridden somewhere. Check Tools > Utilities > PHP Info to see if there are any local values that don't match your php.ini If you're on Apache try looking for a ....
Craig Duarte's user avatar
1 vote
Accepted

File upload in grid renames file field

There was a fix for the filenames with special characters issue in EE2.10.3. Doing an upgrade should fix it.
Bluedreamer's user avatar
  • 1,577
1 vote
Accepted

EE Matrix filepicker error: Cannot read property 'rows' of null

Have you tried updating to the latest version of Matrix? Perhaps it's a compatibility issue. https://docs.pixelandtonic.com/matrix/changelog.html
Kerry Johnson's user avatar
1 vote

How do I upload a file from my template to my Channel Files field?

Easiest way to do this and see the markup used for channel form is to use the following. {exp:channel:form channel='other_details'} <input type='hidden' name='title' value='Some new title ...
mattsidjohn's user avatar
  • 1,029
1 vote

This form has expired. Please refresh and try again. in EE 3.0.5 File Manager

Issue resolved. Uploading a smaller file size seems to have done the trick. Still requires: $config['disable_csrf_protection'] = "y";
Stuart Thornton's user avatar
1 vote

Allow SVG upload in EE

The svg files is considered as text/html mime type by the finfo_file(). So you need to set Allowed File Types as All file types inside File Upload Preferences to allow svg file uploads.
Jainil's user avatar
  • 626
1 vote

How to use Solspace Importer for files

If you look at the data stored in exp_channel_data for regular EE File Upload fields, you'll see files stored this way, eg: {filedir_1}myfile.jpg, where 1 is your upload field ID (this changes ...
Solspace's user avatar
  • 6,139
1 vote

Any way to get EE to upload not-properly encoded mp3s?

Try to disable XSS filtering in your security preferences. It looks like EE flags those files as suspicious.
Ingmar's user avatar
  • 506
1 vote
Accepted

EE 3.0 $.ee_filebrowser.add_trigger console errors

Had time to circle back around to this and finish up my add-on. I don’t think the FilePicker service was documented when I started the question, but it certainly is now: https://docs.expressionengine....
TJ Draper's user avatar
  • 952
1 vote
Accepted

Solspace composer template if field_type = file

I don't know Composer at all... This would be comment if it weren't going to be so long. OK, so let's debug. I'm not sure if this is a production template. If so, holy crap-a-rolla, make a duplicate ...
jrothafer's user avatar
  • 5,900
1 vote
Accepted

Getting images out of the system

You started fine with the manual deletion; you just need to complete the process. Open your Edit form and find your entry_id. Then, go to your field groups and find the field_id of the file field. ...
jrothafer's user avatar
  • 5,900
1 vote
Accepted

Cannot upload Adobe InDesign file

What version of EE are you using? Modern (2+) use an array to identify mime type allowances. In my version I'm looking at (2.9.2), it looks like this: $mimes = array( 'ai' => '...
jrothafer's user avatar
  • 5,900
1 vote

Trying to use the bxSlider by setting the <li> as fields as background images in expressionengine

Will this work for you? You don't need to put the {slider images} tag, it doesn't do anything. <ul class="bxslider"> {exp:channel:entries channel="slider_test" dynamic="no" limit="1"} ...
jrothafer's user avatar
  • 5,900
1 vote
Accepted

File Upload Issue In Channel Form

I had the same issue. You can solve it by disabling XSS filtering: Admin -> Security and Privacy -> Security and Sessions. Than select "No" for "Apply XSS Filtering to uploaded files"
Balloonatic's user avatar
1 vote

File upload not working in expressionengine 2.10.0

I had a similar issue recently when PHP was reconfigured. It turned out PHP's fileinfo extension wasn't enabled. Fixing that fixed the upload problem I was having. Might at least be something to check ...
Matthew's user avatar
  • 187
1 vote

Links to PDF don't work in File Manager

I think that linking non-image files didn't start happening until 2.7.0. In the docs for the 2.7.0 update under General Changes: "All files regardless of type are now linked for viewing in the File ...
Romans-8---31-39's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible