歡迎光臨, 訪客. 請先 登入註冊一個帳號.
四月 18, 2024, 04:45:21 下午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
LifeType 中文開發論壇  |  支援  |  安裝與設定  |  不用邮件确认出错 « 上篇主題 下篇主題 »
頁: [1]
作者 主題: 不用邮件确认出错  (閱讀 7577 次)
luckybbdog
新手見習
*
文章: 45


檢視個人資料
« 於: 四月 02, 2006, 02:34:11 下午 »

设定注册不用邮件确认,但进不了blog的页面
显示为

Exception message: filemtime(): Stat failed for /main.template (errno=2 - No such file or directory)
Error code: 2
-- Backtrace --
D:\www\xytown.net\blog\class\template\smarty\Smarty.class.php(1566): filemtime
D:\www\xytown.net\blog\class\template\smarty\Smarty.class.php(1433): cachedtemplate._fetch_resource_info
D:\www\xytown.net\blog\class\template\smarty\Smarty.class.php(1279): cachedtemplate._compile_resource
D:\www\xytown.net\blog\class\template\cachedtemplate.class.php(48): smarty.fetch
D:\www\xytown.net\blog\class\view\smartyview.class.php(207): cachedtemplate.fetch
D:\www\xytown.net\blog\class\view\blogview.class.php(224): smartyview.render
D:\www\xytown.net\blog\class\view\defaultview.class.php(82): blogview.render
D:\www\xytown.net\blog\class\controller\controller.class.php(329): defaultview.render
D:\www\xytown.net\blog\index.php(42): blogcontroller.process

Exception message: Smarty error: unable to read resource: "/main.template"
Error code: 512
-- Backtrace --
D:\www\xytown.net\blog\class\template\smarty\Smarty.class.php(1108): trigger_error
D:\www\xytown.net\blog\class\template\smarty\Smarty.class.php(1604): cachedtemplate.trigger_error
D:\www\xytown.net\blog\class\template\smarty\Smarty.class.php(1433): cachedtemplate._fetch_resource_info
D:\www\xytown.net\blog\class\template\smarty\Smarty.class.php(1279): cachedtemplate._compile_resource
D:\www\xytown.net\blog\class\template\cachedtemplate.class.php(48): smarty.fetch
D:\www\xytown.net\blog\class\view\smartyview.class.php(207): cachedtemplate.fetch
D:\www\xytown.net\blog\class\view\blogview.class.php(224): smartyview.render
D:\www\xytown.net\blog\class\view\defaultview.class.php(82): blogview.render
D:\www\xytown.net\blog\class\controller\controller.class.php(329): defaultview.render
D:\www\xytown.net\blog\index.php(42): blogcontroller.process


但可以进控制面板
而且我用管理员的id进去后再其blog的设置里面点修改提交一下,不动其他的地方,就可以了,奇怪哦~
是什么原因呢?
已記錄
winman
版主
超級會員
*****
文章: 525


winman


檢視個人資料 個人網站
« 回覆文章 #1 於: 四月 02, 2006, 03:37:51 下午 »

设定注册不用邮件确认,但进不了blog的页面
显示为

Exception message: filemtime(): Stat failed for /main.template (errno=2 - No such file or directory)



注意这一行,它说没有找到 main.template 这个模板. 请检查一下文件是否完整.
« 最後編輯時間: 四月 02, 2006, 03:39:28 下午 由 winman » 已記錄

俗语说:授予鱼,不如授予渔。因此在发问前先搜寻论坛,或许困扰你
的问题,在之前已经有朋友遇到并得到解答了。这样不但提高解决问题
的效率,还能令自己的能力不断加强。加油啊。
luckybbdog
新手見習
*
文章: 45


檢視個人資料
« 回覆文章 #2 於: 四月 02, 2006, 05:12:18 下午 »

找到原因了,是改了注册的时候跳过模板选择那里没有在程序里指定哪个为默认模板,所以出错,改了回来就没事了。
已記錄
頁: [1]
LifeType 中文開發論壇  |  支援  |  安裝與設定  |  不用邮件确认出错 « 上篇主題 下篇主題 »
    前往: