|
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 |
VirgoFachero Smarty n00b
Joined: 24 Apr 2019 Posts: 1
|
Posted: Wed Apr 24, 2019 8:53 pm Post subject: Unable to load template file |
|
|
When using a subfolder wiith $smarty->display, this returns "Unable to load template file"
Example:
template dir is /templates/ and subfolder is /templates/sections
Code: | $smarty->display('sections/suspension.tpl'); |
will return
Quote: | Fatal error: Uncaught --> Smarty: Unable to load template 'file:sections/suspension.tpl' <-- thrown in /smarty/sysplugins/smarty_internal_template.php on line 195 |
Any way to fix it? Smarty 3.1.33 |
|
Back to top |
|
AnrDaemon Administrator
Joined: 03 Dec 2012 Posts: 1785
|
Posted: Sat Apr 27, 2019 5:44 pm Post subject: |
|
|
Double check permissions on a directory and spelling of your template paths.
This is usually what causes most of "unable to load" issues. |
|
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
|