Skip to main content

Questions tagged [file-upload]

Filter by
Sorted by
Tagged with
0 votes
0 answers
17 views

Status of J_FILE Field Type for Subforms in Joomla

Hello Joomla Community, I’m reaching out to clarify the current status of the J_FILE field type in Joomla. Based on my research and discussions, it appears that Joomla has had ongoing issues related ...
user4571727's user avatar
2 votes
0 answers
139 views

How do I upload a file with article custom fields?

I've created a custom field plugin type "file" and am using it as custom field on articles so users can upload a file (the "media" type file does not suit my needs). It looks and ...
Alexandre Paulo's user avatar
1 vote
1 answer
233 views

PDF file upload only works in JCE (Joomla 3.10.6)

I'm puzzled by why I can only upload PDFs from within the editor when I use JCE. The site I'm working on is using YOOtheme Pro and if I try to add a PDF as a link in a gallery element it "...
Dan's user avatar
  • 83
1 vote
0 answers
31 views

Upload volume changes do not apply to php.ini

Hi I have a centos 7 server and a cwp 7 panel. I have the latest version of Joomla and WordPress installed on them. The size of uploaded files in Joomla is 2 MB. I increased the upload_max_filesize ...
hamin hamon's user avatar
1 vote
1 answer
375 views

How adjust "Maximum upload size" indicator for file upload?

Joomla prints a short notice regarding the Maximum upload size when including a file upload field with the standard form field file, see code and image below: <field name="image" ...
jost21's user avatar
  • 239
0 votes
0 answers
29 views

Whitespace characters in image filenames are not working

My Joomla version is 3.7.2 and my problem is that category images do not render when the filename contains whitespace characters. For example, an image name like: Atlas Vandal Resistant category ...
Kirpal's user avatar
  • 1
0 votes
1 answer
45 views

Photo size validation

I use the Fox Contact component on my website, and through that component users send me photos (as an attachment) I had to make a few modifications in the upload form itself and make filters for file ...
Midhat's user avatar
  • 109
1 vote
1 answer
102 views

Uploading file using Form class in admin template control panel

I'd like to include an XML form field in my template that allows the user to upload an image file for the company logo. I know how to do this for a regular component's administrator control panel, but ...
webstackdev's user avatar
1 vote
0 answers
52 views

Upload and attachement for phpmailer

hello i starting an code to allow sending file via a form i create an input file field <input type="file" name="'.$field_name.'[]" accept="'.$values_field[0].'" id="'.$field_id.'" '.$placeholder.' ...
user2822359's user avatar
0 votes
1 answer
141 views

Listening for a "image upload" event

I want to be able to programatically keep track of new images that have been added, so that I can periodically run a script that does something with the new images. My idea is to have a plugin that ...
William's user avatar
  • 299
1 vote
0 answers
38 views

How to set default permissions of files uploaded through Joomla Media Manager?

I'm running Joomla(3.9.8) on an Apache/PHP server on Linux. If you touch a file as the server user (and from PHP running on the server), the permissions of that file are: -rw-rw-r--. However, if a ...
rudib's user avatar
  • 111
1 vote
1 answer
632 views

Front-end custom Joomla module to upload an image and save it in the Joomla images folder

I work on a custom Joomla module that would let users to upload profile images. I created a JForm and wanted to use the form field type "file" as below: <field name="Photo" type="file" label="...
wanderlusted's user avatar
0 votes
4 answers
846 views

Edit HTML-Code of specific Joomla Page

I am a Joomla Beginner and would like to know, how I can edit the HTML-Code of a specific webpage in Joomla. I am not talking about editing an article, but the whole URL. And just a single one! Is ...
Mio K.'s user avatar
  • 1
1 vote
1 answer
107 views

Upload and download Joomla

I need to create a knowledge bank portal where user with permission can upload and also download the document such pdf,docx. The other user such as public can use search to search document and ...
wan k's user avatar
  • 15
1 vote
1 answer
651 views

file upload in admin backend - custom component

In my custom component/admin, in the item edit template I am trying to let the user upload a file. The problem is that the file is not being passed in my save function. There is not even in the array ...
mixahlos's user avatar
  • 418
1 vote
1 answer
253 views

JFile::makeSafe does not convert file name

I need to rename and save a file upload when saving an item in a custom component. The problem is that the JFile::makeSafe function seems like is not converting the filename as you can see below. So ...
mixahlos's user avatar
  • 418
1 vote
1 answer
111 views

validate file type in joomla or core php

