Posted by fago on November 26, 2005 at 7:11pm
3 followers
Jump to:
| Project: | Drupal core |
| Version: | 4.6.3 |
| Component: | theme system |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | closed (won't fix) |
Issue Summary
since i upgraded to php5.1 all xtemplate themes hasn't been parsed correctly. phptemplate is still working.
before, with php5.0.5 everything was working fine.
the output with xtemplate themes looks like this:
{head} {styles}
{_BLOCK_.header.site_name}
{secondary_links}
{primary_links}
{_BLOCK_.header.blocks}
{_BLOCK_.header.title} You are not authorized to access this page.
{_BLOCK_.footer.message}
Comments
#1
In php 5.1.1 NEWS file, it says
- Fixed bug #35411 (Regression with \{$ handling). (Ilia)
So, you shuld correct every \{ to { and \} to } in xtemplate.inc file.
#2
i updated to php5.1.1 -> no change :/
so the failure must be elsewhere..
#3
use phptemplate and, for example, bluemarine for phptemplate. xtemplate is out of core in 4.7 and it's basically unsupported in 4.6 now IMO. Of course, if need to be, security fixes will be provided.
#4
See also http://drupal.org/node/22019
#5
hm. i thought xtemplate is the standard engine for 4.6, as you have to download phptemplate on your own.
(i prefer phptemplate, too ;)
in the end the support of php5 for drupal 4.6 isn't there.
imho things should be clear, and offical support of php5 dropped (or being provided..)