Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

footer.php error on line 46


onedownfiveup

Recommended Posts

I added links in footer contrib and now get Fatal error: Call to undefined function: tep_banner_exists() in /home/content/s/m/i/smithers/html/includes/footer.php on line 46

 

<?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" align="center">  <?php echo


'<a href="' . tep_href_link(FILENAME_SHIPPING) . '">' . BOX_INFORMATION_SHIPPING . '</a> |
' ,




									 '<a href="' . tep_href_link(FILENAME_PRIVACY) . '">' . BOX_INFORMATION_PRIVACY . '</a> |',

									 '<a href="' . tep_href_link(FILENAME_CONDITIONS) . '">' . BOX_INFORMATION_CONDITIONS . '</a> |',

									 '<a href="' . tep_href_link(FILENAME_CONTACT_US) . '">' . BOX_INFORMATION_CONTACT . '</a> |'



?>  </td>
<td align="right" class="footer">  <?php echo 
  ?>  </td>
 </tr>
</table>
<br>
<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr>
<td align="center" class="smallText"><?php 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"></td>
 </tr>
</table>
<?php
 }
?>

 

Also, how can I make the links appear in white?

Link to comment
Share on other sites

the tep_banner_exists function should be located in your catalog\includes\functions\general.php Did you mixed it up with the general.php from the admin end or something?

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...