安裝好模板套用到部落格以後前面先出現錯誤訊息,拉下去,後面才有部落格的頁面...
每個模板都會這樣,像我裝almost-spring的模板後...錯誤訊息如下
Exception message: Smarty error: [in almost-spring/main.template line 6]: syntax error: unrecognized tag 'pager' (Smarty_Compiler.class.php, line 551)
Error code: 256
-- Backtrace --
x:\www\blog\class\template\smarty\Smarty.class.php(1108): trigger_error
x:\www\blog\class\template\smarty\Smarty.class.php(1870): smarty_compiler.trigger_error
x:\www\blog\class\template\smarty\Smarty_Compiler.class.php(2131): smarty_compiler._trigger_fatal_error
x:\www\blog\class\template\smarty\Smarty_Compiler.class.php(551): smarty_compiler._syntax_error
x:\www\blog\class\template\smarty\Smarty_Compiler.class.php(298): smarty_compiler._compile_tag
x:\www\blog\class\template\smarty\Smarty.class.php(1506): smarty_compiler._compile_file
x:\www\blog\class\template\smarty\Smarty.class.php(1441): cachedtemplate._compile_source
x:\www\blog\class\template\smarty\Smarty.class.php(1279): cachedtemplate._compile_resource
x:\www\blog\class\template\cachedtemplate.class.php(48): smarty.fetch
x:\www\blog\class\view\smartyview.class.php(207): cachedtemplate.fetch
x:\www\blog\class\view\blogview.class.php(224): smartyview.render
x:\www\blog\class\view\defaultview.class.php(82): blogview.render
x:\www\blog\class\controller\controller.class.php(329): defaultview.render
x:\www\blog\index.php(42): blogcontroller.process
我的系統是WIN2000 SERVER...裝Appserv2.4.4a