首页 > 系统相关 >nginx日志报错Uncaught exception 'SmartyException' with message 'unable to write f Fatal e

nginx日志报错Uncaught exception 'SmartyException' with message 'unable to write f Fatal e

时间:2023-01-10 23:02:47浏览次数:38  
标签:templates exception SmartyException write unable Uncaught message

问题:访问xxx.xxx.xxx域名时,返回500状态码,查看Nginx日志发现报错,Uncaught exception 'SmartyException' with message 'unable to write f Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file ./templates_c/wrt63bc26e7c52cd' 

分析:报错日志说templates_c下写不了文件,我查看templates_c目录属性是777,正常是可以写入,但是就是无法写入,后来我把templates_c删除,重新创建就可以正常访问网页了,想不通

目前看跟目前属主属组有关

 

标签:templates,exception,SmartyException,write,unable,Uncaught,message
From: https://www.cnblogs.com/lucktomato/p/17041621.html

相关文章