Questions tagged [file-upload]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
41 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 "...
user avatar
  • 73
1 vote
0 answers
15 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 ...
user avatar
0 votes
0 answers
29 views

Capture multiple images using camera in file upload field in RSForm Pro

I want to capture multiple images using camera in file upload field in RSForm Pro. Currently, it won't allow me to capture multiple images in the single field. Please see the file upload field, in ...
user avatar
1 vote
1 answer
176 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" ...
user avatar
  • 219
0 votes
0 answers
23 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 ...
user avatar
  • 1
0 votes
1 answer
44 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 ...
user avatar
  • 99
1 vote
1 answer
68 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 ...
user avatar
1 vote
0 answers
30 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.' ...
user avatar
0 votes
1 answer
82 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 ...
user avatar
  • 299
1 vote
0 answers
33 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 ...
user avatar
  • 111
1 vote
1 answer
365 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="...
user avatar
0 votes
4 answers
579 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 ...
user avatar
  • 1
1 vote
1 answer
45 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 ...
user avatar
  • 15
1 vote
1 answer
506 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 ...
user avatar
  • 408
1 vote
1 answer
193 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 ...
user avatar
  • 408
1 vote
1 answer
84 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 ...
user avatar
  • 71
1 vote
0 answers
62 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?
user avatar
1 vote
0 answers
291 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 = $...
user avatar
0 votes
1 answer
147 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 ...
user avatar
1 vote
1 answer
36 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 ...
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 ...
user avatar
2 votes
1 answer
597 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 ...
user avatar
  • 1,365
3 votes
2 answers
3k 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/...
user avatar
2 votes
2 answers
807 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 ...
user avatar
3 votes
2 answers
216 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:...
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 ...
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 ...
user avatar
  • 1,365
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/...
user avatar
  • 375
0 votes
1 answer
331 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 ...
user avatar
  • 23
1 vote
2 answers
655 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 ...
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 ...
user avatar
1 vote
1 answer
108 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 ...
user avatar
2 votes
1 answer
913 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 ...
user avatar
  • 197
0 votes
0 answers
163 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"....
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 /...
user avatar
1 vote
3 answers
678 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 ...
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 ...
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 ...
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" ...
user avatar
  • 891
3 votes
1 answer
996 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
209 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 ...
user avatar
2 votes
1 answer
90 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 ...
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 ...
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
253 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 ...
user avatar
  • 165
4 votes
1 answer
790 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="...
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 ...
user avatar
  • 187
4 votes
1 answer
623 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 ...
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 ...
user avatar
0 votes
2 answers
2k views

Multiple File Upload Using JInput?

FORM HTML : <form name="upload" method="post" action="send.php" enctype="multipart/form-data"> File #1 : <input type="file" name="one" /> File #2 : <input type="file" name="two" /> ...
user avatar
  • 2,269