hi,

I am getting this:

Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /home/zyongteo/public_html/drupal/sites/all/themes/zen/zen/template.php on line 395

after switching to zen theme... how to fix this?

thanks alot.

Comments

non’s picture

Sorry I am unable to help zyongteo- I am having this same problem - same syntax error, same line.

Just downloaded this theme tonight. As long as the "zen" folder remains in the "../sites/all/themes" directory, I am unable to view any options on the Admin > Site building > Themes.

I see both our posts have been entered on the same date....

stryco’s picture

Assigned: Unassigned » stryco

Hey guys, I have the same problem, I downloaded zen theme, set up as main theme and I'm unable to view any optionson Admin or anything from page until I delete zen theme :(

johnalbin’s picture

Assigned: stryco » Unassigned
Category: support » bug
Priority: Normal » Critical
Status: Active » Postponed (maintainer needs more info)

You guys are using PHP 4, aren’t you?

If you are using PHP4, try removing the & from line 395 of template.php.

And let me know what version of PHP you are using and if my proposed fix helped.

johnalbin’s picture

Title: php error after setting zen as template » PHP 4 Parse error: syntax error, unexpected '&'
Status: Postponed (maintainer needs more info) » Fixed

Ok. I implemented a better fix than just removing the & from that line.

Please download 6.x-1.0-beta2: http://drupal.org/node/260642

non’s picture

Here is what I found in cPanel under phpMyAdmin for my site:

# Server version: 4.1.22-standard
# Protocol version: 10

Do you think my host should update PHP ?

I'll try the fix and post the results here- & thanks!

non’s picture

All is well now, thanks for the fix.

Still unsure whether it would be a good idea for the web host to upgrade PHP ?

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.