Uploads are not working
Make sure that these permissions are configured correctly:
- Joomla! /tmp folder is writable
- Your upload folder (default is usually /components/com_rsform/uploads) is writable
- The relative path you are trying to access (www.website.com/components/com_rsform/uploads/file.doc) points to the correct absolute path of the upload folder (/var/www/mywebsite/components/com_rsform/uploads)
Two ways you can check if Joomla! folders are writable:
- from Joomla! backend > System > System Information > Folder Permissions.
- from your FTP account.
This can also be generated by the misconfiguration in the upload form component's accepted File Types. The correct way is to put each type on a new line. For example:
jpg png jpeg pdf
Note: PHP has a default upload limit of 2 Mb / file. This can be adjusted to your needs by modifying the php.ini file:
upload_max_filesize=6M; post_max_size=7M;
Always keep the post_max_size larger than the upload_max_filesize.
Some hosting don't allow reading local php.ini files and you'll have to directly contact your hosting to perform these adjustments for you.
10 persons found this article helpful.
You Should Also Read
How can I control the prefix of uploaded files |
Uploaded files are not being attached to emails |
File Upload fields do not work in Safari on iOS |
Special characters not saved in uploaded file names |