環境: 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