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

3.0b/sysplugins/smarty_internal_template.php on line 424

 
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 -> Smarty 3
View previous topic :: View next topic  
Author Message
azz0r
Smarty Rookie


Joined: 23 Apr 2007
Posts: 15

PostPosted: Mon Nov 30, 2009 9:37 am    Post subject: 3.0b/sysplugins/smarty_internal_template.php on line 424 Reply with quote

Code:
Warning: include(/Users/aaron/Sites/ms.tv/application/trunk/var/smarty/compiled/www.ms.tv/1859376627.file.main.html.cache.php) [function.include]: failed to open stream: No such file or directory in /Users/aaron/Sites/ms.tv/application/trunk/library/Smarty-3.0b/sysplugins/smarty_internal_template.php on line 424


However, it does create the file: 1859376627.file.main.html.php file, note the .cache.

Code:
      $smarty->enableCaching();
      $smarty->debugging       = false;
      $smarty->force_compile    = false;
      $smarty->compile_check    = false;


Ideas?
Back to top
View user's profile Send private message
azz0r
Smarty Rookie


Joined: 23 Apr 2007
Posts: 15

PostPosted: Mon Nov 30, 2009 10:09 am    Post subject: Reply with quote

This seems to have been fixed in b5. Thanks.
Back to top
View user's profile Send private message
azz0r
Smarty Rookie


Joined: 23 Apr 2007
Posts: 15

PostPosted: Mon Nov 30, 2009 11:04 am    Post subject: Reply with quote

Okay maybe not, its back ;(
Back to top
View user's profile Send private message
mohrt
Administrator


Joined: 16 Apr 2003
Posts: 7368
Location: Lincoln Nebraska, USA

PostPosted: Mon Nov 30, 2009 6:01 pm    Post subject: Reply with quote

Just to check, did you clear cache/compile files when updating smarty?
Back to top
View user's profile Send private message Visit poster's website
U.Tews
Administrator


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

PostPosted: Mon Nov 30, 2009 6:04 pm    Post subject: Reply with quote

Is it possible that you have deleted files from the templates_c folder but left cache files existing in the cache folder? This could create a problem when compile_check is false. In this case you must also delete the files in the cache folder.

However I made some change that if the $smarty->caching parameter was set to true it gets now mapped to the constant SMARTY_CACHING_LIFETIME_CURRENT during template processing to prevent for other possible problems.

So please check if this problem shows up also with the SVN version.
Back to top
View user's profile Send private message
azz0r
Smarty Rookie


Joined: 23 Apr 2007
Posts: 15

PostPosted: Thu Dec 03, 2009 1:55 pm    Post subject: Reply with quote

I had to clear my cache directories, but we were using clearCache instead of cache = true false.
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 -> Smarty 3 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