|
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 |
ilyalyu Smarty Regular
Joined: 03 Nov 2009 Posts: 72
|
Posted: Sat Sep 17, 2011 7:53 am Post subject: another merge_compiled_includes bug |
|
|
Smarty 3.1
merge_compiled_includes = true
This bug appears in the following situation:
First script execution:
fetch template1.html that includes subtemplate.html
fetch template2.html that includes subtemplate.html
No errors
Second script execution:
fetch template2.html that includes subtemplate.html
Shows error (see bellow)
Also, function content_4e744fb47e92b is defined in first compiled file ...template1.html.php, but it is not defined in the second compiled file ...template2.html.php.
As a result, if you fetch second template without fetching first template this will cause error.
Code: | Fatal error: Call to undefined function content_4e744fb47e92b() in T:\HTDOCS\CMS\temp\compiled\default_DefaultFireBrick^512b1befbc6264c12f309406dced5e6adff2b4c8.custom.front.html.php on line 359 |
|
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Sun Sep 18, 2011 2:34 am Post subject: |
|
|
This bug ins now fixed in the SVN trunk |
|
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
|