Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Tried to Add a contibution and really messed things up...help?


FinallyAsking4Help

Recommended Posts

Posted

Hi All,

 

I tried to add a contribution, and obviously I messed things up.

Now I want to just replace whatever file I messed up with the original file....

 

BUT.....

 

Can someone tell me which file is messed up?

 

My info boxes etc, are showing the code & brackets instead of the actual titles.

 

Please see http://www.worldproductsonline.com

 

Which file do I need to fix????

 

PLEASE?????????????

Posted
Hi All,

 

I tried to add a contribution, and obviously I messed things up.

Now I want to just replace whatever file I messed up with the original file....

 

BUT.....

 

Can someone tell me which file is messed up?

 

My info boxes etc, are showing the code & brackets instead of the actual titles.

 

Please see http://www.worldproductsonline.com

 

Which file do I need to fix????

 

PLEASE?????????????

 

 

Hi

 

I am just guessing cause i dont know which contribution you have tried to install but i think its probably;

 

english.php in includes/languages

 

i have had this problem myself and it always seems to be this file.

 

 

regards

 

jaz

Posted

First I tried to add the contribution GoogleXMLSitemap_1...then I tried to add GoogleXMLSitemapv1.3.

 

 

Obviously I didn't do it right, and now I am content with just getting it back to normal.

 

Here is my code from admin/includes/laguages/english.php

 

Do you see where it is happening????

 

 

 

 

<?php

