主題: 这种错误是怎么回事
作者: ahxiao 於 八月 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 於 八月 02, 2005, 11:12:46 下午
但是刷新几次,等一会错误信息就没了,好奇怪
主題: 这种错误是怎么回事
作者: markwu 於 八月 04, 2005, 12:08:42 上午
但是刷新几次,等一会错误信息就没了,好奇怪 你的 plog/template 的權限是什麼?是 PHP 與 Apache 可以讀取的嗎? Mark
主題: 这种错误是怎么回事
作者: ahxiao 於 八月 05, 2005, 10:16:01 下午
但是刷新几次,等一会错误信息就没了,好奇怪 你的 plog/template 的權限是什麼?是 PHP 與 Apache 可以讀取的嗎? Mark 权限肯定对的,我核实好几次了。 请问哪里可以设置smarty不显示错误吗?
主題: 这种错误是怎么回事
作者: ahxiao 於 八月 06, 2005, 04:45:12 下午
但是刷新几次,等一会错误信息就没了,好奇怪 你的 plog/template 的權限是什麼?是 PHP 與 Apache 可以讀取的嗎? Mark 权限肯定对的,我核实好几次了。 请问哪里可以设置smarty不显示错误吗? ok,我自己把显示错误信息的代码注释掉了 :-#
|