|
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 |
hardik22 Smarty n00b
Joined: 07 Dec 2015 Posts: 2
|
Posted: Mon Dec 07, 2015 2:43 pm Post subject: Smarty: Unable to load template file |
|
|
Fatal error: Uncaught --> Smarty: Unable to load template file 'file=/var/www/html/smarty-3.1.24/libs/debug.tpl' <-- thrown in /usr/share/php/Smarty/sysplugins/smarty_internal_templatebase.php on line 129
what is solution of it .?
Please replay asap. |
|
Back to top |
|
AnrDaemon Administrator
Joined: 03 Dec 2012 Posts: 1785
|
Posted: Mon Dec 07, 2015 6:17 pm Post subject: |
|
|
Solution is to fix your paths and permissions.
Never place libraries into a webroot.
More specifically, it looks like you are trying to pull from two Smarty versions at once. |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Thu Dec 10, 2015 5:21 am Post subject: |
|
|
By default Smarty will load debug.tpl from the same folder where Smarty.class.php is located.
You can override it by setting $smarty->debug_tpl = '/path_to/debug.tpl'; |
|
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
|