/*

$Id: english.php,v 1.106 2003/06/20 00:18:31 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// look in your $PATH_LOCALE/locale directory for available locales..

// on RedHat6.0 I used 'en_US'

// on FreeBSD 4.0 I use 'en_US.ISO_8859-1'

// this may not work under win32 environments..

setlocale(LC_TIME, 'en_US.ISO_8859-1');

define('DATE_FORMAT_SHORT', '%m/%d/%Y'); // this is used for strftime()

define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()

define('DATE_FORMAT', 'm/d/Y'); // this is used for date()

define('PHP_DATE_TIME_FORMAT', 'm/d/Y H:i:s'); // this is used for date()

define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');

 

////

// Return date in raw format

// $date should be in format mm/dd/yyyy

// raw date is in format YYYYMMDD, or DDMMYYYY

function tep_date_raw($date, $reverse = false) {

if ($reverse) {

return substr($date, 3, 2) . substr($date, 0, 2) . substr($date, 6, 4);

} else {

return substr($date, 6, 4) . substr($date, 0, 2) . substr($date, 3, 2);

}

}

 

// Global entries for the <html> tag

define('HTML_PARAMS','dir="ltr" lang="en"');

 

// charset for web pages and emails

define('CHARSET', 'iso-8859-1');

 

// page title

define('TITLE', '');

 

// header text in includes/header.php

define('HEADER_TITLE_TOP', 'Administration');

define('HEADER_TITLE_SUPPORT_SITE', 'Support Site');

define('HEADER_TITLE_ONLINE_CATALOG', 'Online Catalog');

define('HEADER_TITLE_ADMINISTRATION', 'Administration');

 

// text for gender

define('MALE', 'Male');

define('FEMALE', 'Female');

 

// text for date of birth example

define('DOB_FORMAT_STRING', 'mm/dd/yyyy');

 

// configuration box text in includes/boxes/configuration.php

define('BOX_HEADING_CONFIGURATION', 'Configuration');

define('BOX_CONFIGURATION_MYSTORE', 'My Store');

define('BOX_CONFIGURATION_LOGGING', 'Logging');

define('BOX_CONFIGURATION_CACHE', 'Cache');

 

// modules box text in includes/boxes/modules.php

define('BOX_HEADING_MODULES', 'Modules');

define('BOX_MODULES_PAYMENT', 'Payment');

define('BOX_MODULES_SHIPPING', 'Shipping');

define('BOX_MODULES_ORDER_TOTAL', 'Order Total');

 

// categories box text in includes/boxes/catalog.php

define('BOX_HEADING_CATALOG', 'Catalog');

define('BOX_CATALOG_CATEGORIES_PRODUCTS', 'Categories/Products');

define('BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES', 'Products Attributes');

define('BOX_CATALOG_MANUFACTURERS', 'Manufacturers');

define('BOX_CATALOG_REVIEWS', 'Reviews');

define('BOX_CATALOG_SPECIALS', 'Specials');

define('BOX_CATALOG_PRODUCTS_EXPECTED', 'Products Expected');

 

// customers box text in includes/boxes/customers.php

define('BOX_HEADING_CUSTOMERS', 'Customers');

define('BOX_CUSTOMERS_CUSTOMERS', 'Customers');

define('BOX_CUSTOMERS_ORDERS', 'Orders');

 

// taxes box text in includes/boxes/taxes.php

define('BOX_HEADING_LOCATION_AND_TAXES', 'Locations / Taxes');

define('BOX_TAXES_COUNTRIES', 'Countries');

define('BOX_TAXES_ZONES', 'Zones');

define('BOX_TAXES_GEO_ZONES', 'Tax Zones');

define('BOX_TAXES_TAX_CLASSES', 'Tax Classes');

define('BOX_TAXES_TAX_RATES', 'Tax Rates');

 

// reports box text in includes/boxes/reports.php

define('BOX_HEADING_REPORTS', 'Reports');

define('BOX_REPORTS_PRODUCTS_VIEWED', 'Products Viewed');

define('BOX_REPORTS_PRODUCTS_PURCHASED', 'Products Purchased');

define('BOX_REPORTS_ORDERS_TOTAL', 'Customer Orders-Total');

 

// tools text in includes/boxes/tools.php

define('BOX_HEADING_TOOLS', 'Tools');

define('BOX_TOOLS_BACKUP', 'Database Backup');

define('BOX_TOOLS_BANNER_MANAGER', 'Banner Manager');

define('BOX_TOOLS_CACHE', 'Cache Control');

define('BOX_TOOLS_DEFINE_LANGUAGE', 'Define Languages');

define('BOX_TOOLS_FILE_MANAGER', 'File Manager');

define('BOX_TOOLS_MAIL', 'Send Email');

define('BOX_TOOLS_NEWSLETTER_MANAGER', 'Newsletter Manager');

define('BOX_TOOLS_SERVER_INFO', 'Server Info');

define('BOX_TOOLS_WHOS_ONLINE', 'Who's Online');

 

// localizaion box text in includes/boxes/localization.php

define('BOX_HEADING_LOCALIZATION', 'Localization');

define('BOX_LOCALIZATION_CURRENCIES', 'Currencies');

define('BOX_LOCALIZATION_LANGUAGES', 'Languages');

define('BOX_LOCALIZATION_ORDERS_STATUS', 'Orders Status');

 

// javascript messages

define('JS_ERROR', 'Errors have occured during the process of your form!nPlease make the following corrections:nn');

 

define('JS_OPTIONS_VALUE_PRICE', '* The new product atribute needs a price valuen');

define('JS_OPTIONS_VALUE_PRICE_PREFIX', '* The new product atribute needs a price prefixn');

 

define('JS_PRODUCTS_NAME', '* The new product needs a namen');

define('JS_PRODUCTS_DESCRIPTION', '* The new product needs a descriptionn');

define('JS_PRODUCTS_PRICE', '* The new product needs a price valuen');

define('JS_PRODUCTS_WEIGHT', '* The new product needs a weight valuen');

define('JS_PRODUCTS_QUANTITY', '* The new product needs a quantity valuen');

define('JS_PRODUCTS_MODEL', '* The new product needs a model valuen');

define('JS_PRODUCTS_IMAGE', '* The new product needs an image valuen');

 

define('JS_SPECIALS_PRODUCTS_PRICE', '* A new price for this product needs to be setn');

 

define('JS_GENDER', '* The 'Gender' value must be chosen.n');

define('JS_FIRST_NAME', '* The 'First Name' entry must have at least ' . ENTRY_FIRST_NAME_MIN_LENGTH . ' characters.n');

define('JS_LAST_NAME', '* The 'Last Name' entry must have at least ' . ENTRY_LAST_NAME_MIN_LENGTH . ' characters.n');

define('JS_DOB', '* The 'Date of Birth' entry must be in the format: xx/xx/xxxx (month/date/year).n');

define('JS_EMAIL_ADDRESS', '* The 'E-Mail Address' entry must have at least ' . ENTRY_EMAIL_ADDRESS_MIN_LENGTH . ' characters.n');

define('JS_ADDRESS', '* The 'Street Address' entry must have at least ' . ENTRY_STREET_ADDRESS_MIN_LENGTH . ' characters.n');

define('JS_POST_CODE', '* The 'Post Code' entry must have at least ' . ENTRY_POSTCODE_MIN_LENGTH . ' characters.n');

define('JS_CITY', '* The 'City' entry must have at least ' . ENTRY_CITY_MIN_LENGTH . ' characters.n');

define('JS_STATE', '* The 'State' entry is must be selected.n');

define('JS_STATE_SELECT', '-- Select Above --');

define('JS_ZONE', '* The 'State' entry must be selected from the list for this country.');

define('JS_COUNTRY', '* The 'Country' value must be chosen.n');

define('JS_TELEPHONE', '* The 'Telephone Number' entry must have at least ' . ENTRY_TELEPHONE_MIN_LENGTH . ' characters.n');

define('JS_PASSWORD', '* The 'Password' amd 'Confirmation' entries must match amd have at least ' . ENTRY_PASSWORD_MIN_LENGTH . ' characters.n');

 

define('JS_ORDER_DOES_NOT_EXIST', 'Order Number %s does not exist!');

 

define('CATEGORY_PERSONAL', 'Personal');

define('CATEGORY_ADDRESS', 'Address');

define('CATEGORY_CONTACT', 'Contact');

define('CATEGORY_COMPANY', 'Company');

define('CATEGORY_OPTIONS', 'Options');

 

define('ENTRY_GENDER', 'Gender:');

define('ENTRY_GENDER_ERROR', '?<span class="errorText">required</span>');

define('ENTRY_FIRST_NAME', 'First Name:');

define('ENTRY_FIRST_NAME_ERROR', '?<span class="errorText">min ' . ENTRY_FIRST_NAME_MIN_LENGTH . ' chars</span>');

define('ENTRY_LAST_NAME', 'Last Name:');

define('ENTRY_LAST_NAME_ERROR', '?<span class="errorText">min ' . ENTRY_LAST_NAME_MIN_LENGTH . ' chars</span>');

define('ENTRY_DATE_OF_BIRTH', 'Date of Birth:');

define('ENTRY_DATE_OF_BIRTH_ERROR', '?<span class="errorText">(eg. 05/21/1970)</span>');

define('ENTRY_EMAIL_ADDRESS', 'E-Mail Address:');

define('ENTRY_EMAIL_ADDRESS_ERROR', '?<span class="errorText">min ' . ENTRY_EMAIL_ADDRESS_MIN_LENGTH . ' chars</span>');

define('ENTRY_EMAIL_ADDRESS_CHECK_ERROR', '?<span class="errorText">The email address doesn't appear to be valid!</span>');

define('ENTRY_EMAIL_ADDRESS_ERROR_EXISTS', '?<span class="errorText">This email address already exists!</span>');

define('ENTRY_COMPANY', 'Company name:');

define('ENTRY_COMPANY_ERROR', '');

define('ENTRY_STREET_ADDRESS', 'Street Address:');

define('ENTRY_STREET_ADDRESS_ERROR', '?<span class="errorText">min ' . ENTRY_STREET_ADDRESS_MIN_LENGTH . ' chars</span>');

define('ENTRY_SUBURB', 'Suburb:');

define('ENTRY_SUBURB_ERROR', '');

define('ENTRY_POST_CODE', 'Post Code:');

define('ENTRY_POST_CODE_ERROR', '?<span class="errorText">min ' . ENTRY_POSTCODE_MIN_LENGTH . ' chars</span>');

define('ENTRY_CITY', 'City:');

define('ENTRY_CITY_ERROR', '?<span class="errorText">min ' . ENTRY_CITY_MIN_LENGTH . ' chars</span>');

define('ENTRY_STATE', 'State:');

define('ENTRY_STATE_ERROR', '?<span class="errorText">required</span>');

define('ENTRY_COUNTRY', 'Country:');

define('ENTRY_COUNTRY_ERROR', '');

define('ENTRY_TELEPHONE_NUMBER', 'Telephone Number:');

define('ENTRY_TELEPHONE_NUMBER_ERROR', '?<span class="errorText">min ' . ENTRY_TELEPHONE_MIN_LENGTH . ' chars</span>');

define('ENTRY_FAX_NUMBER', 'Fax Number:');

define('ENTRY_FAX_NUMBER_ERROR', '');

define('ENTRY_NEWSLETTER', 'Newsletter:');

define('ENTRY_NEWSLETTER_YES', 'Subscribed');

define('ENTRY_NEWSLETTER_NO', 'Unsubscribed');

define('ENTRY_NEWSLETTER_ERROR', '');

 

// images

define('IMAGE_ANI_SEND_EMAIL', 'Sending E-Mail');

define('IMAGE_BACK', 'Back');

define('IMAGE_BACKUP', 'Backup');

define('IMAGE_CANCEL', 'Cancel');

define('IMAGE_CONFIRM', 'Confirm');

define('IMAGE_COPY', 'Copy');

define('IMAGE_COPY_TO', 'Copy To');

define('IMAGE_DETAILS', 'Details');

define('IMAGE_DELETE', 'Delete');

define('IMAGE_EDIT', 'Edit');

define('IMAGE_EMAIL', 'Email');

define('IMAGE_FILE_MANAGER', 'File Manager');

define('IMAGE_ICON_STATUS_GREEN', 'Active');

define('IMAGE_ICON_STATUS_GREEN_LIGHT', 'Set Active');

define('IMAGE_ICON_STATUS_RED', 'Inactive');

define('IMAGE_ICON_STATUS_RED_LIGHT', 'Set Inactive');

define('IMAGE_ICON_INFO', 'Info');

define('IMAGE_INSERT', 'Insert');

define('IMAGE_LOCK', 'Lock');

define('IMAGE_MODULE_INSTALL', 'Install Module');

define('IMAGE_MODULE_REMOVE', 'Remove Module');

define('IMAGE_MOVE', 'Move');

define('IMAGE_NEW_BANNER', 'New Banner');

define('IMAGE_NEW_CATEGORY', 'New Category');

define('IMAGE_NEW_COUNTRY', 'New Country');

define('IMAGE_NEW_CURRENCY', 'New Currency');

define('IMAGE_NEW_FILE', 'New File');

define('IMAGE_NEW_FOLDER', 'New Folder');

define('IMAGE_NEW_LANGUAGE', 'New Language');

define('IMAGE_NEW_NEWSLETTER', 'New Newsletter');

define('IMAGE_NEW_PRODUCT', 'New Product');

define('IMAGE_NEW_TAX_CLASS', 'New Tax Class');

define('IMAGE_NEW_TAX_RATE', 'New Tax Rate');

define('IMAGE_NEW_TAX_ZONE', 'New Tax Zone');

define('IMAGE_NEW_ZONE', 'New Zone');

define('IMAGE_ORDERS', 'Orders');

define('IMAGE_ORDERS_INVOICE', 'Invoice');

define('IMAGE_ORDERS_PACKINGSLIP', 'Packing Slip');

define('IMAGE_PREVIEW', 'Preview');

define('IMAGE_RESTORE', 'Restore');

define('IMAGE_RESET', 'Reset');

define('IMAGE_SAVE', 'Save');

define('IMAGE_SEARCH', 'Search');

define('IMAGE_SELECT', 'Select');

define('IMAGE_SEND', 'Send');

define('IMAGE_SEND_EMAIL', 'Send Email');

define('IMAGE_UNLOCK', 'Unlock');

define('IMAGE_UPDATE', 'Update');

define('IMAGE_UPDATE_CURRENCIES', 'Update Exchange Rate');

define('IMAGE_UPLOAD', 'Upload');

 

define('ICON_CROSS', 'False');

define('ICON_CURRENT_FOLDER', 'Current Folder');

define('ICON_DELETE', 'Delete');

define('ICON_ERROR', 'Error');

define('ICON_FILE', 'File');

define('ICON_FILE_DOWNLOAD', 'Download');

define('ICON_FOLDER', 'Folder');

define('ICON_LOCKED', 'Locked');

define('ICON_PREVIOUS_LEVEL', 'Previous Level');

define('ICON_PREVIEW', 'Preview');

define('ICON_STATISTICS', 'Statistics');

define('ICON_SUCCESS', 'Success');

define('ICON_TICK', 'True');

define('ICON_UNLOCKED', 'Unlocked');

define('ICON_WARNING', 'Warning');

 

// constants for use in tep_prev_next_display function

define('TEXT_RESULT_PAGE', 'Page %s of %d');

define('TEXT_DISPLAY_NUMBER_OF_BANNERS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> banners)');

define('TEXT_DISPLAY_NUMBER_OF_COUNTRIES', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> countries)');

define('TEXT_DISPLAY_NUMBER_OF_CUSTOMERS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> customers)');

define('TEXT_DISPLAY_NUMBER_OF_CURRENCIES', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> currencies)');

define('TEXT_DISPLAY_NUMBER_OF_LANGUAGES', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> languages)');

define('TEXT_DISPLAY_NUMBER_OF_MANUFACTURERS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> manufacturers)');

define('TEXT_DISPLAY_NUMBER_OF_NEWSLETTERS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> newsletters)');

define('TEXT_DISPLAY_NUMBER_OF_ORDERS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> orders)');

define('TEXT_DISPLAY_NUMBER_OF_ORDERS_STATUS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> orders status)');

define('TEXT_DISPLAY_NUMBER_OF_PRODUCTS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> products)');

define('TEXT_DISPLAY_NUMBER_OF_PRODUCTS_EXPECTED', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> products expected)');

define('TEXT_DISPLAY_NUMBER_OF_REVIEWS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> product reviews)');

define('TEXT_DISPLAY_NUMBER_OF_SPECIALS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> products on special)');

define('TEXT_DISPLAY_NUMBER_OF_TAX_CLASSES', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> tax classes)');

define('TEXT_DISPLAY_NUMBER_OF_TAX_ZONES', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> tax zones)');

define('TEXT_DISPLAY_NUMBER_OF_TAX_RATES', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> tax rates)');

define('TEXT_DISPLAY_NUMBER_OF_ZONES', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> zones)');

 

define('PREVNEXT_BUTTON_PREV', '<<');

define('PREVNEXT_BUTTON_NEXT', '>>');

 

define('TEXT_DEFAULT', 'default');

define('TEXT_SET_DEFAULT', 'Set as default');

define('TEXT_FIELD_REQUIRED', '?<span class="fieldRequired">* Required</span>');

 

define('ERROR_NO_DEFAULT_CURRENCY_DEFINED', 'Error: There is currently no default currency set. Please set one at: Administration Tool->Localization->Currencies');

 

define('TEXT_CACHE_CATEGORIES', 'Categories Box');

define('TEXT_CACHE_MANUFACTURERS', 'Manufacturers Box');

define('TEXT_CACHE_ALSO_PURCHASED', 'Also Purchased Module');

 

define('TEXT_NONE', '--none--');

define('TEXT_TOP', 'Top');

 

define('ERROR_DESTINATION_DOES_NOT_EXIST', 'Error: Destination does not exist.');

define('ERROR_DESTINATION_NOT_WRITEABLE', 'Error: Destination not writeable.');

define('ERROR_FILE_NOT_SAVED', 'Error: File upload not saved.');

define('ERROR_FILETYPE_NOT_ALLOWED', 'Error: File upload type not allowed.');

define('SUCCESS_FILE_SAVED_SUCCESSFULLY', 'Success: File upload saved successfully.');

define('WARNING_NO_FILE_UPLOADED', 'Warning: No file uploaded.');

define('WARNING_FILE_UPLOADS_DISABLED', 'Warning: File uploads are disabled in the php.ini configuration file.');

?>

Posted

That is your administration language file, not your catalog. :) That is why nothing is showing up correctly.

Wendy James

 

Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.

Posted
That is your administration language file, not your catalog. :) That is why nothing is showing up correctly.

 

 

So, the contributions I have been trying to install into the wrong area???

 

UGH...I feel ill.

 

I don't have a catalog area like all of the instructions tell me to start at.

 

Where would I fix this problem??

 

I am soooooooo lost now.

Posted
First I tried to add the contribution GoogleXMLSitemap_1...then I tried to add GoogleXMLSitemapv1.3.

Obviously I didn't do it right, and now I am content with just getting it back to normal.

 

Here is my code from admin/includes/laguages/english.php

 

Do you see where it is happening????

<?php

/*

$Id: english.php,v 1.106 2003/06/20 00:18:31 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright ? 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// look in your $PATH_LOCALE/locale directory for available locales..

 

 

 

 

 

// on RedHat6.0 I used 'en_US'

// on FreeBSD 4.0 I use 'en_US.ISO_8859-1'

// this may not work under win32 environments..

setlocale(LC_TIME, 'en_US.ISO_8859-1');

define('DATE_FORMAT_SHORT', '%m/%d/%Y'); // this is used for strftime()

define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()

define('DATE_FORMAT', 'm/d/Y'); // this is used for date()

define('PHP_DATE_TIME_FORMAT', 'm/d/Y H:i:s'); // this is used for date()

define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');

 

////

// Return date in raw format

// $date should be in format mm/dd/yyyy

// raw date is in format YYYYMMDD, or DDMMYYYY

function tep_date_raw($date, $reverse = false) {

if ($reverse) {

return substr($date, 3, 2) . substr($date, 0, 2) . substr($date, 6, 4);

} else {

return substr($date, 6, 4) . substr($date, 0, 2) . substr($date, 3, 2);

}

}

 

// Global entries for the <html> tag

define('HTML_PARAMS','dir="ltr" lang="en"');

 

// charset for web pages and emails

define('CHARSET', 'iso-8859-1');

 

// page title

define('TITLE', '');

 

// header text in includes/header.php

define('HEADER_TITLE_TOP', 'Administration');

define('HEADER_TITLE_SUPPORT_SITE', 'Support Site');

define('HEADER_TITLE_ONLINE_CATALOG', 'Online Catalog');

define('HEADER_TITLE_ADMINISTRATION', 'Administration');

 

// text for gender

define('MALE', 'Male');

define('FEMALE', 'Female');

 

// text for date of birth example

define('DOB_FORMAT_STRING', 'mm/dd/yyyy');

 

// configuration box text in includes/boxes/configuration.php

define('BOX_HEADING_CONFIGURATION', 'Configuration');

define('BOX_CONFIGURATION_MYSTORE', 'My Store');

define('BOX_CONFIGURATION_LOGGING', 'Logging');

define('BOX_CONFIGURATION_CACHE', 'Cache');

 

// modules box text in includes/boxes/modules.php

define('BOX_HEADING_MODULES', 'Modules');

define('BOX_MODULES_PAYMENT', 'Payment');

define('BOX_MODULES_SHIPPING', 'Shipping');

define('BOX_MODULES_ORDER_TOTAL', 'Order Total');

 

// categories box text in includes/boxes/catalog.php

define('BOX_HEADING_CATALOG', 'Catalog');

define('BOX_CATALOG_CATEGORIES_PRODUCTS', 'Categories/Products');

define('BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES', 'Products Attributes');

define('BOX_CATALOG_MANUFACTURERS', 'Manufacturers');

define('BOX_CATALOG_REVIEWS', 'Reviews');

define('BOX_CATALOG_SPECIALS', 'Specials');

define('BOX_CATALOG_PRODUCTS_EXPECTED', 'Products Expected');

 

// customers box text in includes/boxes/customers.php

define('BOX_HEADING_CUSTOMERS', 'Customers');

define('BOX_CUSTOMERS_CUSTOMERS', 'Customers');

define('BOX_CUSTOMERS_ORDERS', 'Orders');

 

// taxes box text in includes/boxes/taxes.php

define('BOX_HEADING_LOCATION_AND_TAXES', 'Locations / Taxes');

define('BOX_TAXES_COUNTRIES', 'Countries');

define('BOX_TAXES_ZONES', 'Zones');

define('BOX_TAXES_GEO_ZONES', 'Tax Zones');

define('BOX_TAXES_TAX_CLASSES', 'Tax Classes');

define('BOX_TAXES_TAX_RATES', 'Tax Rates');

 

// reports box text in includes/boxes/reports.php

define('BOX_HEADING_REPORTS', 'Reports');

define('BOX_REPORTS_PRODUCTS_VIEWED', 'Products Viewed');

define('BOX_REPORTS_PRODUCTS_PURCHASED', 'Products Purchased');

define('BOX_REPORTS_ORDERS_TOTAL', 'Customer Orders-Total');

 

// tools text in includes/boxes/tools.php

define('BOX_HEADING_TOOLS', 'Tools');

define('BOX_TOOLS_BACKUP', 'Database Backup');

define('BOX_TOOLS_BANNER_MANAGER', 'Banner Manager');

define('BOX_TOOLS_CACHE', 'Cache Control');

define('BOX_TOOLS_DEFINE_LANGUAGE', 'Define Languages');

define('BOX_TOOLS_FILE_MANAGER', 'File Manager');

define('BOX_TOOLS_MAIL', 'Send Email');

define('BOX_TOOLS_NEWSLETTER_MANAGER', 'Newsletter Manager');

define('BOX_TOOLS_SERVER_INFO', 'Server Info');

define('BOX_TOOLS_WHOS_ONLINE', 'Who's Online');

 

// localizaion box text in includes/boxes/localization.php

define('BOX_HEADING_LOCALIZATION', 'Localization');

define('BOX_LOCALIZATION_CURRENCIES', 'Currencies');

define('BOX_LOCALIZATION_LANGUAGES', 'Languages');

define('BOX_LOCALIZATION_ORDERS_STATUS', 'Orders Status');

 

// javascript messages

define('JS_ERROR', 'Errors have occured during the process of your form!nPlease make the following corrections:nn');

 

define('JS_OPTIONS_VALUE_PRICE', '* The new product atribute needs a price valuen');

define('JS_OPTIONS_VALUE_PRICE_PREFIX', '* The new product atribute needs a price prefixn');

 

define('JS_PRODUCTS_NAME', '* The new product needs a namen');

define('JS_PRODUCTS_DESCRIPTION', '* The new product needs a descriptionn');

define('JS_PRODUCTS_PRICE', '* The new product needs a price valuen');

define('JS_PRODUCTS_WEIGHT', '* The new product needs a weight valuen');

define('JS_PRODUCTS_QUANTITY', '* The new product needs a quantity valuen');

define('JS_PRODUCTS_MODEL', '* The new product needs a model valuen');

define('JS_PRODUCTS_IMAGE', '* The new product needs an image valuen');

 

define('JS_SPECIALS_PRODUCTS_PRICE', '* A new price for this product needs to be setn');

 

define('JS_GENDER', '* The 'Gender' value must be chosen.n');

define('JS_FIRST_NAME', '* The 'First Name' entry must have at least ' . ENTRY_FIRST_NAME_MIN_LENGTH . ' characters.n');

define('JS_LAST_NAME', '* The 'Last Name' entry must have at least ' . ENTRY_LAST_NAME_MIN_LENGTH . ' characters.n');

define('JS_DOB', '* The 'Date of Birth' entry must be in the format: xx/xx/xxxx (month/date/year).n');

define('JS_EMAIL_ADDRESS', '* The 'E-Mail Address' entry must have at least ' . ENTRY_EMAIL_ADDRESS_MIN_LENGTH . ' characters.n');

define('JS_ADDRESS', '* The 'Street Address' entry must have at least ' . ENTRY_STREET_ADDRESS_MIN_LENGTH . ' characters.n');

define('JS_POST_CODE', '* The 'Post Code' entry must have at least ' . ENTRY_POSTCODE_MIN_LENGTH . ' characters.n');

define('JS_CITY', '* The 'City' entry must have at least ' . ENTRY_CITY_MIN_LENGTH . ' characters.n');

define('JS_STATE', '* The 'State' entry is must be selected.n');

define('JS_STATE_SELECT', '-- Select Above --');

define('JS_ZONE', '* The 'State' entry must be selected from the list for this country.');

define('JS_COUNTRY', '* The 'Country' value must be chosen.n');

define('JS_TELEPHONE', '* The 'Telephone Number' entry must have at least ' . ENTRY_TELEPHONE_MIN_LENGTH . ' characters.n');

define('JS_PASSWORD', '* The 'Password' amd 'Confirmation' entries must match amd have at least ' . ENTRY_PASSWORD_MIN_LENGTH . ' characters.n');

 

define('JS_ORDER_DOES_NOT_EXIST', 'Order Number %s does not exist!');

 

define('CATEGORY_PERSONAL', 'Personal');

define('CATEGORY_ADDRESS', 'Address');

define('CATEGORY_CONTACT', 'Contact');

define('CATEGORY_COMPANY', 'Company');

define('CATEGORY_OPTIONS', 'Options');

 

define('ENTRY_GENDER', 'Gender:');

define('ENTRY_GENDER_ERROR', '?<span class="errorText">required</span>');

define('ENTRY_FIRST_NAME', 'First Name:');

define('ENTRY_FIRST_NAME_ERROR', '?<span class="errorText">min ' . ENTRY_FIRST_NAME_MIN_LENGTH . ' chars</span>');

define('ENTRY_LAST_NAME', 'Last Name:');

define('ENTRY_LAST_NAME_ERROR', '?<span class="errorText">min ' . ENTRY_LAST_NAME_MIN_LENGTH . ' chars</span>');

define('ENTRY_DATE_OF_BIRTH', 'Date of Birth:');

define('ENTRY_DATE_OF_BIRTH_ERROR', '?<span class="errorText">(eg. 05/21/1970)</span>');

define('ENTRY_EMAIL_ADDRESS', 'E-Mail Address:');

define('ENTRY_EMAIL_ADDRESS_ERROR', '?<span class="errorText">min ' . ENTRY_EMAIL_ADDRESS_MIN_LENGTH . ' chars</span>');

define('ENTRY_EMAIL_ADDRESS_CHECK_ERROR', '?<span class="errorText">The email address doesn't appear to be valid!</span>');

define('ENTRY_EMAIL_ADDRESS_ERROR_EXISTS', '?<span class="errorText">This email address already exists!</span>');

define('ENTRY_COMPANY', 'Company name:');

define('ENTRY_COMPANY_ERROR', '');

define('ENTRY_STREET_ADDRESS', 'Street Address:');

define('ENTRY_STREET_ADDRESS_ERROR', '?<span class="errorText">min ' . ENTRY_STREET_ADDRESS_MIN_LENGTH . ' chars</span>');

define('ENTRY_SUBURB', 'Suburb:');

define('ENTRY_SUBURB_ERROR', '');

define('ENTRY_POST_CODE', 'Post Code:');

define('ENTRY_POST_CODE_ERROR', '?<span class="errorText">min ' . ENTRY_POSTCODE_MIN_LENGTH . ' chars</span>');

define('ENTRY_CITY', 'City:');

define('ENTRY_CITY_ERROR', '?<span class="errorText">min ' . ENTRY_CITY_MIN_LENGTH . ' chars</span>');

define('ENTRY_STATE', 'State:');

define('ENTRY_STATE_ERROR', '?<span class="errorText">required</span>');

define('ENTRY_COUNTRY', 'Country:');

define('ENTRY_COUNTRY_ERROR', '');

define('ENTRY_TELEPHONE_NUMBER', 'Telephone Number:');

define('ENTRY_TELEPHONE_NUMBER_ERROR', '?<span class="errorText">min ' . ENTRY_TELEPHONE_MIN_LENGTH . ' chars</span>');

define('ENTRY_FAX_NUMBER', 'Fax Number:');

define('ENTRY_FAX_NUMBER_ERROR', '');

define('ENTRY_NEWSLETTER', 'Newsletter:');

define('ENTRY_NEWSLETTER_YES', 'Subscribed');

define('ENTRY_NEWSLETTER_NO', 'Unsubscribed');

define('ENTRY_NEWSLETTER_ERROR', '');

 

// images

define('IMAGE_ANI_SEND_EMAIL', 'Sending E-Mail');

define('IMAGE_BACK', 'Back');

define('IMAGE_BACKUP', 'Backup');

define('IMAGE_CANCEL', 'Cancel');

define('IMAGE_CONFIRM', 'Confirm');

define('IMAGE_COPY', 'Copy');

define('IMAGE_COPY_TO', 'Copy To');

define('IMAGE_DETAILS', 'Details');

define('IMAGE_DELETE', 'Delete');

define('IMAGE_EDIT', 'Edit');

define('IMAGE_EMAIL', 'Email');

define('IMAGE_FILE_MANAGER', 'File Manager');

define('IMAGE_ICON_STATUS_GREEN', 'Active');

define('IMAGE_ICON_STATUS_GREEN_LIGHT', 'Set Active');

define('IMAGE_ICON_STATUS_RED', 'Inactive');

define('IMAGE_ICON_STATUS_RED_LIGHT', 'Set Inactive');

define('IMAGE_ICON_INFO', 'Info');

define('IMAGE_INSERT', 'Insert');

define('IMAGE_LOCK', 'Lock');

define('IMAGE_MODULE_INSTALL', 'Install Module');

define('IMAGE_MODULE_REMOVE', 'Remove Module');

define('IMAGE_MOVE', 'Move');

define('IMAGE_NEW_BANNER', 'New Banner');

define('IMAGE_NEW_CATEGORY', 'New Category');

define('IMAGE_NEW_COUNTRY', 'New Country');

define('IMAGE_NEW_CURRENCY', 'New Currency');

define('IMAGE_NEW_FILE', 'New File');

define('IMAGE_NEW_FOLDER', 'New Folder');

define('IMAGE_NEW_LANGUAGE', 'New Language');

define('IMAGE_NEW_NEWSLETTER', 'New Newsletter');

define('IMAGE_NEW_PRODUCT', 'New Product');

define('IMAGE_NEW_TAX_CLASS', 'New Tax Class');

define('IMAGE_NEW_TAX_RATE', 'New Tax Rate');

define('IMAGE_NEW_TAX_ZONE', 'New Tax Zone');

define('IMAGE_NEW_ZONE', 'New Zone');

define('IMAGE_ORDERS', 'Orders');

define('IMAGE_ORDERS_INVOICE', 'Invoice');

define('IMAGE_ORDERS_PACKINGSLIP', 'Packing Slip');

define('IMAGE_PREVIEW', 'Preview');

define('IMAGE_RESTORE', 'Restore');

define('IMAGE_RESET', 'Reset');

define('IMAGE_SAVE', 'Save');

define('IMAGE_SEARCH', 'Search');

define('IMAGE_SELECT', 'Select');

define('IMAGE_SEND', 'Send');

define('IMAGE_SEND_EMAIL', 'Send Email');

define('IMAGE_UNLOCK', 'Unlock');

define('IMAGE_UPDATE', 'Update');

define('IMAGE_UPDATE_CURRENCIES', 'Update Exchange Rate');

define('IMAGE_UPLOAD', 'Upload');

 

define('ICON_CROSS', 'False');

define('ICON_CURRENT_FOLDER', 'Current Folder');

define('ICON_DELETE', 'Delete');

define('ICON_ERROR', 'Error');

define('ICON_FILE', 'File');

define('ICON_FILE_DOWNLOAD', 'Download');

define('ICON_FOLDER', 'Folder');

define('ICON_LOCKED', 'Locked');

define('ICON_PREVIOUS_LEVEL', 'Previous Level');

define('ICON_PREVIEW', 'Preview');

define('ICON_STATISTICS', 'Statistics');

define('ICON_SUCCESS', 'Success');

define('ICON_TICK', 'True');

define('ICON_UNLOCKED', 'Unlocked');

define('ICON_WARNING', 'Warning');

 

// constants for use in tep_prev_next_display function

define('TEXT_RESULT_PAGE', 'Page %s of %d');

define('TEXT_DISPLAY_NUMBER_OF_BANNERS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> banners)');

define('TEXT_DISPLAY_NUMBER_OF_COUNTRIES', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> countries)');

define('TEXT_DISPLAY_NUMBER_OF_CUSTOMERS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> customers)');

define('TEXT_DISPLAY_NUMBER_OF_CURRENCIES', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> currencies)');

define('TEXT_DISPLAY_NUMBER_OF_LANGUAGES', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> languages)');

define('TEXT_DISPLAY_NUMBER_OF_MANUFACTURERS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> manufacturers)');

define('TEXT_DISPLAY_NUMBER_OF_NEWSLETTERS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> newsletters)');

define('TEXT_DISPLAY_NUMBER_OF_ORDERS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> orders)');

define('TEXT_DISPLAY_NUMBER_OF_ORDERS_STATUS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> orders status)');

define('TEXT_DISPLAY_NUMBER_OF_PRODUCTS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> products)');

define('TEXT_DISPLAY_NUMBER_OF_PRODUCTS_EXPECTED', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> products expected)');

define('TEXT_DISPLAY_NUMBER_OF_REVIEWS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> product reviews)');

define('TEXT_DISPLAY_NUMBER_OF_SPECIALS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> products on special)');

define('TEXT_DISPLAY_NUMBER_OF_TAX_CLASSES', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> tax classes)');

define('TEXT_DISPLAY_NUMBER_OF_TAX_ZONES', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> tax zones)');

define('TEXT_DISPLAY_NUMBER_OF_TAX_RATES', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> tax rates)');

define('TEXT_DISPLAY_NUMBER_OF_ZONES', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> zones)');

 

define('PREVNEXT_BUTTON_PREV', '<<');

define('PREVNEXT_BUTTON_NEXT', '>>');

 

define('TEXT_DEFAULT', 'default');

define('TEXT_SET_DEFAULT', 'Set as default');

define('TEXT_FIELD_REQUIRED', '?<span class="fieldRequired">* Required</span>');

 

define('ERROR_NO_DEFAULT_CURRENCY_DEFINED', 'Error: There is currently no default currency set. Please set one at: Administration Tool->Localization->Currencies');

 

define('TEXT_CACHE_CATEGORIES', 'Categories Box');

define('TEXT_CACHE_MANUFACTURERS', 'Manufacturers Box');

define('TEXT_CACHE_ALSO_PURCHASED', 'Also Purchased Module');

 

define('TEXT_NONE', '--none--');

define('TEXT_TOP', 'Top');

 

define('ERROR_DESTINATION_DOES_NOT_EXIST', 'Error: Destination does not exist.');

define('ERROR_DESTINATION_NOT_WRITEABLE', 'Error: Destination not writeable.');

define('ERROR_FILE_NOT_SAVED', 'Error: File upload not saved.');

define('ERROR_FILETYPE_NOT_ALLOWED', 'Error: File upload type not allowed.');

define('SUCCESS_FILE_SAVED_SUCCESSFULLY', 'Success: File upload saved successfully.');

define('WARNING_NO_FILE_UPLOADED', 'Warning: No file uploaded.');

define('WARNING_FILE_UPLOADS_DISABLED', 'Warning: File uploads are disabled in the php.ini configuration file.');

?>

 

 

hi

 

 

this is your admin/ includes/languages/english.php file is not that one its catalog/includes/languages /english.php file that is probably wrong.

 

 

 

jaz

Posted
So, the contributions I have been trying to install into the wrong area???

 

UGH...I feel ill.

 

I don't have a catalog area like all of the instructions tell me to start at.

 

Where would I fix this problem??

 

I am soooooooo lost now.

 

When you install at the domain root instead of /catalog/ everything is moved up one tier.

 

So for example if something instructs you to modify

 

/catalog/includes/languages/english.php

 

then you would modify

 

/includes/languages/english.php

Rule #1: Without exception, backup your database and files before making any changes to your files or database.

Rule #2: Make sure there are no exceptions to Rule #1.

Posted
When you install at the domain root instead of /catalog/ everything is moved up one tier.

 

So for example if something instructs you to modify

 

/catalog/includes/languages/english.php

 

then you would modify

 

/includes/languages/english.php

 

OHMIGAWD! :blush:

 

That's like common sense...jeesh..now I've really messed things up.

 

Here is the code from includes/languages/english.php

 

Does it look normal?

 

 

 

 

<?php

/*

$Id: english.php,v 1.106 2003/06/20 00:18:31 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

// look in your $PATH_LOCALE/locale directory for available locales..

// on RedHat6.0 I used 'en_US'

// on FreeBSD 4.0 I use 'en_US.ISO_8859-1'

// this may not work under win32 environments..

setlocale(LC_TIME, 'en_US.ISO_8859-1');

define('DATE_FORMAT_SHORT', '%m/%d/%Y'); // this is used for strftime()

define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()

define('DATE_FORMAT', 'm/d/Y'); // this is used for date()

define('PHP_DATE_TIME_FORMAT', 'm/d/Y H:i:s'); // this is used for date()

define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');

 

////

// Return date in raw format

// $date should be in format mm/dd/yyyy

// raw date is in format YYYYMMDD, or DDMMYYYY

function tep_date_raw($date, $reverse = false) {

if ($reverse) {

return substr($date, 3, 2) . substr($date, 0, 2) . substr($date, 6, 4);

} else {

return substr($date, 6, 4) . substr($date, 0, 2) . substr($date, 3, 2);

}

}

 

// Global entries for the <html> tag

define('HTML_PARAMS','dir="ltr" lang="en"');

 

// charset for web pages and emails

define('CHARSET', 'iso-8859-1');

 

// page title

define('TITLE', '');

 

// header text in includes/header.php

define('HEADER_TITLE_TOP', 'Administration');

define('HEADER_TITLE_SUPPORT_SITE', 'Support Site');

define('HEADER_TITLE_ONLINE_CATALOG', 'Online Catalog');

define('HEADER_TITLE_ADMINISTRATION', 'Administration');

 

// text for gender

define('MALE', 'Male');

define('FEMALE', 'Female');

 

// text for date of birth example

define('DOB_FORMAT_STRING', 'mm/dd/yyyy');

 

// configuration box text in includes/boxes/configuration.php

define('BOX_HEADING_CONFIGURATION', 'Configuration');

define('BOX_CONFIGURATION_MYSTORE', 'My Store');

define('BOX_CONFIGURATION_LOGGING', 'Logging');

define('BOX_CONFIGURATION_CACHE', 'Cache');

 

// modules box text in includes/boxes/modules.php

define('BOX_HEADING_MODULES', 'Modules');

define('BOX_MODULES_PAYMENT', 'Payment');

define('BOX_MODULES_SHIPPING', 'Shipping');

define('BOX_MODULES_ORDER_TOTAL', 'Order Total');

 

// categories box text in includes/boxes/catalog.php

define('BOX_HEADING_CATALOG', 'Catalog');

define('BOX_CATALOG_CATEGORIES_PRODUCTS', 'Categories/Products');

define('BOX_CATALOG_CATEGORIES_PRODUCTS_ATTRIBUTES', 'Products Attributes');

define('BOX_CATALOG_MANUFACTURERS', 'Manufacturers');

define('BOX_CATALOG_REVIEWS', 'Reviews');

define('BOX_CATALOG_SPECIALS', 'Specials');

define('BOX_CATALOG_PRODUCTS_EXPECTED', 'Products Expected');

 

// customers box text in includes/boxes/customers.php

define('BOX_HEADING_CUSTOMERS', 'Customers');

define('BOX_CUSTOMERS_CUSTOMERS', 'Customers');

define('BOX_CUSTOMERS_ORDERS', 'Orders');

 

// taxes box text in includes/boxes/taxes.php

define('BOX_HEADING_LOCATION_AND_TAXES', 'Locations / Taxes');

define('BOX_TAXES_COUNTRIES', 'Countries');

define('BOX_TAXES_ZONES', 'Zones');

define('BOX_TAXES_GEO_ZONES', 'Tax Zones');

define('BOX_TAXES_TAX_CLASSES', 'Tax Classes');

define('BOX_TAXES_TAX_RATES', 'Tax Rates');

 

// reports box text in includes/boxes/reports.php

define('BOX_HEADING_REPORTS', 'Reports');

define('BOX_REPORTS_PRODUCTS_VIEWED', 'Products Viewed');

define('BOX_REPORTS_PRODUCTS_PURCHASED', 'Products Purchased');

define('BOX_REPORTS_ORDERS_TOTAL', 'Customer Orders-Total');

 

// tools text in includes/boxes/tools.php

define('BOX_HEADING_TOOLS', 'Tools');

define('BOX_TOOLS_BACKUP', 'Database Backup');

define('BOX_TOOLS_BANNER_MANAGER', 'Banner Manager');

define('BOX_TOOLS_CACHE', 'Cache Control');

define('BOX_TOOLS_DEFINE_LANGUAGE', 'Define Languages');

define('BOX_TOOLS_FILE_MANAGER', 'File Manager');

define('BOX_TOOLS_MAIL', 'Send Email');

define('BOX_TOOLS_NEWSLETTER_MANAGER', 'Newsletter Manager');

define('BOX_TOOLS_SERVER_INFO', 'Server Info');

define('BOX_TOOLS_WHOS_ONLINE', 'Who's Online');

 

// localizaion box text in includes/boxes/localization.php

define('BOX_HEADING_LOCALIZATION', 'Localization');

define('BOX_LOCALIZATION_CURRENCIES', 'Currencies');

define('BOX_LOCALIZATION_LANGUAGES', 'Languages');

define('BOX_LOCALIZATION_ORDERS_STATUS', 'Orders Status');

 

// javascript messages

define('JS_ERROR', 'Errors have occured during the process of your form!nPlease make the following corrections:nn');

 

define('JS_OPTIONS_VALUE_PRICE', '* The new product atribute needs a price valuen');

define('JS_OPTIONS_VALUE_PRICE_PREFIX', '* The new product atribute needs a price prefixn');

 

define('JS_PRODUCTS_NAME', '* The new product needs a namen');

define('JS_PRODUCTS_DESCRIPTION', '* The new product needs a descriptionn');

define('JS_PRODUCTS_PRICE', '* The new product needs a price valuen');

define('JS_PRODUCTS_WEIGHT', '* The new product needs a weight valuen');

define('JS_PRODUCTS_QUANTITY', '* The new product needs a quantity valuen');

define('JS_PRODUCTS_MODEL', '* The new product needs a model valuen');

define('JS_PRODUCTS_IMAGE', '* The new product needs an image valuen');

 

define('JS_SPECIALS_PRODUCTS_PRICE', '* A new price for this product needs to be setn');

 

define('JS_GENDER', '* The 'Gender' value must be chosen.n');

define('JS_FIRST_NAME', '* The 'First Name' entry must have at least ' . ENTRY_FIRST_NAME_MIN_LENGTH . ' characters.n');

define('JS_LAST_NAME', '* The 'Last Name' entry must have at least ' . ENTRY_LAST_NAME_MIN_LENGTH . ' characters.n');

define('JS_DOB', '* The 'Date of Birth' entry must be in the format: xx/xx/xxxx (month/date/year).n');

define('JS_EMAIL_ADDRESS', '* The 'E-Mail Address' entry must have at least ' . ENTRY_EMAIL_ADDRESS_MIN_LENGTH . ' characters.n');

define('JS_ADDRESS', '* The 'Street Address' entry must have at least ' . ENTRY_STREET_ADDRESS_MIN_LENGTH . ' characters.n');

define('JS_POST_CODE', '* The 'Post Code' entry must have at least ' . ENTRY_POSTCODE_MIN_LENGTH . ' characters.n');

define('JS_CITY', '* The 'City' entry must have at least ' . ENTRY_CITY_MIN_LENGTH . ' characters.n');

define('JS_STATE', '* The 'State' entry is must be selected.n');

define('JS_STATE_SELECT', '-- Select Above --');

define('JS_ZONE', '* The 'State' entry must be selected from the list for this country.');

define('JS_COUNTRY', '* The 'Country' value must be chosen.n');

define('JS_TELEPHONE', '* The 'Telephone Number' entry must have at least ' . ENTRY_TELEPHONE_MIN_LENGTH . ' characters.n');

define('JS_PASSWORD', '* The 'Password' amd 'Confirmation' entries must match amd have at least ' . ENTRY_PASSWORD_MIN_LENGTH . ' characters.n');

 

define('JS_ORDER_DOES_NOT_EXIST', 'Order Number %s does not exist!');

 

define('CATEGORY_PERSONAL', 'Personal');

define('CATEGORY_ADDRESS', 'Address');

define('CATEGORY_CONTACT', 'Contact');

define('CATEGORY_COMPANY', 'Company');

define('CATEGORY_OPTIONS', 'Options');

 

define('ENTRY_GENDER', 'Gender:');

define('ENTRY_GENDER_ERROR', ' <span class="errorText">required</span>');

define('ENTRY_FIRST_NAME', 'First Name:');

define('ENTRY_FIRST_NAME_ERROR', ' <span class="errorText">min ' . ENTRY_FIRST_NAME_MIN_LENGTH . ' chars</span>');

define('ENTRY_LAST_NAME', 'Last Name:');

define('ENTRY_LAST_NAME_ERROR', ' <span class="errorText">min ' . ENTRY_LAST_NAME_MIN_LENGTH . ' chars</span>');

define('ENTRY_DATE_OF_BIRTH', 'Date of Birth:');

define('ENTRY_DATE_OF_BIRTH_ERROR', ' <span class="errorText">(eg. 05/21/1970)</span>');

define('ENTRY_EMAIL_ADDRESS', 'E-Mail Address:');

define('ENTRY_EMAIL_ADDRESS_ERROR', ' <span class="errorText">min ' . ENTRY_EMAIL_ADDRESS_MIN_LENGTH . ' chars</span>');

define('ENTRY_EMAIL_ADDRESS_CHECK_ERROR', ' <span class="errorText">The email address doesn't appear to be valid!</span>');

define('ENTRY_EMAIL_ADDRESS_ERROR_EXISTS', ' <span class="errorText">This email address already exists!</span>');

define('ENTRY_COMPANY', 'Company name:');

define('ENTRY_COMPANY_ERROR', '');

define('ENTRY_STREET_ADDRESS', 'Street Address:');

define('ENTRY_STREET_ADDRESS_ERROR', ' <span class="errorText">min ' . ENTRY_STREET_ADDRESS_MIN_LENGTH . ' chars</span>');

define('ENTRY_SUBURB', 'Suburb:');

define('ENTRY_SUBURB_ERROR', '');

define('ENTRY_POST_CODE', 'Post Code:');

define('ENTRY_POST_CODE_ERROR', ' <span class="errorText">min ' . ENTRY_POSTCODE_MIN_LENGTH . ' chars</span>');

define('ENTRY_CITY', 'City:');

define('ENTRY_CITY_ERROR', ' <span class="errorText">min ' . ENTRY_CITY_MIN_LENGTH . ' chars</span>');

define('ENTRY_STATE', 'State:');

define('ENTRY_STATE_ERROR', ' <span class="errorText">required</span>');

define('ENTRY_COUNTRY', 'Country:');

define('ENTRY_COUNTRY_ERROR', '');

define('ENTRY_TELEPHONE_NUMBER', 'Telephone Number:');

define('ENTRY_TELEPHONE_NUMBER_ERROR', ' <span class="errorText">min ' . ENTRY_TELEPHONE_MIN_LENGTH . ' chars</span>');

define('ENTRY_FAX_NUMBER', 'Fax Number:');

define('ENTRY_FAX_NUMBER_ERROR', '');

define('ENTRY_NEWSLETTER', 'Newsletter:');

define('ENTRY_NEWSLETTER_YES', 'Subscribed');

define('ENTRY_NEWSLETTER_NO', 'Unsubscribed');

define('ENTRY_NEWSLETTER_ERROR', '');

 

// images

define('IMAGE_ANI_SEND_EMAIL', 'Sending E-Mail');

define('IMAGE_BACK', 'Back');

define('IMAGE_BACKUP', 'Backup');

define('IMAGE_CANCEL', 'Cancel');

define('IMAGE_CONFIRM', 'Confirm');

define('IMAGE_COPY', 'Copy');

define('IMAGE_COPY_TO', 'Copy To');

define('IMAGE_DETAILS', 'Details');

define('IMAGE_DELETE', 'Delete');

define('IMAGE_EDIT', 'Edit');

define('IMAGE_EMAIL', 'Email');

define('IMAGE_FILE_MANAGER', 'File Manager');

define('IMAGE_ICON_STATUS_GREEN', 'Active');

define('IMAGE_ICON_STATUS_GREEN_LIGHT', 'Set Active');

define('IMAGE_ICON_STATUS_RED', 'Inactive');

define('IMAGE_ICON_STATUS_RED_LIGHT', 'Set Inactive');

define('IMAGE_ICON_INFO', 'Info');

define('IMAGE_INSERT', 'Insert');

define('IMAGE_LOCK', 'Lock');

define('IMAGE_MODULE_INSTALL', 'Install Module');

define('IMAGE_MODULE_REMOVE', 'Remove Module');

define('IMAGE_MOVE', 'Move');

define('IMAGE_NEW_BANNER', 'New Banner');

define('IMAGE_NEW_CATEGORY', 'New Category');

define('IMAGE_NEW_COUNTRY', 'New Country');

define('IMAGE_NEW_CURRENCY', 'New Currency');

define('IMAGE_NEW_FILE', 'New File');

define('IMAGE_NEW_FOLDER', 'New Folder');

define('IMAGE_NEW_LANGUAGE', 'New Language');

define('IMAGE_NEW_NEWSLETTER', 'New Newsletter');

define('IMAGE_NEW_PRODUCT', 'New Product');

define('IMAGE_NEW_TAX_CLASS', 'New Tax Class');

define('IMAGE_NEW_TAX_RATE', 'New Tax Rate');

define('IMAGE_NEW_TAX_ZONE', 'New Tax Zone');

define('IMAGE_NEW_ZONE', 'New Zone');

define('IMAGE_ORDERS', 'Orders');

define('IMAGE_ORDERS_INVOICE', 'Invoice');

define('IMAGE_ORDERS_PACKINGSLIP', 'Packing Slip');

define('IMAGE_PREVIEW', 'Preview');

define('IMAGE_RESTORE', 'Restore');

define('IMAGE_RESET', 'Reset');

define('IMAGE_SAVE', 'Save');

define('IMAGE_SEARCH', 'Search');

define('IMAGE_SELECT', 'Select');

define('IMAGE_SEND', 'Send');

define('IMAGE_SEND_EMAIL', 'Send Email');

define('IMAGE_UNLOCK', 'Unlock');

define('IMAGE_UPDATE', 'Update');

define('IMAGE_UPDATE_CURRENCIES', 'Update Exchange Rate');

define('IMAGE_UPLOAD', 'Upload');

 

define('ICON_CROSS', 'False');

define('ICON_CURRENT_FOLDER', 'Current Folder');

define('ICON_DELETE', 'Delete');

define('ICON_ERROR', 'Error');

define('ICON_FILE', 'File');

define('ICON_FILE_DOWNLOAD', 'Download');

define('ICON_FOLDER', 'Folder');

define('ICON_LOCKED', 'Locked');

define('ICON_PREVIOUS_LEVEL', 'Previous Level');

define('ICON_PREVIEW', 'Preview');

define('ICON_STATISTICS', 'Statistics');

define('ICON_SUCCESS', 'Success');

define('ICON_TICK', 'True');

define('ICON_UNLOCKED', 'Unlocked');

define('ICON_WARNING', 'Warning');

 

// constants for use in tep_prev_next_display function

define('TEXT_RESULT_PAGE', 'Page %s of %d');

define('TEXT_DISPLAY_NUMBER_OF_BANNERS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> banners)');

define('TEXT_DISPLAY_NUMBER_OF_COUNTRIES', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> countries)');

define('TEXT_DISPLAY_NUMBER_OF_CUSTOMERS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> customers)');

define('TEXT_DISPLAY_NUMBER_OF_CURRENCIES', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> currencies)');

define('TEXT_DISPLAY_NUMBER_OF_LANGUAGES', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> languages)');

define('TEXT_DISPLAY_NUMBER_OF_MANUFACTURERS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> manufacturers)');

define('TEXT_DISPLAY_NUMBER_OF_NEWSLETTERS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> newsletters)');

define('TEXT_DISPLAY_NUMBER_OF_ORDERS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> orders)');

define('TEXT_DISPLAY_NUMBER_OF_ORDERS_STATUS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> orders status)');

define('TEXT_DISPLAY_NUMBER_OF_PRODUCTS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> products)');

define('TEXT_DISPLAY_NUMBER_OF_PRODUCTS_EXPECTED', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> products expected)');

define('TEXT_DISPLAY_NUMBER_OF_REVIEWS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> product reviews)');

define('TEXT_DISPLAY_NUMBER_OF_SPECIALS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> products on special)');

define('TEXT_DISPLAY_NUMBER_OF_TAX_CLASSES', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> tax classes)');

define('TEXT_DISPLAY_NUMBER_OF_TAX_ZONES', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> tax zones)');

define('TEXT_DISPLAY_NUMBER_OF_TAX_RATES', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> tax rates)');

define('TEXT_DISPLAY_NUMBER_OF_ZONES', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> zones)');

 

define('PREVNEXT_BUTTON_PREV', '<<');

define('PREVNEXT_BUTTON_NEXT', '>>');

 

define('TEXT_DEFAULT', 'default');

define('TEXT_SET_DEFAULT', 'Set as default');

define('TEXT_FIELD_REQUIRED', ' <span class="fieldRequired">* Required</span>');

 

define('ERROR_NO_DEFAULT_CURRENCY_DEFINED', 'Error: There is currently no default currency set. Please set one at: Administration Tool->Localization->Currencies');

 

define('TEXT_CACHE_CATEGORIES', 'Categories Box');

define('TEXT_CACHE_MANUFACTURERS', 'Manufacturers Box');

define('TEXT_CACHE_ALSO_PURCHASED', 'Also Purchased Module');

 

define('TEXT_NONE', '--none--');

define('TEXT_TOP', 'Top');

 

define('ERROR_DESTINATION_DOES_NOT_EXIST', 'Error: Destination does not exist.');

define('ERROR_DESTINATION_NOT_WRITEABLE', 'Error: Destination not writeable.');

define('ERROR_FILE_NOT_SAVED', 'Error: File upload not saved.');

define('ERROR_FILETYPE_NOT_ALLOWED', 'Error: File upload type not allowed.');

define('SUCCESS_FILE_SAVED_SUCCESSFULLY', 'Success: File upload saved successfully.');

define('WARNING_NO_FILE_UPLOADED', 'Warning: No file uploaded.');

define('WARNING_FILE_UPLOADS_DISABLED', 'Warning: File uploads are disabled in the php.ini configuration file.');

?>

Posted
When you install at the domain root instead of /catalog/ everything is moved up one tier.

 

So for example if something instructs you to modify

 

/catalog/includes/languages/english.php

 

then you would modify

 

/includes/languages/english.php

 

 

 

hi

 

an idea is to get yourself the complete original oscommerce file system on to your computer from here

osc downloads

 

then you have something to refer back to for all the original files and you can also use to compare and/or repair by uploading any damaged files.

 

This still is secondary to backing up any files you are going to change in the first place which also will save any work you have done previously.

 

hope this helps.

 

jaz

 

hi

 

an idea is to get yourself the complete original oscommerce file system on to your computer from here

osc downloads

 

then you have something to refer back to for all the original files and you can also use to compare and/or repair by uploading any damaged files.

 

This still is secondary to backing up any files you are going to change in the first place which also will save any work you have done previously.

 

hope this helps.

 

jaz

 

 

Hi

 

no this is the admin file again if this is thwe file you have in includes/languages/english.php then thats your error. You need to download an original and replace it.

 

here it is

 

<?php
/*
 $Id: english.php,v 1.114 2003/07/09 18:13:39 dgw_ Exp $

 osCommerce, Open Source E-Commerce Solutions
 http://www.oscommerce.com

 Copyright (c) 2003 osCommerce

 Released under the GNU General Public License
*/

