diane43 Posted October 18, 2007 Share Posted October 18, 2007 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 More sharing options...
ardley216 Posted October 18, 2007 Share Posted October 18, 2007 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 More sharing options...
wabbit Posted October 18, 2007 Share Posted October 18, 2007 I think the error is there because ' closes the statement.. so 'Products marked with ' here it will be closed, and afterwards the error is displayed, but im not sure Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.