Post
#1
|
|
|
Grupa: Zarejestrowani Postów: 366 Pomógł: 0 Dołączył: 2.01.2007 Ostrzeżenie: (0%)
|
hej, zaczynam dopiero swoja przygode ze smarty. sciagnelam najnowszego z oficjalnej strony. utworzylam projekty 'smarty_test'.
w nim utworzylam katalog: smarty (w nim podkatalogi config, plugins, templates, templates_c oraz skopiowalam tu katalog libs ze smartego. czyli mam tu jeszcze: plugins, sysplugins, Smarty.class.php, debug.tpl) poza katalogiem utworzylam plik index.php:
zas w katalogu template utworzylam plik test.tpl. Jednak gdy wchodze na strone: http://localhost/smarty_test/index.php dostaje err: Fatal error: Uncaught exception 'SmartyException' with message 'Unable to load template file 'test.tpl'' in C:\wamp\www\smarty_test\smarty\sysplugins\smarty_internal_template.php:162 Stack trace: #0 C:\wamp\www\smarty_test\smarty\sysplugins\smarty_internal_template.php(537): Smarty_Internal_Template->isExisting(true) #1 C:\wamp\www\smarty_test\smarty\Smarty.class.php(335): Smarty_Internal_Template->getRenderedTemplate() #2 C:\wamp\www\smarty_test\smarty\Smarty.class.php(379): Smarty->fetch('test.tpl', NULL, NULL, NULL, true) #3 C:\wamp\www\smarty_test\index.php(10): Smarty->display('test.tpl') #4 {main} thrown in C:\wamp\www\smarty_test\smarty\sysplugins\smarty_internal_template.php on line 162 nie chce mi zaladowac tego tpl. czy ktos z Was wie o co chodzi?? pytalam google ale nie znalazlam odp.. |
|
|
|
![]() |
Post
#2
|
|
|
Grupa: Zarejestrowani Postów: 5 Pomógł: 1 Dołączył: 17.11.2010 Ostrzeżenie: (0%)
|
|
|
|
|
Post
#3
|
|
|
Grupa: Moderatorzy Postów: 36 561 Pomógł: 6315 Dołączył: 27.12.2004 |
|
|
|
|
Post
#4
|
|
|
Grupa: Zarejestrowani Postów: 366 Pomógł: 0 Dołączył: 2.01.2007 Ostrzeżenie: (0%)
|
dzieki
|
|
|
|
![]() ![]() |
|
Aktualny czas: 23.12.2025 - 04:14 |