LifeType 中文開發論壇

支援 => 安裝與設定 => 主題作者是: hancool 於 四月 25, 2006, 11:38:37 下午



主題: 第一次安装LT时出错,请大家帮忙看一下是不是权限不够
作者: hancool四月 25, 2006, 11:38:37 下午
我运行wizard.php程序时提示下面错误,是不是smarty写tmp目录时的权限不够?请大家帮忙看一下(用的是别人的虚拟空间,IIS服务器)

Exception message: rename(./tmp\444e4fd9c0986,./tmp\%%-17^%%-1717134457^update1.template.php): Permission denied
Error code: 2
-- Backtrace --
D:\WWW\blackhappiness.net\csnc\blog\class\template\smarty\core\core.write_file.php(43): rename
D:\WWW\blackhappiness.net\csnc\blog\class\template\smarty\core\core.write_compiled_resource.php(30): smarty_core_write_file
D:\WWW\blackhappiness.net\csnc\blog\class\template\smarty\Smarty.class.php(1450): smarty_core_write_compiled_resource
D:\WWW\blackhappiness.net\csnc\blog\class\template\smarty\Smarty.class.php(1279): smarty._compile_resource
D:\WWW\blackhappiness.net\csnc\blog\wizard.php(749): smarty.fetch
D:\WWW\blackhappiness.net\csnc\blog\class\controller\controller.class.php(329): wizardview.render
D:\WWW\blackhappiness.net\csnc\blog\wizard.php(1828): controller.process

Exception message: chmod(): Unable to access ./tmp\%%-17^%%-1717134457^update1.template.php
Error code: 2
-- Backtrace --
D:\WWW\blackhappiness.net\csnc\blog\class\template\smarty\core\core.write_file.php(44): chmod
D:\WWW\blackhappiness.net\csnc\blog\class\template\smarty\core\core.write_compiled_resource.php(30): smarty_core_write_file
D:\WWW\blackhappiness.net\csnc\blog\class\template\smarty\Smarty.class.php(1450): smarty_core_write_compiled_resource
D:\WWW\blackhappiness.net\csnc\blog\class\template\smarty\Smarty.class.php(1279): smarty._compile_resource
D:\WWW\blackhappiness.net\csnc\blog\wizard.php(749): smarty.fetch
D:\WWW\blackhappiness.net\csnc\blog\class\controller\controller.class.php(329): wizardview.render
D:\WWW\blackhappiness.net\csnc\blog\wizard.php(1828): controller.process

Exception message: chmod(): No such file or directory
Error code: 2
-- Backtrace --
D:\WWW\blackhappiness.net\csnc\blog\class\template\smarty\core\core.write_file.php(44): chmod
D:\WWW\blackhappiness.net\csnc\blog\class\template\smarty\core\core.write_compiled_resource.php(30): smarty_core_write_file
D:\WWW\blackhappiness.net\csnc\blog\class\template\smarty\Smarty.class.php(1450): smarty_core_write_compiled_resource
D:\WWW\blackhappiness.net\csnc\blog\class\template\smarty\Smarty.class.php(1279): smarty._compile_resource
D:\WWW\blackhappiness.net\csnc\blog\wizard.php(749): smarty.fetch
D:\WWW\blackhappiness.net\csnc\blog\class\controller\controller.class.php(329): wizardview.render
D:\WWW\blackhappiness.net\csnc\blog\wizard.php(1828): controller.process

Exception message: fetch(): Unable to access ./tmp\%%-17^%%-1717134457^update1.template.php
Error code: 2
-- Backtrace --
D:\WWW\blackhappiness.net\csnc\blog\class\template\smarty\Smarty.class.php(1281): fetch
D:\WWW\blackhappiness.net\csnc\blog\wizard.php(749): smarty.fetch
D:\WWW\blackhappiness.net\csnc\blog\class\controller\controller.class.php(329): wizardview.render
D:\WWW\blackhappiness.net\csnc\blog\wizard.php(1828): controller.process

Exception message: fetch(./tmp\%%-17^%%-1717134457^update1.template.php): failed to open stream: No error
Error code: 2
-- Backtrace --
D:\WWW\blackhappiness.net\csnc\blog\class\template\smarty\Smarty.class.php(1281): fetch
D:\WWW\blackhappiness.net\csnc\blog\wizard.php(749): smarty.fetch
D:\WWW\blackhappiness.net\csnc\blog\class\controller\controller.class.php(329): wizardview.render
D:\WWW\blackhappiness.net\csnc\blog\wizard.php(1828): controller.process

Exception message: fetch(): Unable to access ./tmp\%%-17^%%-1717134457^update1.template.php
Error code: 2
-- Backtrace --
D:\WWW\blackhappiness.net\csnc\blog\class\template\smarty\Smarty.class.php(1281): fetch
D:\WWW\blackhappiness.net\csnc\blog\wizard.php(749): smarty.fetch
D:\WWW\blackhappiness.net\csnc\blog\class\controller\controller.class.php(329): wizardview.render
D:\WWW\blackhappiness.net\csnc\blog\wizard.php(1828): controller.process

Exception message: fetch(./tmp\%%-17^%%-1717134457^update1.template.php): failed to open stream: No error
Error code: 2
-- Backtrace --
D:\WWW\blackhappiness.net\csnc\blog\class\template\smarty\Smarty.class.php(1281): fetch
D:\WWW\blackhappiness.net\csnc\blog\wizard.php(749): smarty.fetch
D:\WWW\blackhappiness.net\csnc\blog\class\controller\controller.class.php(329): wizardview.render
D:\WWW\blackhappiness.net\csnc\blog\wizard.php(1828): controller.process

Exception message: fetch(): Failed opening './tmp\%%-17^%%-1717134457^update1.template.php' for inclusion (include_path='.;c:\php4\pear')
Error code: 2
-- Backtrace --
D:\WWW\blackhappiness.net\csnc\blog\class\template\smarty\Smarty.class.php(1281): fetch
D:\WWW\blackhappiness.net\csnc\blog\wizard.php(749): smarty.fetch
D:\WWW\blackhappiness.net\csnc\blog\class\controller\controller.class.php(329): wizardview.render
D:\WWW\blackhappiness.net\csnc\blog\wizard.php(1828): controller.process


主題: Re: 第一次安装LT时出错,请大家帮忙看一下是不是权限不够
作者: bibicall四月 26, 2006, 01:48:33 上午
你有把 tmp 修改為777嗎?


主題: Re: 第一次安装LT时出错,请大家帮忙看一下是不是权限不够
作者: hancool四月 26, 2006, 10:08:32 下午
因为是WIN2000+IIS,我用FTP上传上去的,我想应该不存在权限的问题吧。


主題: Re: 第一次安装LT时出错,请大家帮忙看一下是不是权限不够
作者: lss四月 26, 2006, 10:41:21 下午
IIS 還是有權限問題的,你若搜尋一下論壇 (關鍵字: IIS 權限),可以找到不少討論。

無論如何,看看這裡 (http://forum.lifetype.org.tw/index.php?topic=1720.msg10167#msg10167)的討論對你有沒有幫助。

lss


主題: Re: 第一次安装LT时出错,请大家帮忙看一下是不是权限不够
作者: hancool四月 27, 2006, 06:05:26 下午
谢谢啦