I loaded zencart up today after installing xampp and installed the template TBsempre and had exactly the same issue. As I am new to php etc took me several hours to track down the offending script and correct it.
In the tpl_header.php for the template line 60 the code read...
Code:
<li class="shopping"><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?> <purple>(<? echo $_SESSION['cart']->count_contents();?>) <? echo $currencies->format($_SESSION['cart']->show_total());?></purple></a> </li>
I noted the missing php tags in the later section after the <? and changed it to
Code:
<li class="shopping"><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?> <purple>(<?php echo $_SESSION['cart']->count_contents();?>) <?php echo $currencies->format($_SESSION['cart']->show_total());?></purple></a> </li>
now this displays fine. You might want to look for something similar in the template you are using?
Bookmarks