即使权限设置为 777,简单图片库也无法写入缓存文件夹

Simple image gallery cannot write to cache folder even with permission set to 777

我正在使用一个 joomla 插件,它可以在画廊中显示多张图片。但是每当我在文章中添加插件代码时,我都会收到此错误:

Simple Image Gallery Notice: Joomla!'s /cache folder is not writable. Please correct this folder's permissions, clear your site's cache and retry.

所以我使用 FTP 连接到我的网站并将位于 administrator/cache 的缓存文件夹的权限更改为 777(所有内容的权限),但我不断收到此消息。

这可能是什么原因造成的?有解决办法吗?

Joomla 直接在 joomla 根目录中有一个缓存文件夹。您必须设置此文件夹的权限(例如 /var/www/joomla/cache),但看起来您设置的是 /var/www/joomla/administrator/cache.

如果你用的是centos,你可以把selinux改成permissive模式。有效。