Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Parse error...but can't find my mistake?


gossamer1971

Recommended Posts

I keep getting the below error and have gone over the entire page over and over and cannot find what I did? I didn't do any changes on line 32...so not sure why it's saying that. I did make changes to define('HEADING_TITLE', 'In Stock'); and define('TABLE_HEADING_BUY_NOW', 'Buy Now'); and } elseif ($category_depth == 'top') {

define('HEADING_TITLE', 'New At From Scraps To Memories');

 

Can anyone tell me what I am missing??? :'(

 

 

Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/fromscra/public_html/shopping/catalog/includes/languages/english/index.php on line 32

 

 

<?php

/*

$Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

 

http://www.oscommerce.com

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

define('TEXT_MAIN', '<p>Welcome to the From Scraps To Memories shoppe! We are sure you will love all the great new scrap products. New stuff is being added daily....and you will always find what you are looking for! We hope after your shopping is done, that you will join us on our message boards for some great scrapping fun! And we would love to see your finished scrap projects in our online gallery!<p>');

define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');

define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

 

if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS['manufacturers_id'])) ) {

define('HEADING_TITLE', 'In Stock');

define('TABLE_HEADING_IMAGE', '');

define('TABLE_HEADING_MODEL', 'Model');

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

define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');

define('TABLE_HEADING_QUANTITY', 'Quantity');

define('TABLE_HEADING_PRICE', 'Price');

define('TABLE_HEADING_WEIGHT', 'Weight');

define('TABLE_HEADING_BUY_NOW', 'Buy Now');

define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');

define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');

define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');

define('TEXT_SHOW', '<b>Show:</b>');

define('TEXT_BUY', 'Buy 1 '');

define('TEXT_NOW', '' now');

define('TEXT_ALL_CATEGORIES', 'All Categories');

define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');

} elseif ($category_depth == 'top') {

define('HEADING_TITLE', 'New At From Scraps To Memories');

} elseif ($category_depth == 'nested') {

define('HEADING_TITLE', 'Categories');

}

?>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...