2011-11-08 54 views
1

Joomla 1.5:我在特定的菜单项上启用了SSL。该菜单项无法切换到https,这促使我Google解决方案。一个论坛表示通过清除缓存解决了问题。所以,我去了tools/clean cache,在“site”下全部选中并点击删除按钮。这导致了一大堆错误 - 我试图删除的每个项目都有一个错误,说"Delete failed: 'index.html'"Joomla Clean Cache - 删除失败

任何人都知道什么是幸福?

回答

1

如果您在网站的/ administrator /区域中转到'帮助' - >'系统信息' - >'目录权限',您应该得到一个文件夹列表,列出它们是否可写入的信息。

我怀疑你的/ cache /文件夹是不可写的 - 所以你需要更改有问题的文件夹的权限,以允许Joomla/PHP/Apache从该文件夹中删除文件。

0

另请检查是否正确定义了缓存文件夹。您可以在“站点>全局配置”

0

Excecute你的根目录下面的命令来更改缓存文件夹的位置

代码:

-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/ 

然后点击工具 - > CLEAN CACHE的管理员站点,选择全部并删除。

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