|
Failed to move uploaded file to media directory - solved |
There is a problem with error reporting within Joomla - it doesn't always give you a good indication of the underlying problem.
On a site http://jonandlisah.org I tried to upgrade a component. I uninstalled the old one and tried to install the newer version. I've uploaded many components and modules to this site - so I wasn't ready for any problems.
When I clicked on the upload and install button, I received this error:
Failed to move uploaded file to /media directory. The forum showed many people having this same problem - and none had a definitive answer... They mentioned permissions to the media folder - so...
I tried changing the media folder to 777 - no joy.
I went to the cpanel / filemanager (hosting back end)
I renamed the media folder to mediaold and then went to create a new media folder...
And got this error:
/home/mysite/public_html/media failed because Disk quota exceeded in /home/mysite/public_html
Click! (light bulb turning on)
.. allocated more space for this user/website and viola!
SUCCESS! PROBLEM SOLVED!
|