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.
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
Comment #1
non commentedSorry 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....
Comment #2
stryco commentedHey 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 :(
Comment #3
johnalbinYou 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.
Comment #4
johnalbinOk. I implemented a better fix than just removing the & from that line.
Please download 6.x-1.0-beta2: http://drupal.org/node/260642
Comment #5
non commentedHere 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!
Comment #6
non commentedAll is well now, thanks for the fix.
Still unsure whether it would be a good idea for the web host to upgrade PHP ?
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.