Ive upgraded mt php version to php5 using the xampp installation pack. Ever since then my old drupal site - 4.6 using bluemarin Xtemplate is displayed like this :
{head} {styles} {_BLOCK_.header.logo} {_BLOCK_.header.site_name}
{secondary_links}
{primary_links}
{_BLOCK_.header.search_box}
{_BLOCK_.header.blocks} {_BLOCK_.header.title} You are not authorized to access this page.

What to do ?
a new site, uses the 4.7 version is working beautiful

tnx.

Comments

gabriella’s picture

PHP 5.1.1+ and the template engine XTemplate are incompatible.

The quickest solution is to go to http://www.example.com/?q=admin/themes and change the default theme to Chameleon or Marvin.

Another solution is to switch to a PHPTemplate based theme.

fatfish’s picture

Ive a long time building this interface:
http://www.fatfish.co.il/finalscreen/screenShot_ver2_003.gif
It would be a pity to start it all over just for OP upgrade.
what is the newest PHP version the is compatible ?

..:| Tomer Fish |:..
fatFish - Lean Mean Coding Machine

gabriella’s picture

On this page in the handbooks (Installation requirements) http://drupal.org/node/270
they recommend the latest 4.X PHP version.
And according to this page there is also issues with PHP 5.0.5 and xtemplate

Heine’s picture

This was one of the most frequently asked questions in the forum; mostly from people running 5.1.1. Initially the handbook page read 5.0.5+, but I've only found clear 5.1.1 cases before, so I modified the page somewhat.

Please confirm that your php version is 5.0.4 and I'll update the page.
--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.