Smarty 2.6.8 : Demo не запускается

Ekklipce

Новичок
Smarty 2.6.8 : Demo не запускается

register globals = On
php 4.3.9
Smarty 2.6.8
knowing level of smarty - nothing :)
include_path = "D:\usr\home\lib\smarty\libs\"

PHP:
Warning: fetch(templates_c\%%45^45E^45E480CD%%index.tpl.php): failed to open stream: No such file or directory in D:\usr\home\lib\smarty\libs\Smarty.class.php on line 1251

Warning: fetch(): Failed opening 'templates_c\%%45^45E^45E480CD%%index.tpl.php' for inclusion (include_path='D:\usr\home\lib\smarty\libs\') in D:\usr\home\lib\smarty\libs\Smarty.class.php on line 1251

Warning: _include(templates_c\%%39^391^3911B88E%%debug.tpl.php): failed to open stream: No such file or directory in D:\usr\home\lib\smarty\libs\Smarty.class.php on line 1915

Warning: _include(): Failed opening 'templates_c\%%39^391^3911B88E%%debug.tpl.php' for inclusion (include_path='D:\usr\home\lib\smarty\libs\') in D:\usr\home\lib\smarty\libs\Smarty.class.php on line 1915
следующий код ошитбки не выдает
PHP:
require('Smarty.class.php');
$smarty = new Smarty;
короче без $smarty->display пашет))..

ЗЫ. может тему или вопрос не верно сформировал, в смарти тут першые шаги ...

-~{}~ 06.06.05 13:13:

разобрался (....

надо пути было указать все..
вопрос сниааецца.. всем спасибо кто прочитал пост и имел в голове мысль чем-то помочь
 

Serguitar

Новичок->продвинутый
что у тебя было и как исправил? У меня та же дрянь, всё пути правильно, а работать не хочет.
 

Smartbb

Новичок
include_path = "D:\usr\home\lib\smarty\libs\"
D:usrhomelibsmartylibsSmarty.class.php как видно не воспринимается должны образом вот этот слеш \ попробуй замени его на обратный

D:/usr/home/lib/smarty/libs/
 
Сверху