Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Uncaught --> Smarty: Unable to load template

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Installation and Setup
View previous topic :: View next topic  
Author Message
jav664
Smarty Rookie


Joined: 04 Mar 2011
Posts: 11

PostPosted: Thu Mar 09, 2017 10:31 pm    Post subject: Uncaught --> Smarty: Unable to load template Reply with quote

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
View user's profile Send private message
jav664
Smarty Rookie


Joined: 04 Mar 2011
Posts: 11

PostPosted: Fri Mar 10, 2017 11:35 am    Post subject: Reply with quote

I need a small hint.

whats going wrong?
Back to top
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1785

PostPosted: Fri Mar 10, 2017 3:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Installation and Setup All times are GMT
Page 1 of 1

 
Jump to:  
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
Protected by Anti-Spam ACP