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

Shunji Sakami’s picture

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.

fago’s picture

i updated to php5.1.1 -> no change :/
so the failure must be elsewhere..

chx’s picture

Status: Active » Closed (won't fix)

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.

chx’s picture

fago’s picture

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..)