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

Warning: file_get_contents([Smarty Compile .tpl.php File]):

 
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 -> General
View previous topic :: View next topic  
Author Message
supert3d
Smarty n00b


Joined: 21 Jul 2015
Posts: 2

PostPosted: Tue Jul 21, 2015 8:47 pm    Post subject: Warning: file_get_contents([Smarty Compile .tpl.php File]): Reply with quote

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
View user's profile Send private message
AnrDaemon
Administrator


Joined: 03 Dec 2012
Posts: 1785

PostPosted: Tue Jul 21, 2015 11:43 pm    Post subject: Reply with quote

You're recompiling and/or forcibly removing the file in the middle of another script execution.
Don't do that.
Back to top
View user's profile Send private message
supert3d
Smarty n00b


Joined: 21 Jul 2015
Posts: 2

PostPosted: Wed Jul 22, 2015 12:12 am    Post subject: Reply with quote

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
View user's profile Send private message
U.Tews
Administrator


Joined: 22 Nov 2006
Posts: 5068
Location: Hamburg / Germany

PostPosted: Sat Jul 25, 2015 6:28 pm    Post subject: Reply with quote

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
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 -> General 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