// look in your $PATH_LOCALE/locale directory for available locales
// or type locale -a on the server.
// Examples:
// on RedHat try 'en_US'
// on FreeBSD try 'en_US.ISO_8859-1'
// on Windows try 'en', or 'English'
@setlocale(LC_TIME, 'en_US.ISO_8859-1');

define('DATE_FORMAT_SHORT', '%m/%d/%Y');  // this is used for strftime()
define('DATE_FORMAT_LONG', '%A %d %B, %Y'); // this is used for strftime()
define('DATE_FORMAT', 'm/d/Y'); // this is used for date()
define('DATE_TIME_FORMAT', DATE_FORMAT_SHORT . ' %H:%M:%S');

////
// Return date in raw format
// $date should be in format mm/dd/yyyy
// raw date is in format YYYYMMDD, or DDMMYYYY
function tep_date_raw($date, $reverse = false) {
 if ($reverse) {
return substr($date, 3, 2) . substr($date, 0, 2) . substr($date, 6, 4);
 } else {
return substr($date, 6, 4) . substr($date, 0, 2) . substr($date, 3, 2);
 }
}

// if USE_DEFAULT_LANGUAGE_CURRENCY is true, use the following currency, instead of the applications default currency (used when changing language)
define('LANGUAGE_CURRENCY', 'USD');

