LifeType 中文開發論壇

支援 => 安裝與設定 => 主題作者是: CaThi 於 九月 21, 2006, 06:46:23 上午



主題: 安装后提示这个问题。。。
作者: CaThi九月 21, 2006, 06:46:23 上午

Exception message: fopen(): open_basedir restriction in effect. File(D:\AllTemp\wrtC2.tmp) is not within the allowed path(s): (D:/usr/www)
Error code: 2
-- Backtrace --
d:\usr\www\test\blog\class\template\smarty\internals\core.write_file.php(30): fopen
d:\usr\www\test\blog\class\template\smarty\internals\core.write_compiled_resource.php(29): smarty_core_write_file
d:\usr\www\test\blog\class\template\smarty\Smarty.class.php(1433): smarty_core_write_compiled_resource
d:\usr\www\test\blog\class\template\smarty\Smarty.class.php(1263): template._compile_resource
d:\usr\www\test\blog\class\template\template.class.php(130): smarty.fetch
d:\usr\www\test\blog\class\view\admin\admindefaultview.class.php(57): template.fetch
d:\usr\www\test\blog\class\controller\controller.class.php(330): admindefaultview.render
d:\usr\www\test\blog\admin.php(43): admincontroller.process

Exception message: fopen(D:\AllTemp\wrtC2.tmp): failed to open stream: Operation not permitted
Error code: 2
-- Backtrace --
d:\usr\www\test\blog\class\template\smarty\internals\core.write_file.php(30): fopen
d:\usr\www\test\blog\class\template\smarty\internals\core.write_compiled_resource.php(29): smarty_core_write_file
d:\usr\www\test\blog\class\template\smarty\Smarty.class.php(1433): smarty_core_write_compiled_resource
d:\usr\www\test\blog\class\template\smarty\Smarty.class.php(1263): template._compile_resource
d:\usr\www\test\blog\class\template\template.class.php(130): smarty.fetch
d:\usr\www\test\blog\class\view\admin\admindefaultview.class.php(57): template.fetch
d:\usr\www\test\blog\class\controller\controller.class.php(330): admindefaultview.render
d:\usr\www\test\blog\admin.php(43): admincontroller.process

Exception message: fopen(): open_basedir restriction in effect. File(D:\AllTemp\wrtC3.tmp) is not within the allowed path(s): (D:/usr/www)
Error code: 2
-- Backtrace --
d:\usr\www\test\blog\class\template\smarty\internals\core.write_file.php(30): fopen
d:\usr\www\test\blog\class\template\smarty\internals\core.write_compiled_resource.php(29): smarty_core_write_file
d:\usr\www\test\blog\class\template\smarty\Smarty.class.php(1433): smarty_core_write_compiled_resource
d:\usr\www\test\blog\class\template\smarty\Smarty.class.php(1869): template._compile_resource
d:\usr\www\test\blog\tmp\%%2C^2C1^2C1A911F%%default.template.php(4): template._smarty_include
d:\usr\www\test\blog\class\template\smarty\Smarty.class.php(1265): include
d:\usr\www\test\blog\class\template\template.class.php(130): smarty.fetch
d:\usr\www\test\blog\class\view\admin\admindefaultview.class.php(57): template.fetch
d:\usr\www\test\blog\class\controller\controller.class.php(330): admindefaultview.render
d:\usr\www\test\blog\admin.php(43): admincontroller.process

Exception message: fopen(D:\AllTemp\wrtC3.tmp): failed to open stream: Operation not permitted
Error code: 2
-- Backtrace --
d:\usr\www\test\blog\class\template\smarty\internals\core.write_file.php(30): fopen
d:\usr\www\test\blog\class\template\smarty\internals\core.write_compiled_resource.php(29): smarty_core_write_file
d:\usr\www\test\blog\class\template\smarty\Smarty.class.php(1433): smarty_core_write_compiled_resource
d:\usr\www\test\blog\class\template\smarty\Smarty.class.php(1869): template._compile_resource
d:\usr\www\test\blog\tmp\%%2C^2C1^2C1A911F%%default.template.php(4): template._smarty_include
d:\usr\www\test\blog\class\template\smarty\Smarty.class.php(1265): include
d:\usr\www\test\blog\class\template\template.class.php(130): smarty.fetch
d:\usr\www\test\blog\class\view\admin\admindefaultview.class.php(57): template.fetch
d:\usr\www\test\blog\class\controller\controller.class.php(330): admindefaultview.render
d:\usr\www\test\blog\admin.php(43): admincontroller.process


主題: Re: 安装后提示这个问题。。。
作者: CaThi九月 21, 2006, 06:50:07 上午
我以前有过类似,论坛文件不能在系统临时文件夹处理的情况。。。

能不能他临时文件夹修改到LT的临时文件夹?

这样问对吧?


主題: Re: 安装后提示这个问题。。。
作者: winman九月 21, 2006, 07:06:22 上午

Exception message: fopen(): open_basedir restriction in effect. File(D:\AllTemp\wrtC2.tmp) is not within the allowed path(s): (D:/usr/www)


看起来象是设置了php可访问路径,很多主机服务商考虑到安全性问题,
会把用户的php可访问路径作限制。如果主机是自己的话,修改php的
Open_BaseDir这行,增加相应的访问路径/去除限制。


主題: Re: 安装后提示这个问题。。。
作者: markwu九月 21, 2006, 11:39:16 上午
這是你自己的機器嗎?把 php 的 safe_mode 關掉!

MArk