Fixing JFolder::create: Path not in open_basedir paths > Joomla 3.0 > Fixing JFolder::create: Path not in open_basedir paths

There are numerous hosting company around the globe. They use various popular Operating Systems. Some offers hosting optimized for Joomla! Content Management System (CMS).

We often run in problem while installing Joomla! extensions like Components, Modules, or Plugins. I have recently encountered the following error on a Joomla! 3.2.2 website while installing a module:

JFolder::create: Path not in open_basedir paths
Unable to create destination

So I opened a modern browser like Firefox and tried Google for a solution. I could solve the problem and installed my module. Here is how you can solve it:

Goto this file: /libraries/joomla/filesystem/folder.php and edit it .

Find the following line:

$obd = ini_get('open_basedir');

And then comment it out like this

//$obd = ini_get('open_basedir');

This is a Joomla!’s core file hack. If this file (folder.php) is replaced on the next Joomla! update, these changes will be lost. In that case, you need to redo it.

There is an alternative solution is to create a local php.ini file (if your hosting company allows to use one) and set “open_basedir” PHP directive and set it to a valid path.

You may want to read Security Checklist/Hosting and Server Setup.

Category Joomla 3.0

Leave Your Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.