scriptinizin o dosyasında

require_once('Smarty.class.php');
$smarty = new Smarty();
$smarty->template_dir='/template';
$smarty->compile_dir='/compile';
$smarty->config_dir='/config';
$smarty->cache_dir='/cache';

böyle bir kısım varmı?

birde scriptinizin içinde smarty.class.php dosyası mevcutmu tam olarak nerede mevcut.smarty kütüphanesi olan libs klasörü scriptinizde mevcutmu.