Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Parse error: syntax error, unexpected $end in /home1/metrobro/public_html/includes/footer.php on line 39


kaya4tw

Recommended Posts

hey everyone... I was going to remove the installed by at the bottom of my site but decided that since this was free and people have spent time contributing and helping with issues (including myself) that it was not right of me to not support simple scripts as well as OSCommerce. I put everything back to what I thought was there originally but am getting this error now. Here is what my footer.php looks like. I do have a fixed width site so I know I have an extra line. THanks

 

<?php

/*

$Id: footer.php 1739 2007-12-20 00:52:16Z hpdl $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

require(DIR_WS_INCLUDES . 'counter.php');

?>

<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 echo FOOTER_TEXT_BODY; ?> Installed by <a href="http://www.simplescripts.com" title="SimpleScripts Automated Script Installation">SimpleScripts</a> <a href="http://www.hostmonster.com" title="web hosting">web hosting</a></td>

</tr>

</table>

<?php

if ($banner = tep_banner_exists('dynamic', '468x50')) {

?>

<br>

<table border="0" width="100%" cellspacing="0" cellpadding="0">

<tr>

<td align="center"><?php echo tep_display_banner('static', $banner); ?></td>

</tr>

</table>

</td></tr></table>

<?php

 

?>

Link to comment
Share on other sites

The code at the end should be:

 

<?php
}
?>

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...