Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

parse/syntax error on line 172 in header.php


Guest

Recommended Posts

Posted

I am getting this error on the page now:

 

Parse error: syntax error, unexpected ')', expecting ',' or ';' in catalog/includes/header.php on line 172

 

Here is the code before and after line 172:

 

								</td>
                               <td style="width:18px"><?php echo tep_image(DIR_WS_IMAGES.'z.gif')?></td>
                               <td>
								<table cellpadding="0" cellspacing="0" border="0" style="width:204px">
									<tr>
										<td>
                                           	<strong><?php echo BOX_HEADING_SHOPPING_CART?>:</strong>  <a href="<?php echo tep_href_link('shopping_cart.php')?>"><?php echo $cart->count_contents()?> <?php echo BOX_SHOPPING_CART_EMPTY?></a><br>
                                           </td>
									</tr>
								</table>
							</td>
                               <td style="width:36px"><?php echo tep_image(DIR_WS_IMAGES.'z1.gif')?></td>
						</tr>
					</table> 
                        <table cellpadding="0" cellspacing="0" border="0" style="height:98px; background: url(images/p1.jpg)>
						<tr>
							<td>
								<table cellpadding="0" cellspacing="0" border="0">
									<tr>
										<td><?php echo tep_draw_separator('spacer.gif', '21', '1'); ?></td>
										<td><a href="<?php echo tep_href_link('index.php')?>"><?php echo tep_image(DIR_WS_IMAGES.'logo.gif','','','',' style="margin-top:4px;"')?></a></td>
										<td width="100%" align="right"><b><?php echo IMAGE_BUTTON_SEARCH?>:</b><?php echo tep_draw_form('search',tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false),'get') ?><input type=text name="keywords" class="input" value=""><?php echo tep_image_submit('button_search_prod.gif','',' class="vam"')?></form></td>
										<td><?php echo tep_draw_separator('spacer.gif', '21', '1'); ?></td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
                       <table cellpadding="0" cellspacing="0" border="0">

 

 

Thanks for all your help!!

Posted
I am getting this error on the page now:

 

Parse error: syntax error, unexpected ')', expecting ',' or ';' in catalog/includes/header.php on line 172

 

Here is the code before and after line 172:

 

								</td>
                               <td style="width:18px"><?php echo tep_image(DIR_WS_IMAGES.'z.gif')?></td>
                               <td>
								<table cellpadding="0" cellspacing="0" border="0" style="width:204px">
									<tr>
										<td>
                                           	<strong><?php echo BOX_HEADING_SHOPPING_CART?>:</strong>  <a href="<?php echo tep_href_link('shopping_cart.php')?>"><?php echo $cart->count_contents()?> <?php echo BOX_SHOPPING_CART_EMPTY?></a><br>
                                           </td>
									</tr>
								</table>
							</td>
                               <td style="width:36px"><?php echo tep_image(DIR_WS_IMAGES.'z1.gif')?></td>
						</tr>
					</table> 
                        <table cellpadding="0" cellspacing="0" border="0" style="height:98px; background: url(images/p1.jpg)>
						<tr>
							<td>
								<table cellpadding="0" cellspacing="0" border="0">
									<tr>
										<td><?php echo tep_draw_separator('spacer.gif', '21', '1'); ?></td>
										<td><a href="<?php echo tep_href_link('index.php')?>"><?php echo tep_image(DIR_WS_IMAGES.'logo.gif','','','',' style="margin-top:4px;"')?></a></td>
										<td width="100%" align="right"><b><?php echo IMAGE_BUTTON_SEARCH?>:</b><?php echo tep_draw_form('search',tep_href_link(FILENAME_ADVANCED_SEARCH_RESULT, '', 'NONSSL', false),'get') ?><input type=text name="keywords" class="input" value=""><?php echo tep_image_submit('button_search_prod.gif','',' class="vam"')?></form></td>
										<td><?php echo tep_draw_separator('spacer.gif', '21', '1'); ?></td>
									</tr>
								</table>
							</td>
						</tr>
					</table>
                       <table cellpadding="0" cellspacing="0" border="0">

Thanks for all your help!!

 

 

I fixed it myself. thanks...

Archived

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

×
×
  • Create New...