In joomla or core php when we upload any file it validate only extension on file. Issue is that when i am changed the extension of an .exe file to pdf/jpg it gets uploaded. And validation failed. Can ...
mohan's user avatar
  • 71
1 vote
0 answers
66 views

How to extend / override the JFile class?

I want to extend/override the JFile class without hacking Joomla files. How do I even begin to extend the class using best practices?
crazyKida's user avatar
1 vote
0 answers
380 views

How to upload an image using Ajax?

I need to upload an image to the server via AJAX, but the server comes back to the page with request, although server doesn't send anything. ajax: function uploadServer($el) { var fileUpload = $...
Илья Балабуев's user avatar
0 votes
1 answer
184 views

Admin Component File Upload -> Cannot Get JInput to work

I am struggling to get an admin form file upload to work using JInput. I have tried pretty much every permutation of $input->files->get(''); I can think of with no luck. No matter what I do, it ...
Zachary Draper's user avatar
1 vote
1 answer
50 views

Big Sized files download links for frontend users component

Is there any component which allows large files management. I would like to provide download links for frontend users but but the file size excedes 500MB. On the other side just the logged in users ...
fefe's user avatar
  • 111
3 votes
4 answers
1k views

Joomla custom fields type url file - upload?

I am trying to add a simple file upload field type to the com_contact using Joomla's custom fields. I see there is a 'URL scheme File' type but I couldn't figure out how to get that to work as a file ...
user3750757's user avatar
2 votes
1 answer
654 views

Bulk insert records in database from excel

I am developing a component from which user can upload excel sheet and the data must be saved into database. When excel sheet rows are 250 then insertion works fine but when the rows are 2500 or more ...
Liz.'s user avatar
  • 1,385
3 votes
2 answers
4k views

Warning: Failed to move file! Error Unable to upload file

Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move '/tmp/phpNvO1BD' to '/home/kimberly/public_html/tmp/IMG_1934.JPG' in /home/kimberly/public_html/libraries/joomla/...
Uma Shankar Singh's user avatar
2 votes
2 answers
1k views

Upload code files to Joomla site

