当前位置:首页 > php > discuz > 正文内容

Can not write to cache files, please check directory ./data/ and ./data/cache/解决办法

yangxin3年前 (2023-01-02)discuz515

  Can not write to cache files, please check directory ./data/ and ./data/cache/解决办法

  最近很久没有管理论坛,某个discuz论坛网站报错:Can not write to cache files, please check directory ./data/ and ./data/cache/,那么如何解决呢?

  首先,根据英文翻译是因为相关文件夹没有写入权限,于是去服务器看了一下论坛的data文件的属性,发现设置的555.于是将这个文件增加了写入权限解决了问题。

  具体步骤:

  登陆FTP或者登陆服务器文件管理功能,data文件右键设置属性,勾选写入即可。


分享给朋友:

“Can not write to cache files, please check directory ./data/ and ./data/cache/解决办法” 的相关文章

Pragma no-cache如何关闭?去掉http响应头Cache-Control及Pragma造成的缓存问题

Pragma no-cache如何关闭?Pragma: no-cache如何去除?去掉http响应头Cache-Control及Pragma造成的缓存问题回答:修改php.ini中的session.c...

dedecms提示:Unable to load the requested file helpers/mda.helper.php解决办法

dedecms提示:Unable to load the requested file helpers/mda.helper.php解决办法出现原因:include目录下面helpers文件里的mda...

eyoucms易优CMS后台升级报错 /core/library/think/db/Connection.php 第 389 行左右解决办法与出现原因

  最近在帮朋友对一个eyoucms程序进行搬家的时候遇到了一个问题:报错 /core/library/think/db/Connection.php 第 389 行左右  数据表或视图不存在,请联系...

帝国cms程序版本号如何查看?如何查看帝国cms程序是什么版本的?

  最近在给一个朋友的网站被黑了,在修改朋友的网站的时候,发现他的后台没有版本号,被别人给修改了成了别的。为此,只能通过查看代码来获得帝国cms程序的版本号。帝国cms程序版本号查看方法如下:  方法...

卢松松博客用什么做的?卢松松博客用的什么程序搭建的?

  最近,有一个朋友问我:卢松松博客用的什么程序搭建的?为此,我专门去看了卢松松的博客,根据的博客更新的发展历程发现:  2006年4月到2009.03.21之间用的是OBLOG。  2009.03....

Parse error syntax error, unexpected '', expecting '{' in home网站路径corefunctionhandle.php o解决办法

Parse error syntax error, unexpected '', expecting '{' in home网站路径corefunctionhandle...

发表评论

访客

看不清,换一张

◎欢迎参与讨论,请在这里发表您的看法和观点。