|
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 |
andre Smarty Pro
Joined: 23 Apr 2003 Posts: 164 Location: Karlsruhe, Germany
|
Posted: Tue Aug 05, 2003 2:58 pm Post subject: modifiers: Something is going wrong in newest CVS |
|
|
Since you cache the path of the plugins (especially the modifiers) somethings going wrong on my server
Sometimes Smarty cannot find a needed modifier function because it dosn't include_once() it. I have checked the "_smarty_cached_paths" and opened the corresponding cache file. Not all the needed plugins (e.g. "smarty_modifier_default" and some custom ones) where meantioned there but some.
I have really no idea why and when it happens. If I recompile it will work. After some time it won't work anymore ?!
I think it has something to do with cascaded includes and inserts. It seems if a template is included more than once, one include overwrites the "_smarty_cached_paths"-file which was created by a previous include. Or something like that
I use a complex structure which always worked. This phenomen is new since the last CVS update I made and concerns only the modifiers |
|
Back to top |
|
messju Administrator
Joined: 16 Apr 2003 Posts: 3336 Location: Oldenburg, Germany
|
Posted: Tue Aug 05, 2003 3:20 pm Post subject: |
|
|
hello andre, thanks for reporting this.
i'll look into it. it would be great if can downgrade to
Smarty.class.php rev. 1.425 and
Smarty_Compiler.class.php rev. 1.266
in the meantime and see if the problem was still there. i can think of two sources for the problem, this would help me narrowing it.
greetings
messju |
|
Back to top |
|
andre Smarty Pro
Joined: 23 Apr 2003 Posts: 164 Location: Karlsruhe, Germany
|
Posted: Wed Aug 06, 2003 8:44 am Post subject: |
|
|
Thanks for the patch, messju
It seems there is a bug in CVS which should be fixed within the next hours - after he commits his changes. |
|
Back to top |
|
messju Administrator
Joined: 16 Apr 2003 Posts: 3336 Location: Oldenburg, Germany
|
Posted: Wed Aug 06, 2003 9:02 am Post subject: |
|
|
done |
|
Back to top |
|
andre Smarty Pro
Joined: 23 Apr 2003 Posts: 164 Location: Karlsruhe, Germany
|
Posted: Thu Aug 07, 2003 6:16 am Post subject: |
|
|
After having the patch running for 24 hours I can say the error didn't occure again. Seems it's really fixed |
|
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
|