Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help with php code pleas


diane43

Recommended Posts

Hello,

As I said I updated oscommerce the other day and I keep running in to problems. The error is below and I have the php code below that, I would be very thankful for any help I can get. I just keep getting more errors as I go along. I have been getting some help from my host but the waiting time for them now is to long.

 

God Bless,

Diane

 

Parse error: syntax error, unexpected T_STRING in /home/essence3/public_html/cart/includes/languages/english/shopping_cart.php on line 24

 

 

application/x-httpd-php shopping_cart.php

PHP script text

 

<?php

/*

$Id: shopping_cart.php,v 1.13 2002/04/05 20:24:02 project3000 Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2002 osCommerce

 

Released under the GNU General Public License

*/

 

define('NAVBAR_TITLE', 'Cart Contents');

define('HEADING_TITLE', 'What\'s In My Cart?');

define('TABLE_HEADING_REMOVE', 'Remove');

define('TABLE_HEADING_QUANTITY', 'Qty.');

define('TABLE_HEADING_MODEL', 'Model');

define('TABLE_HEADING_PRODUCTS', 'Product(s)');

define('TABLE_HEADING_TOTAL', 'Total');

define('TEXT_CART_EMPTY', 'Your Shopping Cart is empty!');

define('SUB_TITLE_SUB_TOTAL', 'Sub-Total:');

define('SUB_TITLE_TOTAL', 'Total:');

 

define('OUT_OF_STOCK_CANT_CHECKOUT', 'Products marked with ' . STOCK_MARK_PRODUCT_OUT_OF_STOCK . ' don't exist in desired quantity in our stock.<br>Please alter the quantity of products marked with (' . STOCK_MARK_PRODUCT_OUT_OF_STOCK . '), Thank you');

define('OUT_OF_STOCK_CAN_CHECKOUT', 'Products marked with ' . STOCK_MARK_PRODUCT_OUT_OF_STOCK . ' don't exist in desired quantity in our stock.<br>You can buy them anyway and check the quantity we have in stock for immediate deliver in the checkout process.');

?>

Link to comment
Share on other sites

im not sure.. im no expert but if you delete the space near line 24.. check for un ended tags... and make sure there is all the appropriate ;'s in the right places...

 

hope that helps... as i said i dotn know much i just want to help

Ardley

Store:Gadget-Net

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...