LifeType 中文開發論壇

支援 => 安裝與設定 => 主題作者是: johnpage 於 八月 21, 2005, 10:39:10 下午



主題: 第一次執行 wizard.php 安裝就出現錯誤
作者: johnpage八月 21, 2005, 10:39:10 下午
環境: Windows XP + MySql 4.0.18 + php 4.3.10
錯誤如下:
程式碼:

Exception message: fopen(./tmp\43089e953c1dd): failed to open stream: Permission denied
Error code: 2
-- Backtrace --
D:\Inetpub\wwwroot\plog\class\template\smarty\core\core.write_file.php(30): fopen
D:\Inetpub\wwwroot\plog\class\template\smarty\core\core.write_compiled_resource.php(30): smarty_core_write_file
D:\Inetpub\wwwroot\plog\class\template\smarty\Smarty.class.php(1450): smarty_core_write_compiled_resource
D:\Inetpub\wwwroot\plog\class\template\smarty\Smarty.class.php(1279): smarty._compile_resource
D:\Inetpub\wwwroot\plog\wizard.php(740): smarty.fetch
D:\Inetpub\wwwroot\plog\class\controller\controller.class.php(325): wizardview.render
D:\Inetpub\wwwroot\plog\wizard.php(1819): controller.process

Exception message: Smarty error: problem writing temporary file './tmp\43089e953c1dd'
Error code: 512
-- Backtrace --
D:\Inetpub\wwwroot\plog\class\template\smarty\Smarty.class.php(1108): trigger_error
D:\Inetpub\wwwroot\plog\class\template\smarty\core\core.write_file.php(31): smarty.trigger_error
D:\Inetpub\wwwroot\plog\class\template\smarty\core\core.write_compiled_resource.php(30): smarty_core_write_file
D:\Inetpub\wwwroot\plog\class\template\smarty\Smarty.class.php(1450): smarty_core_write_compiled_resource
D:\Inetpub\wwwroot\plog\class\template\smarty\Smarty.class.php(1279): smarty._compile_resource
D:\Inetpub\wwwroot\plog\wizard.php(740): smarty.fetch
D:\Inetpub\wwwroot\plog\class\controller\controller.class.php(325): wizardview.render
D:\Inetpub\wwwroot\plog\wizard.php(1819): controller.process

Exception message: fetch(./tmp\%%-18^%%-1805601885^intro.template.php): failed to open stream: No such file or directory
Error code: 2
-- Backtrace --
D:\Inetpub\wwwroot\plog\class\template\smarty\Smarty.class.php(1281): fetch
D:\Inetpub\wwwroot\plog\wizard.php(740): smarty.fetch
D:\Inetpub\wwwroot\plog\class\controller\controller.class.php(325): wizardview.render
D:\Inetpub\wwwroot\plog\wizard.php(1819): controller.process

Exception message: fetch(): Failed opening './tmp\%%-18^%%-1805601885^intro.template.php' for inclusion (include_path='.;c:\php4\pear')
Error code: 2
-- Backtrace --
D:\Inetpub\wwwroot\plog\class\template\smarty\Smarty.class.php(1281): fetch
D:\Inetpub\wwwroot\plog\wizard.php(740): smarty.fetch
D:\Inetpub\wwwroot\plog\class\controller\controller.class.php(325): wizardview.render
D:\Inetpub\wwwroot\plog\wizard.php(1819): controller.process


主題: 第一次執行 wizard.php 安裝就出現錯誤
作者: markwu八月 21, 2005, 10:40:41 下午
你的 plog/tmp 是否是『唯讀』呢?把他改為可讀寫。

Mark