fire the inspiration

剑气凌人

Failed opening required ‘xxx/Smarty.class.php’ 的解决方法

12月 14th, 2006 by 剑气凌人, 5,294Views

如果出现这种错误

Fatal error: require_once() [function.require]: Failed opening required ‘/XXX/includes/smarty/Smarty.class.php’ (include_path=’.:/XXX/php’) in /XXX/includes/init.php on line 61

出现的原因很简单,我们有时候会设置FTP软件上传、下载、FXP时把所有文件大小写自动替换成小写或其它格式,这样上传时的文件大小写改变了的,当然,FTP服务端也可以强制文件名全部小写,这样在Win下面当然是没问题,而Linux下面对大小写的文件是作为两个文件来处理,当然就会出错。

Filed under 系统 having

One Response

  1. 龙帅帅 Says:

    不错,解决我的问题

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.