- JFolder::create: Path not in open_basedir paths
Could not create directory ...
if you also encounter this error, do the following:
Check:
- Click on the Menu Help->System Info
- Click on the second tab, named PHP Settings
- Check the line with the Setting "Open Basedir" (usually the second line from top)
if your setting is Virtual_Document_Root, you might want to try the following, which solved the issue for me
- Go (with any ftp program) to your Joomla directory and change to the directory libraries->joomla->filesystem
- download the file folder.php to your computer (dont forget to create a backup copy at this point, just in case)
- open the local copy of the folder.php file with a texteditor and find the line number 203
- insert following line of code here (after the foearch and bevore the JPath::Clean statements)
Code: Select all
if ($test=='VIRTUAL_DOCUMENT_ROOT') { $test = $_SERVER['DOCUMENT_ROOT']; } // MOD HERE!!
- save the changes and upload the file again (overwrite the old one)
- done
Some webspace hosts have the open_basedir setting set to the placeholder (variable) Virtual_Document_Root, which means, every user can only access his/her own webspace. Joomla does not handle this kind of open_basedir variable, so it assumes that you can only access the directory named Virtual_Document_Root (which does not exist) and prompts you with an error.
Now you just inserted a line of code, which checks for this open_basedir variable and replaces it with your real document root path, so joomla can compare this.
hope this works for you, good luck and have fun