Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Parse error in footer.php


muraduk

Recommended Posts

Hi i'm getting the following error on my website...

 

Parse error: syntax error, unexpected ';' in /home/healthma/public_html/includes/footer.php on line 35

 

hereis the footer.php coding

 

============================================================================================================

<?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');

?>

 

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

?>

<table cellspacing="0" cellpadding="0" border="0" align="center">

<tr align="left" valign="top">

<td height="15" colspan="3"><img src="images/bot_img.jpg" width="779" height="15" /></td>

</tr>

<tr>

<td height="28" align="center" valign="middle" background="images/copyright.jpg"> <font size="2" face="Verdana" color="#424040">   ©Copyright 2005.</font></td>

<td height="19" align="center" valign="middle"><font face="verdana" Size="2" color="#0066CC"><a href="<?echo tep_href_link(FILENAME_DEFAULT)?>" class="p">Home</a>   |   <a href="<? echo tep_href_link(FILENAME_PRODUCTS_NEW);?>" class="p">New Products</a>   |   <a href="<? echo tep_href_link(FILENAME_ACCOUNT);?>" class ="p">My Account</a>   |   <a href="<? echo tep_href_link(FILENAME_SHOPPING_CART);?>" class ="p">Shopping Cart</a>   |   <a href="<? echo tep_href_link(FILENAME_CHECKOUT_SHIPPING);?>" class="P">Checkout</a></font></td>

</tr>

</table>

</table>

<table width="100%" colspan="10">

<tr><td width="100%" align="center" class="main">

Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a><br><a href="http://www.oscommercecafe.com" target="_blank">Template by The osCommerce Cafe</a></td>

</tr>

</table>

 

===================================================================================================

 

Does anyone have a clue of what the problem is ?

 

Thanks...in advance..

Link to comment
Share on other sites

  echo //FOOTER_TEXT_BODY

Needs to be:

 

//  echo FOOTER_TEXT_BODY;

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...