MICK29/30 Posted December 1, 2004 Share Posted December 1, 2004 Hi if someone could help. I or no one can not connect to website's catalog area. I keep getting this when I go directly to my catalog area for my webiste. Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/wintunje/public_html/catalog/includes/languages/english/index.php on line 33 Please if anyone can tell me what this is. I'm Linx or Unix lit. thanx >_< Link to comment Share on other sites More sharing options...
gscreations Posted December 1, 2004 Share Posted December 1, 2004 in /home/wintunje/public_html/catalog/includes/languages/english/index.php on line 33 if there is an ' in text put \ before them best to post the catalog/includes/languages/english/index.php code here Link to comment Share on other sites More sharing options...
MICK29/30 Posted December 1, 2004 Author Share Posted December 1, 2004 Don't understand where the ' would be in text. Line 33 is define('TEXT_SHOW', '<b>Show:</b>'); Malcolm Link to comment Share on other sites More sharing options...
Guest Posted December 1, 2004 Share Posted December 1, 2004 if you post your english/index.php, we can help better. I agree with Graham, though, it's probably a stray apostrophe somewhere, probably *before* line 33. -jared Link to comment Share on other sites More sharing options...
MICK29/30 Posted December 1, 2004 Author Share Posted December 1, 2004 <?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', 'Wintun Jewelry and Arts'); 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', 'What's New 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', 'What's New Here'); } elseif ($category_depth == 'nested') { define('HEADING_TITLE', 'Categories'); } ?> I don't know what currently is wrong with this. Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/wintunje/public_html/catalog/includes/languages/english/index.php on line 33 thanx Link to comment Share on other sites More sharing options...
Guest Posted December 1, 2004 Share Posted December 1, 2004 change this: define('TEXT_BUY', 'Buy 1 ''); define('TEXT_NOW', '' now'); to this: define('TEXT_BUY', 'Buy 1 '); define('TEXT_NOW', 'now'); -jared Link to comment Share on other sites More sharing options...
MICK29/30 Posted December 1, 2004 Author Share Posted December 1, 2004 Cool, but a new error showed up. Just this one. Parse error: parse error, unexpected T_STRING in /home/wintunje/public_html/catalog/includes/languages/english/index.php on line 19 Malcolm Link to comment Share on other sites More sharing options...
MICK29/30 Posted December 1, 2004 Author Share Posted December 1, 2004 <?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', 'Wintun Jewelry and Arts'); 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', 'What's New 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', 'What's New Here'); } elseif ($category_depth == 'nested') { define('HEADING_TITLE', 'Categories'); } ?> Link to comment Share on other sites More sharing options...
Guest Posted December 2, 2004 Share Posted December 2, 2004 define('HEADING_TITLE', 'What's New Here'); should be define('HEADING_TITLE', 'What\'s New Here'); -jared Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.