// Global entries for the <html> tag
define('HTML_PARAMS','dir="LTR" lang="en"');

// charset for web pages and emails
define('CHARSET', 'iso-8859-1');

// page title
define('TITLE', 'osCommerce');

// header text in includes/header.php
define('HEADER_TITLE_CREATE_ACCOUNT', 'Create an Account');
define('HEADER_TITLE_MY_ACCOUNT', 'My Account');
define('HEADER_TITLE_CART_CONTENTS', 'Cart Contents');
define('HEADER_TITLE_CHECKOUT', 'Checkout');
define('HEADER_TITLE_TOP', 'Top');
define('HEADER_TITLE_CATALOG', 'Catalog');
define('HEADER_TITLE_LOGOFF', 'Log Off');
define('HEADER_TITLE_LOGIN', 'Log In');

// footer text in includes/footer.php
define('FOOTER_TEXT_REQUESTS_SINCE', 'requests since');

// text for gender
define('MALE', 'Male');
define('FEMALE', 'Female');
define('MALE_ADDRESS', 'Mr.');
define('FEMALE_ADDRESS', 'Ms.');

// text for date of birth example
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/whats_new.php
define('BOX_HEADING_WHATS_NEW', 'What\'s New?');

// quick_find box text in includes/boxes/quick_find.php
define('BOX_HEADING_SEARCH', 'Quick Find');
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>  ');

