Well I would if I could get beyond the wheel of D!Jim the Chin wrote:
I sent you PM
PM me your email address and I'll send you a zip ... is that okay or is it breaking some rule?
Moderator: General Support Moderators
Well I would if I could get beyond the wheel of D!Jim the Chin wrote:
I sent you PM
Code: Select all
$log_path : '/www/mydomain.com/eng/logs'
$tmp_path : '/www/mydomain.com/eng/tmp'
Open basedir: ../.;d:\www\php\htdocs\tmp
I enabled the ftp layer and now I get this:JFolder::create: Path not in open_basedir paths
Unable to create destination
Any help?JFTP::store: Bad response
Warning! Failed to move file.
JFTP::mkdir: Bad response
JFTP::chmod: Bad response
Unable to create destination
WORKS like a charm. Thank you.Hausauer wrote:Solving the problem:
JFolder::create: Path not in open_basedir paths
Unable to create destination
in the directory: /libraries/joomla/filesystem/ a file folder.php
find the line and disable it: $obd = ini_get('open_basedir');
Find the following lineHausauer wrote:Solving the problem:
JFolder::create: Path not in open_basedir paths
Unable to create destination
in the directory: /libraries/joomla/filesystem/ a file folder.php
find the line and disable it: $obd = ini_get('open_basedir');
Code: Select all
$obd = ini_get('open_basedir');
Code: Select all
//$obd = ini_get('open_basedir');
Faced today similar problem, and the solution was too easy to detect!Hi i have a problem with installation any component
When i try install i see this error
JFolder::create: Path not in open_basedir paths
Unable to create destination
my „open_basedir”: '.:/proc/uptime:/tmp:/home:/usr/local/lib/php:/usr/home:/usr/local/bin/'
safe mode: off
my site is installed in: home/blueh18/public_html/
You can also change this line:Hausauer wrote:Solving the problem:
JFolder::create: Path not in open_basedir paths
Unable to create destination
in the directory: /libraries/joomla/filesystem/ a file folder.php
find the line and disable it: $obd = ini_get('open_basedir');
Just to confirm that this solve my issue which was the same as others hereM4rc0 wrote:It works!!!
thank you!
now i can finally work
It was the ftp layer, i entered the settings in the global configuration and it worked well
(actually i didn't know ftp was necessary)
So far so good.
This is how I solved the same problem, I don't know if it's safe to do so:borderless wrote:Uppon trying to install new modules or extensions i was always presented with following error:
after doing some research i found out, that the problem was, indeed, caused by the open_basedir php-setting (how obvous, you say.. )
- JFolder::create: Path not in open_basedir paths
Could not create directory ...
if you also encounter this error, do the following:
Check:Patch:
- 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 meWhat does the patch do?
- 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
Code: Select all
echo dirname(__FILE__);
die;
Code: Select all
$log_path = {this path}/log
Code: Select all
$tmp_path = {this path}/tmp
Ill try but it is a doble work, dont you thinks so ?building252 wrote:This has been frustrating me all day....my host just started using the open_base_dir and it killed my joomla install capabilities - well almost
I decided to take a different approach. So, far it's working. I used the "Install from Directory" method in Joomla and it works great for me.
1. Double check your paths in the config file as mentioned above, that could def cause an issue.
2. Unzip the module and FTP to your tmp folder. Make sure there are no other files in the tmp folder, just the ones that were in the module/plugins folder.
3. Go back to Joomla's admin and click install - That's it
It's a bit more of a pain...but it works
Thank you very much! That's the only thing that worked for my problem. I appreciate your advice.Hausauer wrote:Solving the problem:
JFolder::create: Path not in open_basedir paths
Unable to create destination
in the directory: /libraries/joomla/filesystem/ a file folder.php
find the line and disable it: $obd = ini_get('open_basedir');