Stevenmack65 Posted March 22, 2006 Posted March 22, 2006 Hi Guys im getting this error and I have completely no idea why.... any help would be great!! The error is on line 20... but i just cant see what it is and this mouse may be heading thru the monitor very soon! <?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', '<title>Totally Cheap Miniatures index</title> <style type="text/css"> <!-- .style1 {color: #FF0000} --> </style> <p>We have added some new items to the site, we have some Renegade Box Sets and Games Workshop products. All the Renegade and GW item\`s have a huge discount on them. We are hoping to add a load of Front Rank battalion packs on Thursday 23rd March. </p> <p> We have added an OOP category to the store which has a few Games Workshop items in there now, we have updated up the whole site with accurate product listings. We have no products listed that we don't have in stock, you can check the stock level of all the items listed on the same page as they are listed. </p> <p>Please contact us if you have any questions! We answer ALL emails we receive, usually within a few hours during the day. (UK) </p> <p class="style1">ALL UK ORDERS CAN BE MADE USING THE WEBSITE!!! ALL OTHER AREAS EMAIL US FOR A SHIPPING PRICE BEFORE ORDERING. </p> <p>Kindest Regards </p> <p>Steven MCcormack </p> <p>Totally Cheap Miniatures.com </p>'); 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', 'What\'s New Here?'); } elseif ($category_depth == 'nested') { define('HEADING_TITLE', 'Categories'); } ?>
Guest Posted March 22, 2006 Posted March 22, 2006 I was having this same problem! You have to add a backslash to your apostrophies (I think I've spelled that wrong:), so it should be "didn/'t" instead of "didn't". That should take care of your error.
jasonabc Posted March 22, 2006 Posted March 22, 2006 so it should be "didn/'t" instead of "didn't". Your slash needs to go the other way to escape the apostrophe: "didn\'t" Jason My Contributions: Paypal Payflow PRO | Rollover Category Images | Authorize.net Invoice Number Fix
Recommended Posts
Archived
This topic is now archived and is closed to further replies.