// notifications box text in includes/boxes/products_notifications.php
define('BOX_HEADING_NOTIFICATIONS', 'Notifications');
define('BOX_NOTIFICATIONS_NOTIFY', 'Notify me of updates to <b>%s</b>');
define('BOX_NOTIFICATIONS_NOTIFY_REMOVE', 'Do not notify me of updates to <b>%s</b>');

// manufacturer box text
define('BOX_HEADING_MANUFACTURER_INFO', 'Manufacturer Info');
define('BOX_MANUFACTURER_INFO_HOMEPAGE', '%s Homepage');
define('BOX_MANUFACTURER_INFO_OTHER_PRODUCTS', 'Other products');

// languages box text in includes/boxes/languages.php
define('BOX_HEADING_LANGUAGES', 'Languages');

// currencies box text in includes/boxes/currencies.php
define('BOX_HEADING_CURRENCIES', 'Currencies');

// information box text in includes/boxes/information.php
define('BOX_HEADING_INFORMATION', 'Information');
define('BOX_INFORMATION_PRIVACY', 'Privacy Notice');
define('BOX_INFORMATION_CONDITIONS', 'Conditions of Use');
define('BOX_INFORMATION_SHIPPING', 'Shipping & Returns');
define('BOX_INFORMATION_CONTACT', 'Contact Us');

