I've requested a backport: bug 59029 ** Description changed:
This problem is present in dapper. The details of the problem aren't really worth going into much detail, here. It has to do with the way PHP handles references (or something). What makes this real nasty is that, if the user is not using PHP's E_STRICT (to make PHP show error messages for certain problems), he may not even get an error message, and may just have his Smarty templates all-of-a-sudden stop working properly. The php5 package in Ubuntu ships with E_STRICT *off*, by default! An example of breakage due to this bug: I was using a Smarty "block" plug-in to create dynamic tables. Under the current Smarty/PHP combination in dapper, the tables would not render correctly. For more detail on the problem, see this thread: http://news.php.net/php.smarty.dev/2829 The current version of Smarty in dapper is 2.6.11. If Smarty is simply - upgraded to 2.6.12 or 2.6.13 (the latest version, as of 2006-05-12), - this problem will be solved. + upgraded to 2.6.12 or higher this problem should be solved. The changes between Smary 2.6.11 and 2.6.13 are quite small (all bug - fixes, I believe). It seems likely that anyone whom will actually be + fixes, I believe); I have not looked into the changes between 2.6.13 and + any higher version. It seems likely that anyone whom will actually be using Smarty has a real good chance of running into this problem. -- Some portions of Smarty are broken in PHP >= 5.1.2 https://launchpad.net/bugs/35385 -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
