|
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 |
supert3d Smarty n00b
Joined: 21 Jul 2015 Posts: 2
|
Posted: Tue Jul 21, 2015 8:47 pm Post subject: Warning: file_get_contents([Smarty Compile .tpl.php File]): |
|
|
Random compile issues. I just hit refresh and it clears up but any ideas why this randomly keeps popping up?
Warning: file_get_contents([Smarty Compile .tpl.php File]): failed to open stream: No such file or directory in [Smarty Root]\sysplugins\smarty_internal_templatebase.php on line 156 Fatal error: Uncaught --> Smarty: Invalid compiled template for 'modules/catalog.tpl' <-- thrown in [Smarty Root]\sysplugins\smarty_internal_templatebase.php on line 182
Cheers there. |
|
Back to top |
|
AnrDaemon Administrator
Joined: 03 Dec 2012 Posts: 1785
|
Posted: Tue Jul 21, 2015 11:43 pm Post subject: |
|
|
You're recompiling and/or forcibly removing the file in the middle of another script execution.
Don't do that. |
|
Back to top |
|
supert3d Smarty n00b
Joined: 21 Jul 2015 Posts: 2
|
Posted: Wed Jul 22, 2015 12:12 am Post subject: |
|
|
What type of events would cause that?
I checked script heirachy and ->display() is only called once.
Compile dir is set in config' once.
Just wondering what it could be? |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Sat Jul 25, 2015 6:28 pm Post subject: |
|
|
It could happen if you have in some of your scripts $smarty->force_compile = true; This should be normally off.
Otherwise I have no idea. It also looks like that you are using some older version of Smarty. |
|
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
|