以下のソースなんですが、abcdefまでは表示されます。
gが表示されずにtplファイルもコンパイルされません。
インストール自体ややphpのinclude_pathはだいじょうぶだと思います。
echo("a");
require_once("Smarty/Smarty.class.php");
echo("b");
$o_smarty=new Smarty();
echo("c");
$o_smarty->template_dir="../templates/";
echo("d");
$o_smarty->compile_dir="../templates_c/";
echo("e");
$o_smarty->assign("name","World");
echo("f");
$o_smarty->display("hello.tpl");
echo("g");
http://sunset.freespace.jp/Smarty/SmartyManual_2-6-6J_html/insta...
コンパイルされたファイルを格納するのディレクトリのパーミッションは大丈夫でしょうか?
template_cのパーミッションを777にしてみてください。
キャッシュを使用する設定なら
cacheのパーミッションも777に設定してください。
ありがとうございました
解決しました!
775にしてました。