|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
jav664 Smarty Rookie
Joined: 04 Mar 2011 Posts: 11
|
Posted: Thu Mar 09, 2017 10:31 pm Post subject: Uncaught --> Smarty: Unable to load template |
|
|
i have smarty 3.1.30 and a problem
here are the tests with $smarty->testInstall();
Smarty Installation test...
Testing template directory...
I:\_htdocs\shop\templates\darktheme is OK.
Testing compile directory...
I:\_htdocs\shop\templates_c is OK.
Testing plugins directory...
I:\_htdocs\shop\includes\classes\Smarty_3.1.30\plugins is OK.
I:\_htdocs\shop\templates\darktheme\smarty is OK.
I:\_htdocs\shop\includes\classes\Smarty_3.1.30\mlplugz is OK.
Testing cache directory...
I:\_htdocs\shop\cache is OK.
Testing configs directory...
I:\_htdocs\shop\lang\ is OK.
Testing sysplugin files...
... OK
Testing plugin files...
... OK
Tests complete.
BUT
Fatal error: Uncaught --> Smarty: Unable to load template 'file:darktheme/index.html' <-- thrown in I:\_htdocs\shop\includes\classes\Smarty_3.1.30\sysplugins\smarty_internal_template.php on line 163
(if i switch to 3.1.7 the same project works fine) |
|
Back to top |
|
jav664 Smarty Rookie
Joined: 04 Mar 2011 Posts: 11
|
Posted: Fri Mar 10, 2017 11:35 am Post subject: |
|
|
I need a small hint.
whats going wrong? |
|
Back to top |
|
AnrDaemon Administrator
Joined: 03 Dec 2012 Posts: 1785
|
Posted: Fri Mar 10, 2017 3:23 pm Post subject: |
|
|
Is your template file located at
I:\_htdocs\shop\templates\darktheme\darktheme\index.html or
I:\_htdocs\shop\templates\darktheme\index.html
?
Because in latter case, your template directory is set up wrong. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|