[英]Joomla 3.1 error JFolder::create: Path not in open_basedir paths Unable to create destination
I installed this plugin ( http://www.s2software.it/en/download/joomla-image-resize-cache ) and I have this error, this error remains too after creating images/cache folder, on my server are available these: Imagick Shell Execute, JImage (GD) but no one want to work ... 我安装了此插件( http://www.s2software.it/en/download/joomla-image-resize-cache ),但出现此错误,在我的服务器上创建images / cache文件夹后,此错误仍然存在,这些:Imagick Shell Execute,JImage(GD),但没人愿意工作...
And in System Information every folder, and file is writable, except configuraion.php 并且在系统信息中,每个文件夹和文件都是可写的,但configuraion.php除外
Here is a step by step solution that I have found: and it's working very well: 这是我找到的分步解决方案:效果很好:
$obd = ini_get('open_basedir');
$obd = ini_get('open_basedir');
Comment out that line with // at the beginning so it becomes: //$obd = ini_get('open_basedir');
//$obd = ini_get('open_basedir');
Another solution without any Joomla's core file hacking: 无需任何Joomla核心文件黑客攻击的另一种解决方案:
First find the exact absolute path to your tmp
folder by using this trick: 首先使用以下技巧找到
tmp
文件夹的确切绝对路径:
Create a PHP file in your website root,for example path.php
在您的网站根目录中创建一个PHP文件,例如
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 在浏览器中导航到
yourdomain.com/path.php
From now on: 从现在开始:
"Absolute Path(you've just found)"/tmp
"Absolute Path(you've just found)"/tmp
php_value open_basedir NULL
php_value open_basedir NULL
I find 2 temporary resolution: 我发现2个临时解决方案:
First: in configuration settings > turn off the display errors 第一:在配置设置中>关闭显示错误
Second: libraries\\joomla\\filesystem\\folder.php > find this: $obd = ini_get('open_basedir');
第二个:libraries \\ joomla \\ filesystem \\ folder.php>找到它:
$obd = ini_get('open_basedir');
and put in comments like: //$obd = ini_get('open_basedir');
并添加如下注释:
//$obd = ini_get('open_basedir');
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.