// tell a friend box text in includes/boxes/tell_a_friend.php
define('BOX_HEADING_TELL_A_FRIEND', 'Tell A Friend');
define('BOX_TELL_A_FRIEND_TEXT', 'Tell someone you know about this product.');

// checkout procedure text
define('CHECKOUT_BAR_DELIVERY', 'Delivery Information');
define('CHECKOUT_BAR_PAYMENT', 'Payment Information');
define('CHECKOUT_BAR_CONFIRMATION', 'Confirmation');
define('CHECKOUT_BAR_FINISHED', 'Finished!');

// pull down default text
define('PULL_DOWN_DEFAULT', 'Please Select');
define('TYPE_BELOW', 'Type Below');

// javascript messages
define('JS_ERROR', 'Errors have occured during the process of your form.\n\nPlease make the following corrections:\n\n');

define('JS_REVIEW_TEXT', '* The \'Review Text\' must have at least ' . REVIEW_TEXT_MIN_LENGTH . ' characters.\n');
define('JS_REVIEW_RATING', '* You must rate the product for your review.\n');

define('JS_ERROR_NO_PAYMENT_MODULE_SELECTED', '* Please select a payment method for your order.\n');

define('JS_ERROR_SUBMITTED', 'This form has already been submitted. Please press Ok and wait for this process to be completed.');

