jfolder:: create path not in open_basedir paths

A while ago, I explained how you can fix a problem with installing Joomla! parts by changing your tmp and logs path in the configuration file.  Yesterday, I was confronted with another installation error:

jfolder:: create path not in open_basedir paths

This error is triggered when open_basedir is configured on your server.  If you’re running your own server, you might want to do some research on this topic.  If, however, you’re hosting your Joomla sites on a shared environment where you can’t change these settings, you could try the following.

Make sure that your paths for the log and tmp folder are correct.  When open_basedir is configured, you might have to change these paths.  Try using the absolute path to where your website is hosted; this should resolve the issue.

For an example, read the article I just linked to.  If you don’t know the absolute path, ask your hosting provider.  They’ll probably be able to help you – although there are exceptions like our hosting company, which still hasn’t found the absolute path.

I used an “alternative” solution to find the path: by installing a Joomla website, and making conclusions based on the tmp / logs path that were written to the configuration.php file of that new website.  I wouldn’t really recommend this solution, though.  Building a site to fix another?  Not the ideal solution. 

I hope this article saves you some time, and your sanity.  I lost mine yesterday, although temporarely. 

14 thoughts on “jfolder:: create path not in open_basedir paths”

  1. I dint get a thing you said but i really want to..
    i get the same error too..is there anything i can do? i really am losing my sanity here.. I cant get a new website, got to adjust with the one i have now..n em not running my own server..


    1. Hi Jen,

      Maybe we can help. If you’re comfortable with sending us the following information, we can take a look:

      – User account, preferably Super Administrator.
      – FTP access to your website.

      You can find my e-mail address under contact. You’ve got my word that I won’t try to do anything fancy with your website – you can ask anyone we’ve helped in the past.

      Looking forward to see what you think of this.

  2. Pingback: One year anniversary « Joomla and more

  3. Pingback: 2010 in review « Joomla and more

  4. hope it’s help :

    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’);

    1. I got this Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /var/www/w/we/wenzane.co.za/libraries/joomla/filesystem/folder.php on line 138

      please someone help i have a presentation tomorrow

  5. Tried all these, nne of which worked for me. Anybody got any ideas ? This is a new problem for me, so I suspect it’s something my host has done on their servers.

Comments are closed.