vblunt Posted January 22, 2005 Posted January 22, 2005 Can somebody please help. When I try to view my site at http://www.forevercharmed.co.uk this is what i get: Parse error: parse error, unexpected T_STRING in /home/foreve22/public_html/includes/languages/english.php on line 79 Help please :'( Vikcy
developer_x Posted January 22, 2005 Posted January 22, 2005 Can somebody please help. When I try to view my site at http://www.forevercharmed.co.uk this is what i get: Parse error: parse error, unexpected T_STRING in /home/foreve22/public_html/includes/languages/english.php on line 79 Help please :'( Vikcy <{POST_SNAPBACK}> It is a syntax error. While deleting the default text available at the first page of catalog, you have mistakinly altered the coding. Irfan,
vblunt Posted January 22, 2005 Author Posted January 22, 2005 Can somebody please help. When I try to view my site at http://www.forevercharmed.co.uk this is what i get: Parse error: parse error, unexpected T_STRING in /home/foreve22/public_html/includes/languages/english.php on line 79 Help please :'( Vikcy <{POST_SNAPBACK}> Hi do I fix it?
Guest Posted January 22, 2005 Posted January 22, 2005 Can somebody please help. When I try to view my site at http://www.forevercharmed.co.uk this is what i get: Parse error: parse error, unexpected T_STRING in /home/foreve22/public_html/includes/languages/english.php on line 79 Help please :'( Vikcy <{POST_SNAPBACK}> Maybe if you show us lines 69-79 it might help.
vblunt Posted January 22, 2005 Author Posted January 22, 2005 Maybe if you show us lines 69-79 it might help. <{POST_SNAPBACK}> define('DOB_FORMAT_STRING', 'mm/dd/yyyy'); // categories box text in includes/boxes/categories.php define('BOX_HEADING_CATEGORIES', 'Categories'); // manufacturers box text in includes/boxes/manufacturers.php define('BOX_HEADING_MANUFACTURERS', 'Manufacturers'); // whats_new box text in includes/boxes/whatsnew.php define('BOX_HEADING_WHATS_NEW', 'What's New?'); // quick_find box text in includes/boxes/quick_find.php define('BOX_HEADING_SEARCH', 'Quick Search'); define('BOX_SEARCH_TEXT', 'Use keywords to find the product you are looking for.'); define('BOX_SEARCH_ADVANCED_SEARCH', 'Advanced Search'); // specials box text in includes/boxes/specials.php define('BOX_HEADING_SPECIALS', 'Specials'); // reviews box text in includes/boxes/reviews.php define('BOX_HEADING_REVIEWS', 'Reviews'); define('BOX_REVIEWS_WRITE_REVIEW', 'Write a review on this product!'); define('BOX_REVIEWS_NO_REVIEWS', 'There are currently no product reviews'); define('BOX_REVIEWS_TEXT_OF_5_STARS', '%s of 5 Stars!'); // shopping_cart box text in includes/boxes/shopping_cart.php define('BOX_HEADING_SHOPPING_CART', 'Shopping Cart'); define('BOX_SHOPPING_CART_EMPTY', '0 items'); // order_history box text in includes/boxes/order_history.php define('BOX_HEADING_CUSTOMER_ORDERS', 'Order History'); // best_sellers box text in includes/boxes/best_sellers.php define('BOX_HEADING_BESTSELLERS', 'Bestsellers'); define('BOX_HEADING_BESTSELLERS_IN', 'Bestsellers in<br> '); Thanks
OceanRanch Posted January 22, 2005 Posted January 22, 2005 Do not use the osCommerce File Manager editor. It munges up escape characters like \. Start over with a fresh copy of the file, edit locally with a good editor and then ftp to your site. define('BOX_HEADING_WHATS_NEW', 'What's New?'); should be define('BOX_HEADING_WHATS_NEW', 'What\'s New?'); and there may be other's lurking in your "munged" file. HTH Tom
Recommended Posts
Archived
This topic is now archived and is closed to further replies.