日期:2014-05-17  浏览次数:20596 次

谁帮我看看这个是什么问题Uncaught exception 'SmartyException' with message 'unable to write f
Fatal error: Uncaught exception 'SmartyException' with message 'unable to write file /usr/local/nginx/test/Runtime/TemplatesCache_c/wrt4f6961cc176326.15312366' in /usr/local/nginx/test/Vender/Smarty/sysplugins/smarty_internal_write_file.php:44 Stack trace: 

#0 /usr/local/nginx/test/Vender/Smarty/sysplugins/smarty_internal_template.php(201): Smarty_Internal_Write_File::writeFile('/usr/local/ngin...', '<?php /* Smarty...', Object(Smarty)) 

#1 /usr/local/nginx/test/Vender/Smarty/sysplugins/smarty_internal_templatebase.php(155): Smarty_Internal_Template->compileTemplateSource() 

#2 /usr/local/nginx/test/Vender/Smarty/sysplugins/smarty_internal_templatebase.php(374): Smarty_Internal_TemplateBase->fetch('index.html', NULL, NULL, NULL, true) 

#3 /usr/local/nginx/test/Controller/ControllerBase.class.php(127): Smarty_Internal_TemplateBase->display('index.html', NULL, NULL, NULL) 

#4 /usr/local/nginx/test/Controller/ControllerLogin.class.php(21): ControllerBase->display('index.html') 

#5 /usr/local/nginx/test/Controller/ControllerBase.cl in /usr/local/nginx/test/Vender/Smarty/sysplugins/smarty_internal_write_file.php on line 44

------解决方案--------------------
你查看下看是不是你的文件权限不够啊
------解决方案--------------------
路徑 文件名稱 問題 重新check下