Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/joomla/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Joomla Clean缓存-删除失败_Joomla_Joomla1.5 - Fatal编程技术网

Joomla Clean缓存-删除失败

Joomla Clean缓存-删除失败,joomla,joomla1.5,Joomla,Joomla1.5,Joomla 1.5:我在特定菜单项上启用了SSL。菜单项无法切换到https,这促使我用谷歌搜索解决方案。一个论坛说,问题是通过清除缓存解决的。因此,我进入工具/清理缓存,选择“站点”下的所有内容,然后点击删除按钮。这导致了一系列错误——我试图删除的每个项目都有一个错误,并说“delete failed:'index.html'” 有人知道发生了什么吗?如果您在网站的/administrator/区域中转到“帮助”->“系统信息”->“目录权限”,您应该会得到一个文件夹列表,其中包含有关文件夹

Joomla 1.5:我在特定菜单项上启用了SSL。菜单项无法切换到https,这促使我用谷歌搜索解决方案。一个论坛说,问题是通过清除缓存解决的。因此,我进入工具/清理缓存,选择“站点”下的所有内容,然后点击删除按钮。这导致了一系列错误——我试图删除的每个项目都有一个错误,并说
“delete failed:'index.html'”


有人知道发生了什么吗?

如果您在网站的/administrator/区域中转到“帮助”->“系统信息”->“目录权限”,您应该会得到一个文件夹列表,其中包含有关文件夹是否可写的信息


我怀疑您的/cache/文件夹不可写入-因此您需要更改对该文件夹的权限,以允许Joomla/PHP/Apache从该文件夹中删除文件。

如果您在网站的/administrator/区域中转到“帮助”->“系统信息”->“目录权限”,您应该会得到一个文件夹列表,其中包含有关它们是否可写


我怀疑您的/cache/文件夹是不可写的-因此您需要更改对该文件夹的权限,以允许Joomla/PHP/Apache从该文件夹中删除文件。

还要检查是否正确定义了缓存文件夹。您可以在“站点>全局配置”中更改缓存文件夹位置。

还可以检查是否正确定义了缓存文件夹。您可以在“站点>全局配置”中更改缓存文件夹位置,在webroot上执行以下命令

代码:

然后转到管理员站点上的工具->清除缓存,选择全部并删除


以上步骤解决了我的问题。

在webroot上执行以下命令

代码:

然后转到管理员站点上的工具->清除缓存,选择全部并删除

以上步骤解决了我的问题

-bash-3.1$ chmod 777 administrator/backups/
-bash-3.1$ chmod 777 administrator/components/
-bash-3.1$ chmod 777 administrator/language/
-bash-3.1$ chmod 777 administrator/language/en-GB
-bash-3.1$ chmod 777 administrator/modules/
-bash-3.1$ chmod 777 administrator/templates/
-bash-3.1$ chmod 777 components/
-bash-3.1$ chmod 777 images/
-bash-3.1$ chmod 777 images/banners/
-bash-3.1$ chmod 777 images/stories/
-bash-3.1$ chmod 777 language/
-bash-3.1$ chmod 777 language/en-GB
-bash-3.1$ chmod 777 language/pdf_fonts/
-bash-3.1$ chmod 777 media/
-bash-3.1$ chmod 777 modules/
-bash-3.1$ chmod 777 plugins/
-bash-3.1$ chmod 777 plugins/content/
-bash-3.1$ chmod 777 plugins/editors
-bash-3.1$ chmod 777 plugins/editors-xtd/
-bash-3.1$ chmod 777 plugins/search/
-bash-3.1$ chmod 777 plugins/system/
-bash-3.1$ chmod 777 plugins/user/
-bash-3.1$ chmod 777 plugins/xmlrpc/
-bash-3.1$ chmod 777 templates/
-bash-3.1$ chmod 777 cache/
-bash-3.1$ chmod 777 administrator/cache/
-bash-3.1$ chmod 777 logs/
-bash-3.1$ chmod 777 tmp/
-bash-3.1$ chmod 777 configuration.php
-bash-3.1$ chmod -R 777 cache/
-bash-3.1$ chmod -R 777 administrator/cache/