Home  >  Article  >  Backend Development  >  smarty 有关问题咨询

smarty 有关问题咨询

WBOY
WBOYOriginal
2016-06-13 13:14:22813browse

smarty 问题咨询
Warning: Smarty::require_once(Smarty_Compiler.class.php) [function.Smarty-require-once]: failed to open stream: No such file or directory in /www/users/luya.com.uhost/common/smarty/Smarty.class.php on line 1454

smarty在服务器上出现该故障 请求解决

------解决方案--------------------
找不到文件, 设置路径出错了
------解决方案--------------------
如果路径没错 可能是权限的问题 chmod -R 777 目录
------解决方案--------------------
楼主两位正解 是不是win跟linux路径没有写对
------解决方案--------------------
大小写路径有没有写错,有没有r这个权限?
------解决方案--------------------
是文件引入问题吧 是不是用上级目录了 如:./xxx.php
------解决方案--------------------
楼主 可以考虑用绝对路径试试

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn