IF you’re trying to install something into Joomla – a template, module or plug-in – you might run into the following error:
JFolder::create: Could not create directory
Warning! Failed to move file.
This error could be solved by two things: file permission problems, or problems with the configuration file. The most common cause seems to be the latter, and I just so happen to have the fix for that.
This error is often seen after you’ve copied a whole Joomla site to another location. To fix this problem, you’ll have to change a few things in your configuration.php file. Here’s what you should do:
1. Open your configuration.php file
2. Find the line that looks like this: var $log_path = /some/path/logs
You’ll have to change this line, as it’s pointing to a wrong directory. Everything before /logs should be changed to reflect your new location of your joomla website.
e.g var $log_path = ‘/var/www/myjoomlasite/logs’
3. There’s another line in configuration.php that needs your attention as well.
Find the following line: var $tmp_path = /some/path/tmp. It should be right below the line you just edited.
You’ll have to change this line as well. Everything before /tmp has to be changed to reflect the new location of your Joomla website.
e.g var $tmp_path = ‘/var/www/myjoomlasite/tmp’
After you change these two lines, the problem should be resolved.
If you want some help editing your config file, feel free to post a comment or contact me. You can find my contact data at this website under “About me”
Categories: OS & Software