ycavazin
By:
ycavazin

There was an error uploading this file to the server. JOOMLA

November 15, 2013 3.3k views
Hi folks, I'm all newbie about linux and Joomla. I'm trying to change my website layout through Joomla Extension Manager, but I get this error below: "There was an error uploading this file to the server." It's not the size of the .zip layout because it is <2mb. It has kb instead. I've runned the ”chmod -R 755 /tmp/” but it doesn't resolve my problems. I'm fighting with this error at least a week, I'm getting bored.
3 Answers
What's the output of this command?

sudo ps wwaux | grep apache
Hi Kamal,

Thanks for the reply, this is the output.

www-data 17890 0.0 2.3 43676 11776 ? S 07:35 0:00 /usr/sbin/apach e2 -k start
www-data 17891 0.0 2.2 43676 11628 ? S 07:35 0:00 /usr/sbin/apach e2 -k start
www-data 17892 0.0 1.0 37972 5160 ? S 07:35 0:00 /usr/sbin/apach e2 -k start
www-data 17893 0.0 2.3 41668 12120 ? S 07:35 0:00 /usr/sbin/apach e2 -k start
www-data 17894 0.0 2.3 43676 11728 ? S 07:35 0:00 /usr/sbin/apach e2 -k start
www-data 20841 0.0 1.0 38300 5392 ? S 22:03 0:00 /usr/sbin/apach e2 -k start
www-data 20842 0.0 0.9 37956 4920 ? S 22:03 0:00 /usr/sbin/apach e2 -k start
www-data 20843 0.0 0.9 37956 4920 ? S 22:03 0:00 /usr/sbin/apach e2 -k start
www-data 20844 0.0 0.8 37924 4420 ? S 22:04 0:00 /usr/sbin/apach e2 -k start
www-data 20845 0.0 0.8 37924 4420 ? S 22:04 0:00 /usr/sbin/apach e2 -k start
root 20959 0.0 0.1 4384 808 pts/0 S+ 22:28 0:00 grep --color=au to apache
root 22517 0.0 1.7 37900 8856 ? Ss Nov12 0:17 /usr/sbin/apach e2 -k start
Hi, the most common reason for this problem is that the File you have uploaded is too big.
The File Size Upload Limit on your Server is set too low to allow larger files to be uploaded. By
default PHP allows files up to 2 MB, but you can set to 20 MB to get rid of this error.

If you have access to the php.ini, then change the directive upload_max_filesize to "20M"
and reload the server configuration.
Have another answer? Share your knowledge.