kaya4tw Posted September 25, 2008 Share Posted September 25, 2008 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 More sharing options...
germ Posted September 25, 2008 Share Posted September 25, 2008 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 More sharing options...
danjt Posted September 25, 2008 Share Posted September 25, 2008 You need to close the php code <?php } ?> at the end... not <?php ?> Dan Link to comment Share on other sites More sharing options...
Guest Posted September 25, 2008 Share Posted September 25, 2008 I think there's an echo in here.... Link to comment Share on other sites More sharing options...
danjt Posted September 25, 2008 Share Posted September 25, 2008 I think there's an echo in here.... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.