define('ERROR_NO_PAYMENT_MODULE_SELECTED', 'Please select a payment method for your order.');

define('CATEGORY_COMPANY', 'Company Details');
define('CATEGORY_PERSONAL', 'Your Personal Details');
define('CATEGORY_ADDRESS', 'Your Address');
define('CATEGORY_CONTACT', 'Your Contact Information');
define('CATEGORY_OPTIONS', 'Options');
define('CATEGORY_PASSWORD', 'Your Password');

define('ENTRY_COMPANY', 'Company Name:');
define('ENTRY_COMPANY_ERROR', '');
define('ENTRY_COMPANY_TEXT', '');
define('ENTRY_GENDER', 'Gender:');
define('ENTRY_GENDER_ERROR', 'Please select your Gender.');
define('ENTRY_GENDER_TEXT', '*');
define('ENTRY_FIRST_NAME', 'First Name:');
define('ENTRY_FIRST_NAME_ERROR', 'Your First Name must contain a minimum of ' . ENTRY_FIRST_NAME_MIN_LENGTH . ' characters.');
define('ENTRY_FIRST_NAME_TEXT', '*');
define('ENTRY_LAST_NAME', 'Last Name:');
define('ENTRY_LAST_NAME_ERROR', 'Your Last Name must contain a minimum of ' . ENTRY_LAST_NAME_MIN_LENGTH . ' characters.');
define('ENTRY_LAST_NAME_TEXT', '*');
define('ENTRY_DATE_OF_BIRTH', 'Date of Birth:');
define('ENTRY_DATE_OF_BIRTH_ERROR', 'Your Date of Birth must be in this format: MM/DD/YYYY (eg 05/21/1970)');
define('ENTRY_DATE_OF_BIRTH_TEXT', '* (eg. 05/21/1970)');
define('ENTRY_EMAIL_ADDRESS', 'E-Mail Address:');
define('ENTRY_EMAIL_ADDRESS_ERROR', 'Your E-Mail Address must contain a minimum of ' . ENTRY_EMAIL_ADDRESS_MIN_LENGTH . ' characters.');
define('ENTRY_EMAIL_ADDRESS_CHECK_ERROR', 'Your E-Mail Address does not appear to be valid - please make any necessary corrections.');
define('ENTRY_EMAIL_ADDRESS_ERROR_EXISTS', 'Your E-Mail Address already exists in our records - please log in with the e-mail address or create an account with a different address.');
define('ENTRY_EMAIL_ADDRESS_TEXT', '*');
define('ENTRY_STREET_ADDRESS', 'Street Address:');
define('ENTRY_STREET_ADDRESS_ERROR', 'Your Street Address must contain a minimum of ' . ENTRY_STREET_ADDRESS_MIN_LENGTH . ' characters.');
define('ENTRY_STREET_ADDRESS_TEXT', '*');
define('ENTRY_SUBURB', 'Suburb:');
define('ENTRY_SUBURB_ERROR', '');
define('ENTRY_SUBURB_TEXT', '');
define('ENTRY_POST_CODE', 'Post Code:');
define('ENTRY_POST_CODE_ERROR', 'Your Post Code must contain a minimum of ' . ENTRY_POSTCODE_MIN_LENGTH . ' characters.');
define('ENTRY_POST_CODE_TEXT', '*');
define('ENTRY_CITY', 'City:');
define('ENTRY_CITY_ERROR', 'Your City must contain a minimum of ' . ENTRY_CITY_MIN_LENGTH . ' characters.');
define('ENTRY_CITY_TEXT', '*');
define('ENTRY_STATE', 'State/Province:');
define('ENTRY_STATE_ERROR', 'Your State must contain a minimum of ' . ENTRY_STATE_MIN_LENGTH . ' characters.');
define('ENTRY_STATE_ERROR_SELECT', 'Please select a state from the States pull down menu.');
define('ENTRY_STATE_TEXT', '*');
define('ENTRY_COUNTRY', 'Country:');
define('ENTRY_COUNTRY_ERROR', 'You must select a country from the Countries pull down menu.');
define('ENTRY_COUNTRY_TEXT', '*');
define('ENTRY_TELEPHONE_NUMBER', 'Telephone Number:');
define('ENTRY_TELEPHONE_NUMBER_ERROR', 'Your Telephone Number must contain a minimum of ' . ENTRY_TELEPHONE_MIN_LENGTH . ' characters.');
define('ENTRY_TELEPHONE_NUMBER_TEXT', '*');
define('ENTRY_FAX_NUMBER', 'Fax Number:');
define('ENTRY_FAX_NUMBER_ERROR', '');
define('ENTRY_FAX_NUMBER_TEXT', '');
define('ENTRY_NEWSLETTER', 'Newsletter:');
define('ENTRY_NEWSLETTER_TEXT', '');
define('ENTRY_NEWSLETTER_YES', 'Subscribed');
define('ENTRY_NEWSLETTER_NO', 'Unsubscribed');
define('ENTRY_NEWSLETTER_ERROR', '');
define('ENTRY_PASSWORD', 'Password:');
define('ENTRY_PASSWORD_ERROR', 'Your Password must contain a minimum of ' . ENTRY_PASSWORD_MIN_LENGTH . ' characters.');
define('ENTRY_PASSWORD_ERROR_NOT_MATCHING', 'The Password Confirmation must match your Password.');
define('ENTRY_PASSWORD_TEXT', '*');
define('ENTRY_PASSWORD_CONFIRMATION', 'Password Confirmation:');
define('ENTRY_PASSWORD_CONFIRMATION_TEXT', '*');
define('ENTRY_PASSWORD_CURRENT', 'Current Password:');
define('ENTRY_PASSWORD_CURRENT_TEXT', '*');
define('ENTRY_PASSWORD_CURRENT_ERROR', 'Your Password must contain a minimum of ' . ENTRY_PASSWORD_MIN_LENGTH . ' characters.');
define('ENTRY_PASSWORD_NEW', 'New Password:');
define('ENTRY_PASSWORD_NEW_TEXT', '*');
define('ENTRY_PASSWORD_NEW_ERROR', 'Your new Password must contain a minimum of ' . ENTRY_PASSWORD_MIN_LENGTH . ' characters.');
define('ENTRY_PASSWORD_NEW_ERROR_NOT_MATCHING', 'The Password Confirmation must match your new Password.');
define('PASSWORD_HIDDEN', '--HIDDEN--');

define('FORM_REQUIRED_INFORMATION', '* Required information');

// constants for use in tep_prev_next_display function
define('TEXT_RESULT_PAGE', 'Result Pages:');
define('TEXT_DISPLAY_NUMBER_OF_PRODUCTS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> products)');
define('TEXT_DISPLAY_NUMBER_OF_ORDERS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> orders)');
define('TEXT_DISPLAY_NUMBER_OF_REVIEWS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> reviews)');
define('TEXT_DISPLAY_NUMBER_OF_PRODUCTS_NEW', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> new products)');
define('TEXT_DISPLAY_NUMBER_OF_SPECIALS', 'Displaying <b>%d</b> to <b>%d</b> (of <b>%d</b> specials)');

