Smarty に問題があると、汚いエラー メッセージが表示されます。
デバッグ モードを有効にする方法、または明確なエラー メッセージを取得する方法を教えてください。
これはエラーの例です:
Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file 'list.tpl'' in
H:\Server\FrameWork\smarty\libs\sysplugins\smarty_internal_templatebase.php:127
Stack trace: #0 H:\Server\FrameWork\smarty\libs\sysplugins\smarty_internal_templatebase.php(374):
Smarty_Internal_TemplateBase->fetch('news/li...', NULL, NULL, NULL, true) #1
H:\Server\news\list.php(157): Smarty_Internal_TemplateBase->display('news/li...') #2
H:\Server\news\news.php(24): include('H:\Serve...') #3 H:\Server\sec.php(13):
include('H:\Serve...') #4 {main} thrown in
H:\Server\FrameWork\smarty\libs\sysplugins\smarty_internal_templatebase.php on line 127