For anyone else who gets this error on the top menu bit
Shopping Cart - count_contents();?> item(s) - format($_SESSION['cart']->show_total());?>
I spent ages head scratching and then realised that the error must be caused by short tags in php 5.3+,
Read Rottie Joes post below to solve it.
I had read his post while tracking the error, but as it didn't explain the error, It took a couple of re-reads to click.
rottiejoe:
Hi all,
This is a very nice template and deserves to be perfect. I would like to point out and fix one problem I have found. In the header the shopping cart item count and money totals in the cart are coded wrong in the (includes/templates/aberdeen_neutral/common/tpl_header.php )****file, find line 101 and between <li></li> replace with the following, the missing code is in red,
<li><img src="includes/templates/aberdeen_neutral/images/cart.jpg" class="cart-image" alt="the shopping cart" /><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?> - <?php echo $_SESSION['cart']->count_contents();?> item(s) - <?php echo $currencies->format($_SESSION['cart']->show_total());?></a> | </li>