Guest Posted January 2, 2004 Share Posted January 2, 2004 Could someone tell me how I can fix this, I was working on the catalog/includes/languages/english/index.php file from within admin and didnt make a backup, it figures that of all the backups I made this would have to be the one with the error. This is what im getting below, I probably deleted something that wasnt supposed to be deleted, basically I was clearing out the stock osc text on the main page. Parse error: parse error in /homepages/0/d90723395/htdocs/catalog/includes/languages/english/index.php on line 14 -------------------------------------- heres the site: http://www.silasgroup.com/catalog/index.php -------------------------------------- Here's what is left from the index.php file when I changed it from admin: <?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', 'This is a default setup of the osCommerce project, products shown are for demonstrational purposes, any products purchased will not be delivered nor will the customer be billed</b>. Any information seen on these products is to be treated as fictional.')<br><br><br><br> define('TABLE_HEADING_NEW_PRODUCTS', 'Products On Sale 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', 'Product Search Results'); 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 January 2, 2004 Share Posted January 2, 2004 Perhaps the "</b>" on line 14?? <b> and </b> should only be used in pairs to turn on and off bold. It probably should be <b> Link to comment Share on other sites More sharing options...
241 Posted January 2, 2004 Share Posted January 2, 2004 <br><br><br><br> after define('TEXT_MAIN', 'This is a default setup of the osCommerce project, products shown are for demonstrational purposes, any products purchased will not be delivered nor will the customer be billed</b>. Any information seen on these products is to be treated as fictional.')<br><br><br><br> also missing the crutial ; after fictional.') should be fictional.'); No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.