Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

AuctionTastic


LondonTown

Recommended Posts

Posted

Hi there, I fully installed auctionTastic and also completed the installation of modifying files so as the add on would work.

 

the admin sides working, the front sides working ie as in the auction products section is in the catalog list and when you click on it you can see items added for auction. HOWEVER.. when I go to click on the items in the auction & all items in my shop I get this error message below.

 

Parse error: syntax error, unexpected '}' in /home/a213123434/public_html/product_info.php on line 254

 

 

I went to the file where the error message said ie product_info.php and went to the error line and can't work out whats up?

 

I will place the code for line 254 and also the code before 254 & after.

 

It's very sould destroying when you spent a lot of time installing addon and then for it to look like it's working and when you click on item in auction room to get a error message :(

 

 

Please help me, really appreciate it.

 

thanks.

Posted
It's very sould destroying when you spent a lot of time installing addon and then for it to look like it's working and when you click on item in auction room to get a error message :(

 

Yes, thats true, but it's not an issue of the contribution. It's a mistake that you did when merging the files.

 

You need to go through your product_info.php starting from line 254 and up. It can be one "}" too much, so you need to count them. Or it can be something else missing.

 

Go again through the installation instructions and look what you have to insert/replace and to where exactly. Do you use a comparison program? Maybe you should re-merge the file in question.

 

In any case, from your post - as it is - it's impossible to say something more

Posted
Yes, thats true, but it's not an issue of the contribution. It's a mistake that you did when merging the files.

 

You need to go through your product_info.php starting from line 254 and up. It can be one "}" too much, so you need to count them. Or it can be something else missing.

 

Go again through the installation instructions and look what you have to insert/replace and to where exactly. Do you use a comparison program? Maybe you should re-merge the file in question.

 

In any case, from your post - as it is - it's impossible to say something more

 

Hi there, I dont have a comparison program, could you please advise as more ,thanks.

 

are you saying that the error is definitley not before line 254 ?

 

Or are you saying that I restart that particular file modifications again from start?

Posted

here is the code for where the error is 254

 

 

<?php 
// BOF: FWR Auctions 
} 
// EOF: FWR Auctions  
if ((USE_CACHE == 'true') && empty($SID)) { 
  echo tep_cache_also_purchased(3600);
} else { [b]<---------------------------------------------------------------- LINE 254 WHERE ERROR [/b]
  include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS);
}
 }
?>
	</td> 
  </tr> 
</table>   
<?php  
// BOF: FWR Auctions 
if (!$oscAuctions->productShowAuction()) { 
?> 
</form>   
<?php 
} 
// EOF: FWR Auctions 
?>	   
 </td> 
<!-- body_text_eof //--> 
<td width="<?php echo BOX_WIDTH; ?>" valign="top"><table border="0" width="<?php echo BOX_WIDTH; ?>" cellspacing="0" cellpadding="2">
<!-- right_navigation //-->
<?php require(DIR_WS_INCLUDES . 'column_right.php'); ?>
<!-- right_navigation_eof //-->
</table></td>
 </tr>
</table>
<!-- body_eof //-->

<!-- footer //-->
<?php require(DIR_WS_INCLUDES . 'footer.php'); ?>
<!-- footer_eof //-->
<br>
</body>
</html>
<?php require(DIR_WS_INCLUDES . 'application_bottom.php'); ?>

Posted

Compare these lines to yours.

 

74-75

 

<?php

} else {

 

224-226

 

<?php

// BOF: FWR Auctions

if( false === $oscAuctions->product_infoShowBids($product_info) ){

 

If you're still having problems, retrace your steps. You may want to consider George's post.

 

WINMERGE is a good compare program.

Archived

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

×
×
  • Create New...