Questions tagged [file-uploads]
The process of uploading files to the server from within ExpressionEngine using native functionality or addons.
271
questions
8
votes
2
answers
469
views
MSM Bootstrapping
I've just added a secondary site to my Git-bootstrapped EE-site. I've added new upload destinations and I've added them to my file-uploads array in my config.php. My file-uploads array looks like this ...
7
votes
2
answers
914
views
File Uploads with Special Characters
I just updated a site from 2.1.3 to 2.5.3 and I'm having some trouble with old file uploads.
First Problem
EE now seems to URL Encode the file URL which causes some issues with Image Sizer since it ...
7
votes
2
answers
522
views
Insert Link dialog hangs using wygwam in Internet Explorer - not other browsers
When editing an entry ... highlight text, click ‘Link’ icon > the wrong dialog appears with ‘Select an Anchor’ and ‘E-mail Address’ (see image).
There are similar problems in inserting an image
...
6
votes
2
answers
523
views
Safecracker File: Rename on Upload
How can I rename files uploaded via Safecracker?
More specifically, I would like to prefix the file name with the logged in user's username, convert to lower case & replace spaces with hyphens.
...
5
votes
1
answer
2k
views
Thumbnail could not be created for the image. Please make sure the thumbnail directory is writable.
I'm getting the following error when trying to upload images on all of the upload directories. The directories are set to 777.
"Thumbnail could not be created for the image. Please make sure the ...
5
votes
3
answers
415
views
Assets won't upload large file?
I'm running into an issue where Assets doesn't upload a file over ~10MB. I've used EE's file manager and that could upload two different files, one ~18MB and one ~23MB.
I have this in .htaccess (...
4
votes
2
answers
405
views
Securing Files uploaded with FreeForm
Does anyone know of a straightforward way of securing files which have been uploaded via Solspace FreeForm?
In a nutshell, what I'd like to have is files uploaded to a directory which isn't ...
4
votes
4
answers
1k
views
"Thumbnail could not be created for the image." Error
I've recently migrated a site, and now when uploading pictures through the file manager in Wygwaym images large enough to require a thumbnail cannot be uploaded, very small images, however, can be. I'...
4
votes
2
answers
1k
views
{filedir_X} tag not parsing in File field
I have a link to an uploaded PDF in my template but some of links seem to output a mystery {filedir_3} instead of the path to the upload folder.
So the following template code...
{if ...
4
votes
2
answers
4k
views
PHP fileinfo and MimeType.php
I get this error after upgrading to EE 2.10.1
Fatal error: Call to undefined function EllisLab\ExpressionEngine\Library\Mime\finfo_open() in
/home/foo/bar/EllisLab/ExpressionEngine/Library/Mime/...
4
votes
1
answer
105
views
Mystery {filedir_N} appearing in closing HTML tags
I have been tasked with upgrading EE for a new client. Upon viewing the content directly in the database - I am seeing, within each closing html tag {filedir_15}.
For example:
<h3>This is some ...
4
votes
2
answers
332
views
file modal, doesn't act on any search/filtering
IMPORTANT: It turned out that this question couldn't really be answered based on the info I had provided, and it wasn't possible for me to provide enough info to make it answerable. Tom provided the ...
4
votes
1
answer
341
views
EE 2.7 and File Sync
So I'm not sure what is going on with EE 2.7.0 but the File Sync seems to be a bit whacky. I have 15 files uploaded to my remote server:
Then when I go to File Upload Preferences and click ...
4
votes
1
answer
129
views
files upload who owns them?
I have a few sites that upload a lot of files. My problem is, when someone uses the file upload the files getting uploaded are not owned by anyone at the server level.
rw-r--r-- 1 nobody nobody
...
3
votes
2
answers
1k
views
Can't upload files to Assets 2.0.5 in ExpressionEngine 2.5.5
Cannot upload files with Assets v2.0.5 in ExpressionEngine v2.5.5.
Files uploaded with native EE file manager works.
Directory permissions for upload directory is 777 (for
troubleshooting sake).
XSS ...
3
votes
1
answer
140
views
What is the level of risk in enabling user-uploaded photos in EE?
I know there will always be some level of risk when allowing user-submitted data, but what exactly does EE do natively to filter, validate, and sanitize photo uploads through the standard interface? ...
3
votes
2
answers
1k
views
Can I see the most basic example of a File field in Channel Form (Safecracker)?
I'm using Channel Form/Safecracker and a File field (photo of a person) doesn't work; the UI is messed up: Clicking the "x" only goes to the top of the screen and there's no "Browse" button.
I've ...
3
votes
2
answers
7k
views
increase upload_max_filesize with php.ini
I'm trying to increase the upload file size for my EE installation to 120MB. I have verified that I can modify these settings with my hosting service by adding a php.ini file to my webspace and ...
3
votes
3
answers
645
views
Upload field has disappeared in WYGWAM
My client has alerted me that some time in the last 2-3 months, they've lost the ability to upload files directly through WYGWAM. I've updated WYGWAM to its most recent version, and disabled any ...
3
votes
2
answers
189
views
Exp:resso Store Download error "Unable to locate file ID"
I keep getting a "Unable to locate file ID" when providing a file URL to the store:download tag. I believe this is because I am passing in the URL vs the actual server path.
If my assumptions are ...
3
votes
2
answers
379
views
Cannot upload EPS to file directory
I can't upload .eps extension files to any upload directories. I'm on EE 3.4.5. When I try to upload, I see the following message:
I've tried using the 'mime_whitelist_additions' config override, but ...
3
votes
1
answer
136
views
All "file" fieldtypes being required since upgrade
Sorry to keep whining to you guys :)
After upgrading from 2.5.3 to 2.7.0 and then to 2.7.1 in the last few days,
I've discovered that creating new content and editing existing content are both ...
3
votes
1
answer
190
views
Why is an un-required field required?
I have a template with just two fields is it, an optional field for a thumbnail photograph and a body field for text. Only the body field is required. However, when I attempt to save an entry with ...
3
votes
1
answer
451
views
Renaming image files upon upload.. Channel Images?
I have a gallery on each of my single entry pages, that includes image files uploaded by my users.
Is there a way to automatically change the filenames of these images upon upload? Something like ...
3
votes
2
answers
841
views
Multi-file upload into grid
I've seen hints that the native Grid Fieldtype allows multi-file uploads but I can't find that feature.
http://devot-ee.com/add-ons/jf-multi-file-field says "the new ‘Grid’ field does everything ...
3
votes
1
answer
283
views
Having trouble uploading PDFs to a channel
This is an EE1 site. Whenever I try to upload a PDF I get an error message saying that there was a problem uploading this file. The permissions on the server are still set to 777 and the XSS filtering ...
2
votes
1
answer
196
views
SafeCracker File: min-width/min-height for Images
Is there a way to set a «min-width» for images to a «SafeCracker File»-Field (type: Images)?
We have a SafeCracker-Form, where Users are allowed to upload Images — but these should have a min-size of ...
2
votes
2
answers
85
views
Restrict Members to their own files
I want to have members register, then be able to publish content to a channel. That works fine, however when a user accesses the file manager to upload an image they have access to all images uploaded ...
2
votes
4
answers
5k
views
Cannot Upload PDFs with Firefox (Mimetypes)
I am having a problem specifically with uploading PDF files when using Firefox (27.0.1).
Currently, I have the following in my mimes.php file:
'pdf' => array('application/pdf', 'application/...
2
votes
1
answer
772
views
Unresolved error with EE 2.10.1 and MimeType.php
I'm getting the same error as this question:
Fatal error: Call to undefined function
EllisLab\ExpressionEngine\Library\Mime\finfo_open() in
/home/foo/bar/EllisLab/ExpressionEngine/Library/Mime/...
2
votes
2
answers
122
views
Converting EE1 Text Field with Image tag to EE2 File Field
I've a EE1 - EE2 project where I have a native text field storing a full image tag like:
<img src="{filedir_2}sh-275.jpg" style="border: 0;" alt="SH-641 humidity chamber" />
This being the ...
2
votes
2
answers
2k
views
Creating Links To Uploaded Files (non-Image) Within Entries
I know this may be a silly question, but since I'm new to EE, my client has a requirement of creating links within their entries to files uploaded to the file library. Since we are using the URL ...
2
votes
1
answer
242
views
Uploading file as a modifier in Expresso Store
I would like to have my clients upload a couple files when they add a product to the cart. I want to be able to do something similar to the print products on "missions linked.com".
2
votes
1
answer
2k
views
Unable to upload PDF using File Upload
I have a channel that includes a File field type. I have set two user groups to be able to upload all file types to that field. As a Super Admin I am able to upload there, but members of the other ...
2
votes
1
answer
139
views
Share upload locations MSM
Is there a way to share upload locations between MSM sites, or to sync the dirs for both sites?
If not, is there another module that can do this?
2
votes
2
answers
75
views
A user loaded 7 images in EE 2.5.5. Two images are missing from the front end display
I had been using EE 1.7 and I could always download a loaded image to check for a large size or formatting problem from the backend. Now with 2.5.5, I am not able to download the images or otherwise ...
2
votes
1
answer
96
views
Scan uploaded files for viruses
Is there anyway to scan uploaded files for viruses? Or is there a solution to scan files on the server? If not, this would be an awesome add-on, if someone were to create it.
2
votes
1
answer
1k
views
How can I get the length (duration) of an audio file?
I'm pulling media files (audio and video) into a template with Assets add-on. It doesn't appear to have the ability to grab the length (duration) of the media being uploaded. Is there a quick and easy ...
2
votes
1
answer
606
views
How do I import images to a File Field using DataGrab?
I am importing data using DataGrab and need to be able to link image files correctly in the File field.
I tried using this for the path to the image file:
{filedir_1}myimage.jpg
However, it doesn'...
2
votes
2
answers
232
views
Programmatically Uploading Image
I've got a channel where the editor is specifying a YouTube link. I'll also need a still from the video, which I can get from YT (see https://stackoverflow.com/questions/2068344/how-to-get-thumbnail-...
2
votes
2
answers
191
views
"No file" error when trying to upload files via the file manager
I'm getting a "No file" error when trying to upload files via the native file manager. You can see the browser uploading the image but then you get the rather unhelpful red error message.
I was able ...
2
votes
1
answer
689
views
Need to upload an HTML file and display contents of DIV and nothing else
I have a case in which a client needs to be able to upload a JS and an HTML file to be displayed on a page via file upload fields.
The problem is that the HTML file that is delivered to the client ...
2
votes
1
answer
289
views
Uploading photos to Amazon S3 using Safecracker?
I'm setting up a form where people will be able to submit photos for a contest. It uses Safecracker and the Safecracker file field to upload a single photo and related metadata with the photo going to ...
2
votes
2
answers
129
views
Synchronise Files programmatically/automatically
I'm using phantomjs via an extension to save a screenshot into an EE file directory, but before it's accessible in the admin area, I need to synchronise files.
I can't see anything in the docs for ...
2
votes
1
answer
44
views
File_upload_preferences_model::get_upload_preferences() removed - What to use?
I've had a plugin for ExpressionEngine developed that uses the File_upload_preferences_model::get_upload_preferences() method, which is now removed.
Is there a way for me to update the plugin to ...
2
votes
1
answer
162
views
document management solution for EE with folder tree upload drag n drop
I'm looking for a solution that would enable site admins to upload folders and files á la an FTP client or dropbox via a drag and drop interface. I've had a look at assets but it doesn't seem to ...
2
votes
1
answer
139
views
Converting spaces in file_url with CE String
Using the Grid we've have a project where a large number of files have been uploaded with spaces in the file names. We want to encode the URLs so the files can be downloaded.
To try to solve this we ...
2
votes
2
answers
73
views
File Field within Matrix inside a Low Variable fails to update file field on save
I'm having a similar issue to this one but with a standard File field type instead of Assets. I tried just a File field type inside a Low Variable and it updated properly. This was dated bcd in June ...
2
votes
1
answer
199
views
File Field Class in a custom Add-on - Javascript click event not attaching
I'm using the Entry Widgets Add-on and as part of that I'm trying to create a new widget for it which contains a File FieldType. So I'm using the File Field Class which comes with EE to accomplish ...
2
votes
1
answer
272
views
Image rendition's height and width
SEE: http://ellislab.com/expressionengine/user-guide/modules/channel/custom_fields.html#variable-pair-usage
I have my images resized to multiple thumbnail sizes. How do I access the url, height, and ...