We are trying to add Python code files to our Joomla site. We are using the JCE editor plugin, which does not seem to allow this (we've been trying different combinations wrt. the JCE settings). Has ...
Sebastian Sulger's user avatar
3 votes
2 answers
259 views

Why does Joomla change the file permissions on installation of plugins?

I have the following problem: I have a apache server running under the user http:http. Further the php scripts are evaluated through fastcgi and php-fpm. The php scripts are running under the user foo:...
Christian Wolf's user avatar
3 votes
4 answers
1k views

Ajax error when attempting component updates

I am having a couple of issues with a Joomla 3.6 site that I maintain. Issue 1 is with the Joomla update component. When the update attempts to run it gets an Ajax alert error, and the following ...
TEN Design's user avatar
1 vote
2 answers
1k views

Gateway Timeout : 504 Error

I am facing an issue with uploading an excel data sheet. The functionality is like User uploads an excel sheet Records are inserted into that custom component's tables by which graphs are shown in ...
Liz.'s user avatar
  • 1,385
4 votes
2 answers
2k views

How to save image in specified folder in joomla directory and save file name in db

I am working on a custom component, where at the backend interface - we want the admin user to be able to upload image and let that image directly save to a specified folder - /images/uploads/variants/...
Ruchika's user avatar
  • 425
0 votes
1 answer
360 views

How to add attribute to <form> of backend for module

How can I add the attribute enctype="multipart/form-data" to the <form> tag in the configuration page for a module? That attribute is needed to upload a file to the server. I am trying to ...
Kibner's user avatar
  • 23
1 vote
2 answers
728 views

how to rename file on upload custom component joomla 3

I recently create a custom component with Component Creator, and I have a form in admin area that uploads file... But I can't upload files with same name it's going to replace the previous file, now ...
Arash Yazdani's user avatar
1 vote
1 answer
1k views

**Warning: Failed to move file!** **Error** **Unable to upload file.**

The error raises whenever I try to upload a file (image) via backend clicking the image button in the tinymce editor. I've also tried to upload going to media manager and it fails and this is the ...
Riccardo990's user avatar
1 vote
1 answer
113 views

Mulitple column insert

I have multiple custom file inputs in my module , id like to save all this inputs in my database table ("Custom table , not the Joomla tables") , below is my code , which saves only 1 input , there ...
Jimmy Obonyo Abor's user avatar
2 votes
1 answer
948 views

Cannot enable 'Install from web' and cannot upload extension manually

I have just setup a joomla 3 site on demojoomla.com. I have managed to upload a template but I have not been able to upload any extensions (JCE or Akeeba). When I try to enable Install fromm web I ...
paul's user avatar
  • 197
0 votes
0 answers
165 views

Upload form to upload files and filter the public view based on category

I am looking for an extension or a way to allow users to upload their documents based on the category e.g. a User will upload food recipe document (pdf/doc) in the category of "Chinese" or "Maxican"....
wolvorinePk's user avatar
7 votes
6 answers
1k views

What is the best place to store downloadable PDF invoices?

My component will produce invoices in PDF format that will be available for customers to download. Where is the best place to store these files? /adminitrator/componentes/com_mycomponent/invoices /...
Piero Marsilio's user avatar
1 vote
3 answers
712 views

Upload a file from custom component folder when installing the component

I know how to upload file given from jform if a component is already installed. But how to upload a file from my admin/assets/ folder of my component when installing the component? In my script.php I ...
stckvrw's user avatar
  • 891
1 vote
2 answers
2k views

Free file attachment to editor (alternative of JCE file manager plugin)

As you know, JCE file manager is not free. So, I am after a free plugin or component that can attach files (pdf,doc,zip, ...) to an article, but it must provide easy access from editor, like file ...
Ali's user avatar
  • 111
0 votes
1 answer
1k views

Is it possible to upload file using Joomla Ajax Interface (com_ajax)

I am using com_ajax in a module. I have a form with text inputs which I can pass through to the method and store to database but I am struggling to upload a file. Code that works fine for text inputs ...
danielrt9's user avatar
4 votes
2 answers
6k views

How to create a simple image uploader for custom component

I'm developing a custom component for creating, editing and saving data of single records including images. I know that in admin/models/forms/record.xml there must be field name="image" type="file" ...
stckvrw's user avatar
  • 891
3 votes
1 answer
1k views

Joomla 3.4 Development File Handling

I am making a basic MVC component, mostly following the HelloWorld tutorial. I made a form which contains a upload button and an input of type "file". The form loads fine, but when I upload a file I ...
user avatar
0 votes
1 answer
211 views

Thumbnail image is not transferred into another folder

I create a form which contain one image-array(name="image[]",type="file") to upload multiple images.And when user click on save button image is save in destination folder and with that thumbnail is ...
deval oza's user avatar
2 votes
1 answer
91 views

Select flash in com_banners

I have problem with flash files in com_banners. When I select "image", I can upload flash file but I can't choose flash because it's not on the list. I can put manualy path but it's not good idea for ...
Paweł Malisak's user avatar
1 vote
2 answers
1k views

Cannot upload attachment to K2 items using FTP

I am using K2 for content managing. In order to upload files I had to set /media/k2 directory's and its subdirectories' to 775. So, of course the web site has been damaged because of www-data group ...
zkanoca's user avatar
  • 533
2 votes
1 answer
1k views

Localhost configuration problem- loading extensions "There was an error uploading this file to the server."

Running ubuntu 14.04 Joomla 2.5.27 locally (2.5.28 remotely - not relevant to my question as far as I'm aware.) I am having trouble configuring my site to run locally. I have the site installed on my ...
user avatar
2 votes
2 answers
279 views

Cannot upload extensions manually

I keep getting errors when trying to upload to my tmp directory, it always fails if I try by URL or upload. The only way it works is via a direct upload Joomla extension. As I have root access I have ...
cea's user avatar
  • 165
4 votes
1 answer
813 views

Custom Component - JInput Isn't Getting the Form Input

I have an input form in the admin view: <form name="upload" method="post" enctype="multipart/form-data"> <input type="file" name="file_upload" /> <input type="submit" value="...
Eric's user avatar
  • 245
5 votes
3 answers
1k views

Folder create when user register joomla website?

In my Joomla site my users can upload and download files (docs and pdfs). So I want to create a separate folder for each and every user in my server. When a user register on my website a folder is ...
reegan29's user avatar
  • 187
4 votes
1 answer
659 views

File selector in the front-end of a specific directory

I am developing a component which has a front-end form. In this form it must be possible to select and upload a File to a user-specific directory. I found and tested the module Easy File Uploader ...
Marc T.'s user avatar
  • 267
4 votes
1 answer
1k views

File password extra protection

We have a site which is used for files being uploaded and downloaded. For added security we want to have it on set files when you click the link to download it you'll be requested a password, this ...
lee murphy's user avatar