先感謝mark!我終於可以發文了?
點選檔案列表出現錯誤訊息!不知如何解決!請教高手!!!很急!
Exception message: Smarty error: [in admin/resources.template line 100]: syntax error: mismatched tag {/foreach}. expected {/else} (opened line 81). (Smarty_Compiler.class.php, line 2206)
Error code: 256
-- Backtrace --
c:\appserv\www\blog\class\template\smarty\Smarty.class.php(1108): trigger_error
c:\appserv\www\blog\class\template\smarty\Smarty.class.php(1870): smarty_compiler.trigger_error
c:\appserv\www\blog\class\template\smarty\Smarty_Compiler.class.php(2131): smarty_compiler._trigger_fatal_error
c:\appserv\www\blog\class\template\smarty\Smarty_Compiler.class.php(2206): smarty_compiler._syntax_error
c:\appserv\www\blog\class\template\smarty\Smarty_Compiler.class.php(494): smarty_compiler._pop_tag
c:\appserv\www\blog\class\template\smarty\Smarty_Compiler.class.php(298): smarty_compiler._compile_tag
c:\appserv\www\blog\class\template\smarty\Smarty.class.php(1506): smarty_compiler._compile_file
c:\appserv\www\blog\class\template\smarty\Smarty.class.php(1441): template._compile_source
c:\appserv\www\blog\class\template\smarty\Smarty.class.php(1279): template._compile_resource
c:\appserv\www\blog\class\template\template.class.php(129): smarty.fetch
c:\appserv\www\blog\class\view\admin\admintemplatedview.class.php(43): template.fetch
c:\appserv\www\blog\class\view\admin\adminresourceslistview.class.php(104): admintemplatedview.render
c:\appserv\www\blog\class\controller\controller.class.php(329): adminresourceslistview.render
c:\appserv\www\blog\admin.php(39): admincontroller.process
Exception message: Smarty error: [in admin/resources.template line 112]: syntax error: unclosed tag {if} (opened line 78). (Smarty_Compiler.class.php, line 303)
Error code: 256
-- Backtrace --
c:\appserv\www\blog\class\template\smarty\Smarty.class.php(1108): trigger_error
c:\appserv\www\blog\class\template\smarty\Smarty.class.php(1870): smarty_compiler.trigger_error
c:\appserv\www\blog\class\template\smarty\Smarty_Compiler.class.php(2131): smarty_compiler._trigger_fatal_error
c:\appserv\www\blog\class\template\smarty\Smarty_Compiler.class.php(303): smarty_compiler._syntax_error
c:\appserv\www\blog\class\template\smarty\Smarty.class.php(1506): smarty_compiler._compile_file
c:\appserv\www\blog\class\template\smarty\Smarty.class.php(1441): template._compile_source
c:\appserv\www\blog\class\template\smarty\Smarty.class.php(1279): template._compile_resource
c:\appserv\www\blog\class\template\template.class.php(129): smarty.fetch
c:\appserv\www\blog\class\view\admin\admintemplatedview.class.php(43): template.fetch
c:\appserv\www\blog\class\view\admin\adminresourceslistview.class.php(104): admintemplatedview.render
c:\appserv\www\blog\class\controller\controller.class.php(329): adminresourceslistview.render
c:\appserv\www\blog\admin.php(39): admincontroller.process
Exception message: Smarty error:
Error code: 512
-- Backtrace --
c:\appserv\www\blog\class\template\smarty\Smarty.class.php(1108): trigger_error
c:\appserv\www\blog\class\template\smarty\Smarty.class.php(1454): template.trigger_error
c:\appserv\www\blog\class\template\smarty\Smarty.class.php(1279): template._compile_resource
c:\appserv\www\blog\class\template\template.class.php(129): smarty.fetch
c:\appserv\www\blog\class\view\admin\admintemplatedview.class.php(43): template.fetch
c:\appserv\www\blog\class\view\admin\adminresourceslistview.class.php(104): admintemplatedview.render
c:\appserv\www\blog\class\controller\controller.class.php(329): adminresourceslistview.render
c:\appserv\www\blog\admin.php(39): admincontroller.process