//
function smarty_marktpl($tpl_source, &$smarty) {
$tpl_path = $smarty->template_dir.$smarty->_current_file;
return "<!-- [$tpl_path] -->".$tpl_source."<!-- /[$tpl_path] -->";
}
//
$smarty->register_prefilter('smarty_marktpl');
これで、生成されたページのコードを見るだけになり、すぐに原因が明らかになります。