Guest Posted May 21, 2004 Posted May 21, 2004 Parse error: parse error in /mnt/web_h/d33/s07/b01ddc67/www/store/nfoscomm/catalog/includes/languages/english/index.php on line 32 Here's the code: */ define('TEXT_MAIN', 'HELLLLLLLPPPPPPP'); 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', ''); 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 currently listed 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', ''); } elseif ($category_depth == 'nested') { define('HEADING_TITLE', 'Categories'); } ?> I saved the original code, tried uploading it same results except error moves to line 13 or 19, also get :TABLE_HEADING_IMAGE TABLE_HEADING_PRODUCTS+ TABLE_HEADING_PRICE TABLE_HEADING_BUY_NOW Any help greatly appeciated. Thanks Big Bear
Pari Posted May 21, 2004 Posted May 21, 2004 if you want to add text at the top of the index you can always try this addon, its running on my site without problem. http://www.oscommerce.com/community/contri...efine+main+page Geoff
nrlatsha Posted May 21, 2004 Posted May 21, 2004 You have an extra (') on this line: define('TEXT_BUY', 'Buy 1 ''); 9 times out of 10 its a PEBCAK Error (Problem exists between chair and keyboard) Replace that and you're fine...
Guest Posted May 21, 2004 Posted May 21, 2004 Thankyou. didnt touch that line. Bigger problems now see my "put me out of"... post.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.