Closed (won't fix)
Project:
Drupal core
Version:
4.6.3
Component:
theme system
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Nov 2005 at 19:11 UTC
Updated:
3 Dec 2005 at 19:48 UTC
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
Comment #1
Shunji Sakami commentedIn 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.
Comment #2
fagoi updated to php5.1.1 -> no change :/
so the failure must be elsewhere..
Comment #3
chx commenteduse 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.
Comment #4
chx commentedSee also http://drupal.org/node/22019
Comment #5
fagohm. 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..)