define('PREVNEXT_TITLE_FIRST_PAGE', 'First Page');
define('PREVNEXT_TITLE_PREVIOUS_PAGE', 'Previous Page');
define('PREVNEXT_TITLE_NEXT_PAGE', 'Next Page');
define('PREVNEXT_TITLE_LAST_PAGE', 'Last Page');
define('PREVNEXT_TITLE_PAGE_NO', 'Page %d');
define('PREVNEXT_TITLE_PREV_SET_OF_NO_PAGE', 'Previous Set of %d Pages');
define('PREVNEXT_TITLE_NEXT_SET_OF_NO_PAGE', 'Next Set of %d Pages');
define('PREVNEXT_BUTTON_FIRST', '<<FIRST');
define('PREVNEXT_BUTTON_PREV', '[<< Prev]');
define('PREVNEXT_BUTTON_NEXT', '[Next >>]');
define('PREVNEXT_BUTTON_LAST', 'LAST>>');

define('IMAGE_BUTTON_ADD_ADDRESS', 'Add Address');
define('IMAGE_BUTTON_ADDRESS_BOOK', 'Address Book');
define('IMAGE_BUTTON_BACK', 'Back');
define('IMAGE_BUTTON_BUY_NOW', 'Buy Now');
define('IMAGE_BUTTON_CHANGE_ADDRESS', 'Change Address');
define('IMAGE_BUTTON_CHECKOUT', 'Checkout');
define('IMAGE_BUTTON_CONFIRM_ORDER', 'Confirm Order');
define('IMAGE_BUTTON_CONTINUE', 'Continue');
define('IMAGE_BUTTON_CONTINUE_SHOPPING', 'Continue Shopping');
define('IMAGE_BUTTON_DELETE', 'Delete');
define('IMAGE_BUTTON_EDIT_ACCOUNT', 'Edit Account');
define('IMAGE_BUTTON_HISTORY', 'Order History');
define('IMAGE_BUTTON_LOGIN', 'Sign In');
define('IMAGE_BUTTON_IN_CART', 'Add to Cart');
define('IMAGE_BUTTON_NOTIFICATIONS', 'Notifications');
define('IMAGE_BUTTON_QUICK_FIND', 'Quick Find');
define('IMAGE_BUTTON_REMOVE_NOTIFICATIONS', 'Remove Notifications');
define('IMAGE_BUTTON_REVIEWS', 'Reviews');
define('IMAGE_BUTTON_SEARCH', 'Search');
define('IMAGE_BUTTON_SHIPPING_OPTIONS', 'Shipping Options');
define('IMAGE_BUTTON_TELL_A_FRIEND', 'Tell a Friend');
define('IMAGE_BUTTON_UPDATE', 'Update');
define('IMAGE_BUTTON_UPDATE_CART', 'Update Cart');
define('IMAGE_BUTTON_WRITE_REVIEW', 'Write Review');

define('SMALL_IMAGE_BUTTON_DELETE', 'Delete');
define('SMALL_IMAGE_BUTTON_EDIT', 'Edit');
define('SMALL_IMAGE_BUTTON_VIEW', 'View');

define('ICON_ARROW_RIGHT', 'more');
define('ICON_CART', 'In Cart');
define('ICON_ERROR', 'Error');
define('ICON_SUCCESS', 'Success');
define('ICON_WARNING', 'Warning');

define('TEXT_GREETING_PERSONAL', 'Welcome back <span class="greetUser">%s!</span> Would you like to see which <a href="%s"><u>new products</u></a> are available to purchase?');
define('TEXT_GREETING_PERSONAL_RELOGON', '<small>If you are not %s, please <a href="%s"><u>log yourself in</u></a> with your account information.</small>');
define('TEXT_GREETING_GUEST', 'Welcome <span class="greetUser">Guest!</span> Would you like to <a href="%s"><u>log yourself in</u></a>? Or would you prefer to <a href="%s"><u>create an account</u></a>?');

define('TEXT_SORT_PRODUCTS', 'Sort products ');
define('TEXT_DESCENDINGLY', 'descendingly');
define('TEXT_ASCENDINGLY', 'ascendingly');
define('TEXT_BY', ' by ');

define('TEXT_REVIEW_BY', 'by %s');
define('TEXT_REVIEW_WORD_COUNT', '%s words');
define('TEXT_REVIEW_RATING', 'Rating: %s [%s]');
define('TEXT_REVIEW_DATE_ADDED', 'Date Added: %s');
define('TEXT_NO_REVIEWS', 'There are currently no product reviews.');

define('TEXT_NO_NEW_PRODUCTS', 'There are currently no products.');

define('TEXT_UNKNOWN_TAX_RATE', 'Unknown tax rate');

define('TEXT_REQUIRED', '<span class="errorText">Required</span>');

define('ERROR_TEP_MAIL', '<font face="Verdana, Arial" size="2" color="#ff0000"><b><small>TEP ERROR:</small> Cannot send the email through the specified SMTP server. Please check your php.ini setting and correct the SMTP server if necessary.</b></font>');
define('WARNING_INSTALL_DIRECTORY_EXISTS', 'Warning: Installation directory exists at: ' . dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/install. Please remove this directory for security reasons.');
define('WARNING_CONFIG_FILE_WRITEABLE', 'Warning: I am able to write to the configuration file: ' . dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME']) . '/includes/configure.php. This is a potential security risk - please set the right user permissions on this file.');
define('WARNING_SESSION_DIRECTORY_NON_EXISTENT', 'Warning: The sessions directory does not exist: ' . tep_session_save_path() . '. Sessions will not work until this directory is created.');
define('WARNING_SESSION_DIRECTORY_NOT_WRITEABLE', 'Warning: I am not able to write to the sessions directory: ' . tep_session_save_path() . '. Sessions will not work until the right user permissions are set.');
define('WARNING_SESSION_AUTO_START', 'Warning: session.auto_start is enabled - please disable this php feature in php.ini and restart the web server.');
define('WARNING_DOWNLOAD_DIRECTORY_NON_EXISTENT', 'Warning: The downloadable products directory does not exist: ' . DIR_FS_DOWNLOAD . '. Downloadable products will not work until this directory is valid.');

define('TEXT_CCVAL_ERROR_INVALID_DATE', 'The expiry date entered for the credit card is invalid.<br>Please check the date and try again.');
define('TEXT_CCVAL_ERROR_INVALID_NUMBER', 'The credit card number entered is invalid.<br>Please check the number and try again.');
define('TEXT_CCVAL_ERROR_UNKNOWN_CARD', 'The first four digits of the number entered are: %s<br>If that number is correct, we do not accept that type of credit card.<br>If it is wrong, please try again.');

/*
 The following copyright announcement can only be
 appropriately modified or removed if the layout of
 the site theme has been modified to distinguish
 itself from the default osCommerce-copyrighted
 theme.

 For more information please read the following
 Frequently Asked Questions entry on the osCommerce
 support site:

 http://www.oscommerce.com/community.php/faq,26/q,50

 Please leave this comment intact together with the
 following copyright announcement.
*/
define('FOOTER_TEXT_BODY', 'Copyright © 2003 <a href="http://www.oscommerce.com" target="_blank">osCommerce</a><br>Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a>');
?>

 

 

paste this.

 

jaz

Posted
Here is the code from includes/languages/english.php

 

Does it look normal?

 

Actually that looks like you may have overwritten the

 

/includes/languages/english.php

 

with the

 

/admin/includes/languages/english.php

 

I concur with Jaz's suggestion. Download a fresh copy of osc to your PC. Create a directory for it and unzip it there. My suggestion if you are using Windows at home would be to create a folder like c:\oscommerce\ . (Creating it as a folder in My Documents can make for some extremely long pathnames and I have seen that ulitimately cause problems.) Then upload a fresh copy from your PC from

 

c:\oscommerce\catalog\includes\languages\english.php

 

to your server at

 

/includes/languages/english.php

Rule #1: Without exception, backup your database and files before making any changes to your files or database.

Rule #2: Make sure there are no exceptions to Rule #1.

Posted
:lol: :thumbsup: (w00t) :*

 

IT WORKED!!!!!!!!!!!!

 

JAZ YOU ARE MY HERO!!!!!!!

THANK YOU! THANK YOU! THANK YOU!

 

 

HI

 

i know how difficult it is when you mess up and then when you get an answer it all seem to be written in chinese. I only touched a computer for the first time 1 year ago and only been using osc for 3 months. Havent slept though.

 

jaz

Posted

Great News!

 

Now, for the future, please keep in mind the number one rule of applying contributions. Always backup any file you are about to modify. No matter how minor the change, it can save you a lot of grief.

Rule #1: Without exception, backup your database and files before making any changes to your files or database.

Rule #2: Make sure there are no exceptions to Rule #1.

Posted

MIKE & JAZ!!!!!!!!!!!

 

 

YOU GUYS ARE SOOOOOOOOOOOO AWESOME....I'M GOING TO TAKE ALL ADVICE AND INSTALL THIS ORIGINAL OSCOMMERCE ON MY COMPUTER SO I CAN ALWAYS HAVE IT!!!!!!!!!!!!!!!!!!!!!

 

 

 

YOU ARE MY HEROES!

Posted
I'M GOING TO TAKE ALL ADVICE AND INSTALL THIS ORIGINAL OSCOMMERCE ON MY COMPUTER SO I CAN ALWAYS HAVE IT!!!!!!!!!!!!!!!!!!!!!

 

Just one thing, installing it on a PC is a whole other topic (and not a bad one, there are a number of threads discussing how to do this), but in this case all that is really needed is to unzip the files into a folder as described. And as you start applying contribuitons, it is still necessary to have file and database backups of your last stable setup. That way you don't have to start over from square one if something goes wrong while doing something new to it.

Rule #1: Without exception, backup your database and files before making any changes to your files or database.

Rule #2: Make sure there are no exceptions to Rule #1.

Posted
Just one thing, installing it on a PC is a whole other topic (and not a bad one, there are a number of threads discussing how to do this), but in this case all that is really needed is to unzip the files into a folder as described. And as you start applying contribuitons, it is still necessary to have file and database backups of your last stable setup. That way you don't have to start over from square one if something goes wrong while doing something new to it.

 

This is excellent advice (two days too late for me :blush: ). I tried installing the IPN contribution and have absolutely wrecked my store in the process. I tried replacing all the modified files with the originals but there are still problems. I keep getting 'file not found' errors - both in messages and 404 browser errors but the files are exactly where the errors say they aren't.

 

I don't have a clue what to do. The backup I THOUGHT I did through my ISP wasn't complete. So I'm in trouble. Heed the wise advice. I wish I had!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...