|
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 |
mystrymaster Smarty Rookie
Joined: 31 Oct 2003 Posts: 17
|
Posted: Tue Jan 06, 2004 9:27 am Post subject: error loading template |
|
|
here is the error I get
Code: |
Warning: filemtime(): Stat failed for /modules/moreInfo.tpl (errno=2 - No such file or directory) in C:\Smarty\libs\Smarty.class.php on line 1583
Warning: Smarty error: unable to read resource: "/modules/moreInfo.tpl" in C:\Smarty\libs\Smarty.class.php on line 1144 |
Now the template_dir is set and I can parse other templates.
It says that the directory or file does not exist
directory structure is
templates
modules
moreInfo.tpl
includes
loggedinbody.tpl
index.tpl
now from index.tpl I call includes/loggedinbody.tpl and it works fine.
Why oh god why? |
|
Back to top |
|
mystrymaster Smarty Rookie
Joined: 31 Oct 2003 Posts: 17
|
Posted: Mon Jan 19, 2004 10:01 am Post subject: |
|
|
no one can offer assistance on this? |
|
Back to top |
|
messju Administrator
Joined: 16 Apr 2003 Posts: 3336 Location: Oldenburg, Germany
|
Posted: Mon Jan 19, 2004 10:19 am Post subject: |
|
|
maybe you try do display "/modules/moreInfo.tpl" where it should be "modules/moreInfo.tpl" ?
what version of smarty do you use? |
|
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
|