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.
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.)
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 ...
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." ...
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 ...
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 ...
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" />...
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
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
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 ...
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.
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 ...
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-...
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 ...
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 ....
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.
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
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 ...
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";
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.
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 ...
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.
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....
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 ...
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. ...
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' => '...
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"}
...
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"
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 ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
file-uploads × 271file-manager × 62
safecracker × 38
assets × 30
image × 29
solspace-freeform × 19
files × 19
matrix × 14
uploads × 14
ee2 × 13
error × 10
fieldtype × 10
safecracker-file × 10
channel-entries × 9
wygwam × 9
multi-site-manager × 9
control-panel × 8
grid × 8
expresso-store × 6
solspace × 6
ee3 × 6
channel-files × 6
custom-fields × 5
ee × 5
ee5 × 5