Joomla is the most flexible CMS developed so far. You can use the server extensions in the Joomla extension directory to add a completely dynamic website with various functions to the Joomla website. Extensions can be components, modules or plugins that can be installed using the extension manager.
The compressed file in the format of the zip can be uploaded via the extension manager which is very simple to do. But it sometimes results in showing errors if the configuration has not been done properly.
Most of the time the error occurs when the Joomla site is being moved from a host to another host. The reason behind this is, when we move a Joomla site from a server to another server, the log & tmp variables present in the configuration.php file contains the directory path of the previous host. Here is how to fix – JFolder::create: Could not create directory Error in Joomla.
How to Fix ‘JFolder::create: Could not create directory’ Error?
The following steps can help you fix the issue
- Open the
configuration.phpfile for the Joomla through FTP.
- Look for var $log_path, which contains the directory path of the old server. Replace the line with of code with
var $log_path = './logs';
- Again find var $tmp_path, which has the directory path of the old server. Replace the line with the code
var $tmp_path = './tmp';
This is a simple change that can help you solve the problem. Make sure to use the above code correctly. If you still encounter any problems, please comment below.