Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Missing Footer


scorpio33

Recommended Posts

Posted

I installed a banner via my control panel. Everything worked great. A few hours later when i clicked on my index page i noticed that the bottom of my page was missing the OScommerce copywright along with the time and counter.

 

I was told to check my Footer.php and Index.php. files. I did and they seemed ok to me.

 

If you can, please help. This is way above me.

Take a look at my website to see what i mean.

My Webpage

 

Thanks

Scorpio33

Posted

looking at your site wont help us, we need to see what code you added/changed in the footer.php

Posted
looking at your site wont help us, we need to see what code you added/changed in the footer.php

my footer.php

 

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

Posted

When you post code, please use the 'code' buttons.

 

you are probably missing your </tr> and </table> it should probably look like 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 ? 2003 osCommerce 
Released under the GNU General Public License
*/ 

require(DIR_WS_INCLUDES . 'counter.php');
?>
 </tr>
</table>
<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 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 
?}
?>

Posted
When you post code, please use the 'code' buttons.

 

you are probably missing your </tr> and </table> it should probably look like 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 ? 2003 osCommerce 
Released under the GNU General Public License
*/ 

require(DIR_WS_INCLUDES . 'counter.php');
?>
?</tr>
</table>
<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 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 
?}
?>

Sorry about not using code. i added </tr>

</table> but it didn't make any diffrence

<?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 © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

require(DIR_WS_INCLUDES . 'counter.php');

?>

</tr>

</table>

<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

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

}

?>

Archived

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

×
×
  • Create New...