|
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 |
azz0r Smarty Rookie
Joined: 23 Apr 2007 Posts: 15
|
Posted: Mon Nov 30, 2009 9:37 am Post subject: 3.0b/sysplugins/smarty_internal_template.php on line 424 |
|
|
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 |
|
azz0r Smarty Rookie
Joined: 23 Apr 2007 Posts: 15
|
Posted: Mon Nov 30, 2009 10:09 am Post subject: |
|
|
This seems to have been fixed in b5. Thanks. |
|
Back to top |
|
azz0r Smarty Rookie
Joined: 23 Apr 2007 Posts: 15
|
Posted: Mon Nov 30, 2009 11:04 am Post subject: |
|
|
Okay maybe not, its back ;( |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Mon Nov 30, 2009 6:01 pm Post subject: |
|
|
Just to check, did you clear cache/compile files when updating smarty? |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Mon Nov 30, 2009 6:04 pm Post subject: |
|
|
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 |
|
azz0r Smarty Rookie
Joined: 23 Apr 2007 Posts: 15
|
Posted: Thu Dec 03, 2009 1:55 pm Post subject: |
|
|
I had to clear my cache directories, but we were using clearCache instead of cache = true false. |
|
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
|