Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

STS Installation Problem


dapper

Recommended Posts

Hi everyone, hopefully someone will be able to make sense of this for me. I'm new to OSC and i've just installed STS on a slightly modified OSC install to see if it makes my life easier making mods to how the store looks. I merged all the changes, uploaded the extra files but when i went to check the store i got the following error

 

Parse error: parse error, unexpected $ in /homepages/39/d118852182/htdocs/GB/catalog/includes/footer.php on line 84

 

The strange thing is I've checked footer.php and line 84 contains only ?> and nothing else.

 

This is the code from my footer.php file

 

<?php
/*
 $Id: footer.php,v 1.26 2003/02/10 22:30:54 hpdl Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

 // STS: ADD
 // Get the output between column_right.php and footer.php
 $sts_block_name = 'columnright2footer';
 require(STS_RESTART_CAPTURE);
 // STS: EOADD

 require(DIR_WS_INCLUDES . 'counter.php');

 // STS: ADD
 $sts_block_name = 'counter';
 require(STS_RESTART_CAPTURE);
 // STS: EOADD

?>
<table border="0" width="100%" cellspacing="0" cellpadding="1">
 <tr class="footer">
   <td class="footer">  <?php echo strftime(DATE_FORMAT_LONG); ?>  </td>
   <td align="right" class="footer">  <?php echo $counter_now . ' ' . FOOTER_TEXT_REQUESTS_SINCE . ' ' . $counter_startdate_formatted; ?>  </td>
 </tr>
</table>
<br>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr>
   <td align="center" class="smallText">
<?php
/*
 The following copyright announcement can only be
 appropriately modified or removed if the layout of
 the site theme has been modified to distinguish
 itself from the default osCommerce-copyrighted
 theme.

 For more information please read the following
 Frequently Asked Questions entry on the osCommerce
 support site:

 http://www.oscommerce.com/community.php/faq,26/q,50

 Please leave this comment intact together with the
 following copyright announcement.
*/

 echo FOOTER_TEXT_BODY
?>
   </td>
 </tr>
</table>
<?php

 // STS: ADD
 $sts_block_name = 'footer';
 require(STS_RESTART_CAPTURE);
 // STS: EOADD

 if ($banner = tep_banner_exists('dynamic', '468x50')) {
 if ($banner = tep_banner_exists('dynamic', '468x60')) {
?>
<br>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr>
   <td align="center"><?php echo tep_display_banner('static', $banner); ?></td>
 </tr>
</table>
<?php

 // STS: ADD
 $sts_block_name = 'banner';
 require(STS_RESTART_CAPTURE);
 // STS: EOADD

 }
?>

 

Can anyone see where i've gone wrong? Is this due to something in another file? I just have no idea!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...