More than 1000+ satisfied clients and counting, since 2010

Blog

How to fix – JFolder::create: Could not create directory Error in Joomla ?

Joomla is the most flexible CMS that has ever been developed. A complete dynamic website with various functionality can be add to a joomla website by using server extension at at available at Joomla extensions directory. An extension can be a component, module or a plugin which can be installed using the extension manager. The compressed file in the format of 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 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

  1. Open the configuration.php file for the joomla through FTP.
  2. 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';
  3. Again find var $tmp_path,which has the directory path of old server. Replace the line with the code var $tmp_path = './tmp';

This is a simple tweak which can help you fix the issue. Make sure that you use the above code correctly. If you still face any issues then don’t hesitate to comment below.

Written by

The author didnt add any Information to his profile yet