歡迎光臨, 訪客. 請先 登入註冊一個帳號.
三月 29, 2024, 04:44:12 下午
19595 文章 在 3865 主題 由 4580 會員
最新註冊會員: aa123aa1
LifeType 中文開發論壇  |  支援  |  安裝與設定  |  这种错误是怎么回事 « 上篇主題 下篇主題 »
頁: [1]
作者 主題: 这种错误是怎么回事  (閱讀 8544 次)
ahxiao
新手見習
*
文章: 11


檢視個人資料
« 於: 八月 02, 2005, 11:10:54 下午 »

打开一个blog的时候出现的错误

我以前安装过正常使用,现在是转移到另外一个空间,结果有点问题

程式碼:

Exception message: file_exists() [http://www.php.net/function.file-exists]: Unable to access ./templates//./templates//kubrick/header.template
Error code: 2
-- Backtrace --
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/class/template/smarty/Smarty.class.php(1663): file_exists
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/class/template/smarty/Smarty.class.php(1558): cachedtemplate._parse_resource_name
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/class/template/smarty/Smarty.class.php(1433): cachedtemplate._fetch_resource_info
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/class/template/smarty/Smarty.class.php(1922): cachedtemplate._compile_resource
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/tmp/14/%%-40^%%-402418591^main.template.php(4): cachedtemplate._smarty_include
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/class/template/smarty/Smarty.class.php(1281): include
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/class/template/cachedtemplate.class.php(48): smarty.fetch
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/class/view/smartyview.class.php(190): cachedtemplate.fetch
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/class/view/blogview.class.php(224): smartyview.render
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/class/view/defaultview.class.php(82): blogview.render
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/class/controller/controller.class.php(325): defaultview.render
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/index.php(48): blogcontroller.process

Exception message: is_readable() [http://www.php.net/function.is-readable]: Unable to access ././templates//./templates//kubrick/header.template
Error code: 2
-- Backtrace --
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/class/template/smarty/core/core.get_include_path.php(34): is_readable
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/class/template/smarty/Smarty.class.php(1670): smarty_core_get_include_path
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/class/template/smarty/Smarty.class.php(1558): cachedtemplate._parse_resource_name
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/class/template/smarty/Smarty.class.php(1433): cachedtemplate._fetch_resource_info
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/class/template/smarty/Smarty.class.php(1922): cachedtemplate._compile_resource
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/tmp/14/%%-40^%%-402418591^main.template.php(4): cachedtemplate._smarty_include
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/class/template/smarty/Smarty.class.php(1281): include
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/class/template/cachedtemplate.class.php(48): smarty.fetch
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/class/view/smartyview.class.php(190): cachedtemplate.fetch
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/class/view/blogview.class.php(224): smartyview.render
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/class/view/defaultview.class.php(82): blogview.render
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/class/controller/controller.class.php(325): defaultview.render
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/index.php(48): blogcontroller.process

Exception message: is_readable() [http://www.php.net/function.is-readable]: Unable to access /iSERVER/system/php/lib/php/./templates//./templates//kubrick/header.template
Error code: 2
-- Backtrace --
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/class/template/smarty/core/core.get_include_path.php(34): is_readable
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/class/template/smarty/Smarty.class.php(1670): smarty_core_get_include_path
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/class/template/smarty/Smarty.class.php(1558): cachedtemplate._parse_resource_name
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/class/template/smarty/Smarty.class.php(1433): cachedtemplate._fetch_resource_info
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/class/template/smarty/Smarty.class.php(1922): cachedtemplate._compile_resource
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/tmp/14/%%-40^%%-402418591^main.template.php(4): cachedtemplate._smarty_include
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/class/template/smarty/Smarty.class.php(1281): include
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/class/template/cachedtemplate.class.php(48): smarty.fetch
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/class/view/smartyview.class.php(190): cachedtemplate.fetch
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/class/view/blogview.class.php(224): smartyview.render
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/class/view/defaultview.class.php(82): blogview.render
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/class/controller/controller.class.php(325): defaultview.render
/iSERVER/Cluster/b/bacuoxx.com/veryzone.bacuoxx/index.php(48): blogcontroller.process


apache freebsd PHP环境: 4.3.1 (Zend加速、内建GD)

安全模式
已記錄
ahxiao
新手見習
*
文章: 11


檢視個人資料
« 回覆文章 #1 於: 八月 02, 2005, 11:12:46 下午 »

但是刷新几次,等一会错误信息就没了,好奇怪
已記錄
markwu
系統管理員
超級會員
*****
文章: 3928


Mark Wu


檢視個人資料 個人網站
« 回覆文章 #2 於: 八月 04, 2005, 12:08:42 上午 »

引用自: ahxiao
但是刷新几次,等一会错误信息就没了,好奇怪
你的 plog/template 的權限是什麼?是 PHP 與 Apache 可以讀取的嗎?

Mark
已記錄

ahxiao
新手見習
*
文章: 11


檢視個人資料
« 回覆文章 #3 於: 八月 05, 2005, 10:16:01 下午 »

引用自: markwu
引用自: ahxiao
但是刷新几次,等一会错误信息就没了,好奇怪
你的 plog/template 的權限是什麼?是 PHP 與 Apache 可以讀取的嗎?

Mark

权限肯定对的,我核实好几次了。

请问哪里可以设置smarty不显示错误吗?
已記錄
ahxiao
新手見習
*
文章: 11


檢視個人資料
« 回覆文章 #4 於: 八月 06, 2005, 04:45:12 下午 »

引用自: ahxiao
引用自: markwu
引用自: ahxiao
但是刷新几次,等一会错误信息就没了,好奇怪
你的 plog/template 的權限是什麼?是 PHP 與 Apache 可以讀取的嗎?

Mark

权限肯定对的,我核实好几次了。

请问哪里可以设置smarty不显示错误吗?


ok,我自己把显示错误信息的代码注释掉了 不要告訴別人
已記錄
頁: [1]
LifeType 中文開發論壇  |  支援  |  安裝與設定  |  这种错误是怎么回事 « 上篇主題 下篇主題 »
    前往: