When trying to install a new Component, Module, Template or Plugin using Joomla! 1.5 I receive the following error

JFolder::create: Could not create directory

Warning! Failed to move file.

Question: How do I solve this?

Answer:

To solve this issue access the configuration.php file in the root folder where your Joomla! files are located.

Open the configuration.php file and look for the following lines

var $log_path = '/usr/home/web/joomla/logs';

var $tmp_path = '/usr/home/web/joomla/tmp';

Make sure the paths to the logs and tmp folder is correct.

Change it to something like below and the error message should disappear

var $log_path = './logs';

var $tmp_path = './tmp';