Call us Today! 704-544-0678

JFolder::create: Could not create directory

The Problem

* JFolder::create: Could not create directory
* Warning: Failed to move file!

* JFolder::create: Could not create directory * Warning: Failed to move file! OR Import / Export JFolder::create: Could not create directory Error Importing (Not a valid JSON file)

The Solution

Check to see if your path settings are correct in Global Configuration settings and that the folder is writable 755.

If you recently moved the site from a sub-folder or another webhost the path settings will have changed.  It's quite easy to overlook this step.   public $log_path = '/home1/YOURSITE/public_html/logs'; public $tmp_path = '/home1/YOURSITE/public_html/tmp';

In this case we needed to change home1 to home

public $log_path = '/home/YOURSITE/public_html/logs'; public $tmp_path = '/home/YOURSITE/public_html/tmp';

OR

public $log_path = '/home/YOURSITE/public_html/SUBFOLDER/logs'; public $tmp_path = '/home/YOURSITE/public_html/SUBFOLDER/tmp';

In this case we needed to remove SUBFOLDER after moving the site to the root.

JFolder::create: Could not create directory

* JFolder::create: Could not create directory * Warning: Failed to move file! OR Import / Export JFolder::create: Could not create directory Error Importing (Not a valid JSON file)

  • Written by: Cindy Montano
blog comments powered by Disqus