Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Footer disappeared.


zephster

Recommended Posts

Hi.

 

The footer on my store has disappeared. Randomly. On every page.

I have no idea what's wrong. I have restored backups but even with the old backup files I still have no footer.

 

If you'd like to look at the site...

18+ only, due to the nature of the products...

www.homegrownglass.com/store

 

I'd much appreciate any help I could get. Thank you!

 

 

-brandon

Link to comment
Share on other sites

My footer.php is this:

<?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
*/

 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 style="border: 5px solid #CC0000" 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 "Copyright ? 2005 HomegrownGlass.com All Rights Reserved.<br>You must be 18 years of age or older to purchase any items from this site.";
?>
<!--
</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>
-->
<?php
 }
?>
</div>
<?php
 require(DIR_WS_FUNCTIONS . 'user_tracking.php');
if ( OSC_CONFIG_USER_TRACKING == 'true') { tep_update_user_tracking(); }
?>

 

 

 

 

And I did post a URL...in my first post.

Link to comment
Share on other sites

looks the html is wrong. Why the table elements are commented out?

<!--
</td>
</tr>
</table>
-->

 

There is no </td> terminator for your footer. And the same happens for the banner from what I see

Link to comment
Share on other sites

looks the html is wrong. Why the table elements are commented out?

<!--
</td>
</tr>
</table>
-->

 

There is no </td> terminator for your footer. And the same happens for the banner from what I see

 

 

I have even tried replacing the original footer and still it doesnt show?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...