tyz6970 Posted June 9, 2004 Share Posted June 9, 2004 I received this msg. Parse error: parse error, unexpected T_STRING in /home/tyz6970/public_html/includes/languages/english/index.php on line 19 I have made this changes, I don;t know whether it affect this ???? <?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', 'WELCOME TO ZHEN IVY MARKETING & TRADING website. Please feel free to look around, if you have any item in mind that does not appear here, please feedback to us and we will try to source for you.'); define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s'); 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', 'Let's See What We Have Here'); 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', 'WELCOME TO YOUR SHOPPING STORE'); } elseif ($category_depth == 'nested') { define('HEADING_TITLE', 'Categories'); } Someone please help. Tks Regards, Richard Tan Link to comment Share on other sites More sharing options...
TomThumb Posted June 9, 2004 Share Posted June 9, 2004 if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS ['manufacturers_id']) ) change to if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS ['manufacturers_id']) ) ) { while (!succeed) {try()}; GMT -6:00 Link to comment Share on other sites More sharing options...
tyz6970 Posted June 9, 2004 Author Share Posted June 9, 2004 if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS ['manufacturers_id']) ) change to if ( ($category_depth == 'products') || (isset($HTTP_GET_VARS ['manufacturers_id']) ) ) { Thank you for your help. I still getting the same problem. My url address: My Webpage What is T-string. I saw the message say T-string. Please help me. Tks Regards, Link to comment Share on other sites More sharing options...
greysun Posted June 9, 2004 Share Posted June 9, 2004 try chaning define('HEADING_TITLE', 'Let's See What We Have Here'); to define('HEADING_TITLE', 'Let\'s See What We Have Here'); hope this works Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.