我安装了这个插件(http://www.s2software.it/en/download/joomla-image-resize-cache)并且我有这个错误,这个错误在创建图像/缓存文件夹后仍然存在,在我的服务器上可用这些:Imagick Shell执行,JImage(GD)但没有人想要工作......
在系统信息中,每个文件夹和文件都是可写的,configuraion.php除外
答案 0 :(得分:7)
以下是我找到的一步一步的解决方案:它运作良好:
$obd = ini_get('open_basedir');
在//开头注释//行,//$obd = ini_get('open_basedir');
没有任何Joomla核心文件黑客的另一种解决方案:
首先使用此技巧找到tmp
文件夹的确切绝对路径:
在您的网站根目录中创建一个PHP文件,例如path.php
将此代码段放在文件中,然后点击“保存”按钮
<?php
$path = getcwd();
echo "Your Absolute Path is: ";
echo $path;
?>
导航至浏览器中的yourdomain.com/path.php
从现在开始:
"Absolute Path(you've just found)"/tmp
php_value open_basedir NULL
答案 1 :(得分:1)
我找到2个临时解决方案:
首先:在配置设置中&gt;关闭显示错误
第二:libraries \ joomla \ filesystem \ folder.php&gt;找到这个:$obd = ini_get('open_basedir');
并添加评论://$obd = ini_get('open_basedir');