A proverbial newbie here. I have successfullymanaged to get my Zen Cart functioning, but have a problem I have searched everywhere for,(Forums and Wiki) and I can't find out where I have gone wrong.
The error message is as follows: Parse error: syntax error, unexpected T_STRING in /home/librsco/public_html/zen-cart-full/includes/languages/english/index.php on line 33
The file is as follows:<?php
/**
* @package languageDefines
* @copyright Copyright 2003-2006 Zen Cart Development Team
* @copyright Portions Copyright 2003 osCommerce
* @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
* @version $Id: index.php 3027 2006-02-13 17:15:51Z drbyte $
*/
define('TEXT_MAIN','This is the main define statement for the page for english when no template defined file exists. It is located in: <strong>/includes/languages/english/index.php</strong>');
// Showcase vs Store
if (STORE_STATUS == '0') {
define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s">log yourself in</a>?');
} else {
define('TEXT_GREETING_GUEST', 'Welcome, please enjoy our online showcase.');
}
define('TEXT_GREETING_PERSONAL', 'Hello <span class="greetUser">%s</span>! Would you like to see our <a href="%s">newest additions</a>?');
define('TEXT_INFORMATION', '<p><u>BOOK CONDITION</u></u>
I attempt to describe all my books accurately and err on the safe side so you will be pleasantly surprised rather than disappointed when you receive your purchase.<br> If you require further description, or a digital image, please email me with your request.
<br> Below is a list of the descriptors I use and their meaning:
<br><ul><u>Fine</u></ul> - In the same condition as when it came off the presses. Very rarely used.
<br><ul><u>Very Good</u></ul> - May have light reading wear, such as slight bumps to the corners of the cover, but looks almost like new.
<br><ul><u>Good</u></ul> - Standard used book that has clearly been read. May have creasing to the spine, pages that have been bent at the corners, or reading creases to the cover. Major flaws such as book store stamps will be described. Always tightly bound and with clean text.
<br><ul><u>Fair</u></ul> - Fair books are well-used copies which are structurally sound and legible, but not necessarily attractive. Books may have foxing and age spotting, where the pages are browning with age. Store stamps and previous owner's details on front end pages are common flaws. If there are major flaws they will be described, otherwise the book is likely to be well-read and aged.
<br><ul><u>Poor</u></ul> - These books are on their last legs. All pages are present and legible, but binding may be loose, end pages may have tears, or there may be water stains.');
//moved to english
//define('TABLE_HEADING_FEATURED_PRODUCTS','Featured Products');
//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') || (zen_check_url_get_terms()) ) {
// This section deals with product-listing page contents
define('HEADING_TITLE', 'Available Products');
define('TABLE_HEADING_IMAGE', 'Product 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', 'Filter Results by:');
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') {
// This section deals with the "home" page at the top level with no options/products selected
/*Replace this text with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
define('HEADING_TITLE', 'Welcome to Libris Books.');
} elseif ($category_depth == 'nested') {
// This section deals with displaying a subcategory
/*Replace this line with the headline you would like for your shop. For example: 'Welcome to My SHOP!'*/
define('HEADING_TITLE', '; We have a great range of secondhand books, music & collectibles.');
}
?>
I have a very basic understanding of what I am doing, I thought I had followed all the rules exactly, but I can't for the life of me, solve this one. Is there anyone who can help?
Many thanks in anticipation.
SSB
Bookmarks