Archive for the 'Lain-lain' Category

Junk {head} {styles} codes as output

Wednesday, November 1st, 2006

Symptom:

When visiting your Drupal site for the first time you see what looks like code output, instead of the expected theme:
{head} {styles} {_BLOCK_.header.logo} {_BLOCK_.header.site_name} {secondary_links}
{primary_links}
{_BLOCK_.header.blocks}

This chunk of code is followed by the standard welcome message.

Cause:

Changes made after 4.6.x was released in PHP 5.0.5+/5.1.1+ and the template engine XTemplate are incompatible.

(more…)