Blog!

Read more about Joomla!

Get rid of "Error uploading file to this server"

error-uploading-file-1

If you are getting this error "There was an error uploading this file to the server." when trying to install any new template, plugin or extension during upload from Joomla! backend, DON'T PANIC. This article will walk you through the steps to resolve this hurdle in your development process.

Reason
The most common reason for this problem is that the file you are trying to upload is too big than a server upload file limit. By default server allows files to be uploaded that are under 2MB in size. Files larger than 2MB will not be entertained and your will get this iritating rejection error message.

Solution
If you have access to the server file named 'php.ini', then open it up in your favourite text editor and search for 'upload_max_filesize' directive. You will notice that it is set to 2MB. All you need to do is to increase the limit to your desired value may be to 8MB, 16MB or 32MB depending on the maximum file size you are trying to upload. Save the changes and RELOAD the server configurations to reflect these changes.

If you are running PHP in CGI mode on Apache, you can place an .htaccess file in your Joomla! root directory and place the following code inside.

php_value upload_max_filesize 4M

Try uploading the file again from the Joomla! backend and here you go. That's it :)

 

stellar-joomla-support

Joomla Upgrade Services and Automated Backups

Joomla Website Performance Optimization

Cron Job Starts