Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [file-upload]

The tag has no usage guidance.

0
votes
4answers
37 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 ...
1
vote
1answer
25 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 ...
1
vote
1answer
36 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 ...
0
votes
1answer
27 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 ...
1
vote
1answer
25 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 ...
1
vote
0answers
32 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?
1
vote
0answers
99 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 = $...
0
votes
1answer
39 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 ...
0
votes
0answers
66 views

File Directory system like Dropbox for joomla with automaticaly created folder for each user?

I need to know if there's some component in joomla that permits me to configure a file management system like Dropbox or Google Drive for Joomla users. The solution I need it's that every user have ...
1
vote
1answer
25 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 ...
3
votes
3answers
582 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 ...
0
votes
0answers
32 views

Temporary directory detection problem [duplicate]

I am having trouble uploading images to my Joomla website and on uploading through media manager, I receive a message "Unable to upload file, Failed to move file". I believe that its a problem ...
1
vote
1answer
335 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 ...
3
votes
2answers
2k 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/...
2
votes
2answers
106 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 ...
4
votes
2answers
96 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:...
3
votes
3answers
327 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 ...
1
vote
2answers
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 ...
3
votes
2answers
842 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/...
0
votes
1answer
206 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 ...
0
votes
2answers
354 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 ...
1
vote
1answer
903 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 ...
1
vote
1answer
99 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 ...
2
votes
1answer
622 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 ...
0
votes
0answers
124 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"....
7
votes
6answers
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 /...
1
vote
3answers
538 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 ...
1
vote
2answers
1k 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 ...
0
votes
1answer
822 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 ...
4
votes
2answers
5k 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" ...
3
votes
1answer
833 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 ...
0
votes
1answer
203 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 ...
2
votes
1answer
86 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 ...
1
vote
2answers
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 ...
2
votes
1answer
878 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 ...
2
votes
2answers
137 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 ...
4
votes
1answer
658 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="...
5
votes
3answers
809 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 ...
3
votes
1answer
508 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 ...
4
votes
1answer
843 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 ...
0
votes
2answers
1k 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" /> ...