Member_2_7966113
asked on
How to deal with “JFolder::create: Path not in open_basedir paths Unable to create destination” while installing Joomla packages/ extensions
Hello Experts,
I have been having a few problems installing an application called DB Replacer. I keep on getting the error “JFolder::create: Path not in open_basedir paths Unable to create destination”
It was suggested that the solution to the problem could be carry out the following instructions
Solution One:
First find the exact absolute path to your tmp folder by using this trick:
Create a PHP file in your website root,for example path.php
Place this snippet of code in the file and hit the save button
<?php
$path = getcwd();
echo "Your Absolute Path is: ";
echo $path;
?>
Navigate to yourdomain.com/path.php in your browser
From now on:
Login to your Joomla Administartor panel.
Go to Global Configuration
Click no the "Server" tab
Change the path to the "Absolute Path(you've just found)"/tmp
Insert this line of code in your .htaccess file: php_value open_basedir NULL
this solution has been worked very well for me,and it's doesn't need any Joomla's core file hacking.
Here is another step by step guide for the second solution:
Login to Joomla Administartor panel.
Go to Global Configuration
Click "Server"
Change the path from /public_html/tmp to "tmp"
Login to control Panel(CPanel)
Open File Manager
Open Folder "libraries"
Open Folder "joomla"
Open Folder "filesystem"
Right Click on "folder.php" and click Edit.
Look for the line, (search = obd): $obd = ini_get('open_basedir'); Comment out that line with // at the beginning so it becomes://$obd = ini_get('open_basedir');
Save and Close.
I have carried out the instructions to the point of opening Folder "libraries". However, I can't find that folder.
Can someone point me in the right direction?
Regards
Carlton
I have been having a few problems installing an application called DB Replacer. I keep on getting the error “JFolder::create: Path not in open_basedir paths Unable to create destination”
It was suggested that the solution to the problem could be carry out the following instructions
Solution One:
First find the exact absolute path to your tmp folder by using this trick:
Create a PHP file in your website root,for example path.php
Place this snippet of code in the file and hit the save button
<?php
$path = getcwd();
echo "Your Absolute Path is: ";
echo $path;
?>
Navigate to yourdomain.com/path.php in your browser
From now on:
Login to your Joomla Administartor panel.
Go to Global Configuration
Click no the "Server" tab
Change the path to the "Absolute Path(you've just found)"/tmp
Insert this line of code in your .htaccess file: php_value open_basedir NULL
this solution has been worked very well for me,and it's doesn't need any Joomla's core file hacking.
Here is another step by step guide for the second solution:
Login to Joomla Administartor panel.
Go to Global Configuration
Click "Server"
Change the path from /public_html/tmp to "tmp"
Login to control Panel(CPanel)
Open File Manager
Open Folder "libraries"
Open Folder "joomla"
Open Folder "filesystem"
Right Click on "folder.php" and click Edit.
Look for the line, (search = obd): $obd = ini_get('open_basedir'); Comment out that line with // at the beginning so it becomes://$obd = ini_get('open_basedir');
Save and Close.
I have carried out the instructions to the point of opening Folder "libraries". However, I can't find that folder.
Can someone point me in the right direction?
Regards
Carlton
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER