chrometweaks.org

Do iPage.com Accepts Egypt Credit card "VISA" ?

Click Here To View All Answers...


First off, Do iPage.com Accepts Egypt Credit card "VISA" ? Many thanks for any answer. Second question.. Am I missing something silly ? .

My new site.

My Webpage.

Www.cesexeter.org.uk has gone blank on me..

All the information is there in admin or ftp, I have scoured every file using admin/file manager and checked the date last modified (this only hapened yesterday or today) It was fine last night. The only thing I changed yesterday was the default iPage site title in /languages/english.php from define('TITLE', 'osCommerce');.

To define('TITLE', 'cesexeter'); It seems to have happened then, but I have changed it back to the default to no avail..

Would someone be good enough to paste a default /languages/english.php file so I can check it, or maybe point me to where the problem may lie..

Thanks..

Davec..

Comments (55)

Good question... I dunno what is the answer. I'll do some Googling and get back to you if I got an good answer. You should email the people at iPage as they probably could answer your iPage question..

Comment #1

Yes, the main index.php file is there and includes/languages/english/index.php is there, both seem ok and have not been modified recently..

Thanks for the replies so far..

Dave...

Comment #2

Here's the file I modified: includes/languages/english.php.

I can't see anything obvious wrong there :?.

<?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 © 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>&nbsp;&nbsp;');.

// 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.nnPlease make the following corrections:nn');.

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', '&lt;&lt;FIRST');.

Define('PREVNEXT_BUTTON_PREV', '[&lt;&lt;&nbsp;Prev]');.

Define('PREVNEXT_BUTTON_NEXT', '[Next&nbsp;&gt;&gt;]');.

Define('PREVNEXT_BUTTON_LAST', 'LAST&gt;&gt;');.

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 iPage 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.oscommerc...php/faq,26/q,50.

Please leave this comment intact together with the.

Following copyright announcement..

*/.

Define('FOOTER_TEXT_BODY', 'Copyright &copy; 2003 <a href="http://www.oscommerce.com" target="_blank">osCommerce</a><br>Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a>');.

?>..

Comment #3

Does the english.php exist in the correct place as I bypassed your index.php by going here.

Click.

And was able to see all the box text such as BOX_HEADING_CATEGORIES.

You may want to change the text for your currency as not all customers will know that GBP stands for british pounds maybe UK Pounds.

This post has been edited by.

241.

: 31 March 2004, 22:32..

Comment #4

To further my post does your iPage site have administration in the breadcrumb as a replacement to Top and is this a part of your index.php..

Comment #5

Yes that is part of the index.php file. It may be there now as I copied the english.php file from.

Http://cvs.oscommerce.com/.

Which has returned it. Although he box titles are incorrect at least the homepage returned..

As an experiment (now I have back up) I changed the title again, and once again the home page goes blank..

Most odd..

Dave...

Comment #6

Ok I have found out that your breadcrumb does normally say Top.

So it looks like at some point something from your admin side may have been mixed up with your catalog side.

I was getting a bit of a hit and miss but this may have been due to you making changes..

Your title says the exchange project I thought that that was what the osc was called in the early days..

I see that you also have the nnnnnnnn issue as well in categories.

This post has been edited by.

241.

: 31 March 2004, 22:51..

Comment #7

Anyway what have you got in the way of refrigeration spares had a call today from someone whom punctured the inside of the freezer box, they said it made a lovely hissing sound.

Have you thought about making these changes to make a more uk feel to the cart.

English Default.

Catalog/includes/languages/english.php line# 19-45.

@setlocale(LC_TIME, 'en_UK.ISO_8859-1');.

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

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

Define('DATE_FORMAT', 'd/m/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 dd/mm/yyyy.

// raw date is in format YYYYMMDD, or DDMMYYYY.

Function tep_date_raw($date, $reverse = false) {.

If ($reverse) {.

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

} else {.

  return substr($date, 6, 4)substr($date, 3, 2)substr($date, 0, 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', 'GBP');.

// Global entries for the <html> tag.

Define('HTML_PARAMS','dir="LTR" lang="en"');.

// charset for web pages and emails.

Define('CHARSET', 'iso-8859-1');.

Then Line# 73.

Define('DOB_FORMAT_STRING', 'dd/mm/yyyy');.

Then line# 186-187.

Define('ENTRY_DATE_OF_BIRTH_ERROR', 'Your Date of Birth must be in this format: DD/MM/YYYY (eg 21/05/1970)');.

Define('ENTRY_DATE_OF_BIRTH_TEXT', '* (eg. 21/05/1970)');.

All line numbers are approximates as my code is modified..

This post has been edited by.

241.

: 31 March 2004, 22:57..

Comment #8

Possibly, I just copied/pasted the whole text across form one of the english.php copies. That's what I was trying to change in the first place (the title, from osCommerce to my own title), but, even now if I change "The exchange project" to anything else....blank home page again..

Perhaps if I edit the file and ftp it instead of copy/past in admin it may work, I'll check tomorrow..

Ta for all the help btw.

Dave...

Comment #9

LOL.

If they've puntured the internal pipework, nothing can be done I'm afraid. It's actually not uncommon for this as people tend to use sharp "tools" i.e. a knife to try and get rid of the ice, then oops.

Dave...

Comment #10

I placed an addition to my last post that you may have missed go back to my last post it may be of some interest to you..

If you have been using the online file manager to do the edits that is probably your problem in a nutshell there are known issues with editing online using the file manager, it is much better to ftp the file to a local machine, do the edit and then ftp back up again..

Known issues for the online file manager are corruption of data as you are having also removal of backslashes from code which results in a parse error and addition of whitespace or blank lines which can cause the headers allready sent error..

What version osc is installed 2.1 or 2.2MS2 this can be found out from looking at applications_top.php.

Funny that you should mention a knife as that is exactly what they said they had used and I gave them the same reply that you just gave.

This post has been edited by.

241.

: 31 March 2004, 23:04..

Comment #11

Here is an english.php for osc 2.2MS2 with the uk bits done to it and cesexeter as the title.

<?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_UK.ISO_8859-1');.

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

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

Define('DATE_FORMAT', 'd/m/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 dd/mm/yyyy.

// raw date is in format YYYYMMDD, or DDMMYYYY.

Function tep_date_raw($date, $reverse = false) {.

If ($reverse) {.

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

} else {.

  return substr($date, 6, 4)substr($date, 3, 2)substr($date, 0, 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', 'GBP');.

// 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', 'cesexeter');.

// 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', 'dd/mm/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>&nbsp;&nbsp;');.

// 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: DD/MM/YYYY (eg 21/05/1970)');.

Define('ENTRY_DATE_OF_BIRTH_TEXT', '* (eg. 21/05/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', '&lt;&lt;FIRST');.

Define('PREVNEXT_BUTTON_PREV', '[&lt;&lt;&nbsp;Prev]');.

Define('PREVNEXT_BUTTON_NEXT', '[Next&nbsp;&gt;&gt;]');.

Define('PREVNEXT_BUTTON_LAST', 'LAST&gt;&gt;');.

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 iPage 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 &copy; 2003 <a href="http://www.oscommerce.com" target="_blank">osCommerce</a><br>Powered by <a href="http://www.oscommerce.com" target="_blank">osCommerce</a>');.

?>.

Enjoy..

Comment #12

Thanks.

I ftp'd the file you posted and it's ok now, except the box titles are still wrong for some reason.

I can sort that out though (hopefully)..

The only reason I was using the online editor is I recently changed isp and to dsl with a static ip and the guy I know who hosts the iPage site has restricted access to certain ip ranges through his firewall for security reasons, I forgot to tell him my new one.

I'll stick to ftp only from now on.

I read somewhere that the row of n's down the left hand side of category sub sections is a bug, is there an easy fix ? .

Dave...

Comment #13

Can I get you to check which version you have installed and is it on a windows or *nix server..

Comment #14

Yep, server info :.

Server OS: Linux 2.2.26 Database: MySQL 4.0.18.

Server Date: 04/01/2004 21:42:18 Datebase Date: 04/01/2004 21:42:18.

Server Up Time: 9:42pm up 0 min, 0 users, load average: 0.00, 0.00, 0.00.

HTTP Server: Apache/1.3.29 Ben-SSL/1.52 (Unix) PHP/4.3.5.

PHP Version: 4.3.5 (Zend: 1.3.0).

From application_top.php:.

// define the project version.

Define('PROJECT_VERSION', 'osCommerce 2.2-MS2');.

Also says at the top:.

$Id: application_top.php,v 1.280 2003/07/12 09:38:07 hpdl Exp $.

Is that the ifo you mean ? .

Cheers...

Comment #15

Yes that is the info..

The code I supplied should have dealt with the BOX text issue as it contains all the defines..

Comment #16

It has now I have cleared the cache in "cache control"..

I'm just left with those damn n's now in sub category sections..

Dave...

Comment #17

There is a good chance that your index.php has been corrupted from editing with the file manager..

There may be instances of n that have not been escaped with the backslash such as this for example.

$rows++;.

$cPath_new = tep_get_path($categories['categories_id']);.

$width = (int)(100 / MAX_DISPLAY_CATEGORIES_PER_ROW)'%';.

Echo ' <td align="center" class="smallText" width="'$width'" valign="top"><a href="'tep_href_link(FILENAME_DEFAULT, $cPath_new)'">'tep_image(DIR_WS_IMAGES$categories['categories_image'], $categories['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT)'<br>'$categories['categories_name']'</a></td>'"\n";.

If ((($rows / MAX_DISPLAY_CATEGORIES_PER_ROW) == floor($rows / MAX_DISPLAY_CATEGORIES_PER_ROW)) && ($rows != $number_of_categories)) {.

Echo ' </tr>'"\n";.

Echo ' <tr>'"\n";.

And here.

Echo tep_draw_pull_down_menu('filter_id', $options, (isset($HTTP_GET_VARS['filter_id']) ? $HTTP_GET_VARS['filter_id'] : ''), 'onchange="this.form.submit()"');.

Echo '</form></td>'"\n";.

These codes should be located around the filters.

This post has been edited by.

241.

: 01 April 2004, 21:55..

Comment #18

Am I missing something silly ? .

My new site.

My Webpage.

Www.cesexeter.org.uk has gone blank on me..

All the information is there in admin or ftp, I have scoured every file using admin/file manager and checked the date last modified (this only hapened yesterday or today) It was fine last night. The only thing I changed yesterday was the default iPage site title in /languages/english.php from define('TITLE', 'osCommerce');.

To define('TITLE', 'cesexeter'); It seems to have happened then, but I have changed it back to the default to no avail..

Would someone be good enough to paste a default /languages/english.php file so I can check it, or maybe point me to where the problem may lie..

Thanks..

Davec..

Comment #19

<?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, <b>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><table border="0" width="100%" cellspacing="5" cellpadding="2"><tr><td class="main" valign="top">'tep_image(DIR_WS_IMAGES'default/1.gif')'</td><td class="main" valign="top"><b>Error Messages</b><br><br>If there are any error or warning messages shown above, please correct them first before proceeding.<br><br>Error messages are displayed at the very top of the page with a complete <span class="messageStackError">background</span> color.<br><br>Several checks are performed to ensure a healthy setup of your online store - these checks can be disabled by editing the appropriate parameters at the bottom of the includes/application_top.php file.</td></tr><td class="main" valign="top">'tep_image(DIR_WS_IMAGES'default/2.gif')'</td><td class="main" valign="top"><b>Editing Page Texts</b><br><br>The text shown here can be modified in the following file, on each language basis:<br><br><nobr class="messageStackSuccess">[path to catalog]/includes/languages/'$language'/'FILENAME_DEFAULT'</nobr><br><br>That file can be edited manually, or via the Administration Tool with the <nobr class="messageStackSuccess">Languages->'ucfirst($language)'->Define</nobr> or <nobr class="messageStackSuccess">Tools->File Manager</nobr> modules.<br><br>The text is set in the following manner:<br><br><nobr>define(\'TEXT_MAIN\', \'<span class="messageStackSuccess">This is a default setup of the osCommerce project...</span>\');</nobr><br><br>The text highlighted in green may be modified - it is important to keep the define() of the TEXT_MAIN keyword. To remove the text for TEXT_MAIN completely, the following example is used where only two single quote characters exist:<br><br><nobr>define(\'TEXT_MAIN\', \'\');</nobr><br><br>More information concerning the PHP define() function can be read <a href="http://www.php.net/define" target="_blank"><u>here</u></a>.</td></tr><tr><td class="main" valign="top">'tep_image(DIR_WS_IMAGES'default/3.gif')'</td><td class="main" valign="top"><b>Securing The Administration Tool</b><br><br>It is important to secure the Administration Tool as there is currently no security implementation available.</td></tr><tr><td class="main" valign="top">'tep_image(DIR_WS_IMAGES'default/4.gif')'</td><td class="main" valign="top"><b>Online Documentation</b><br><br>Online documentation can be read at the <a href="http://wiki.oscommerce.com" target="_blank"><u>osCommerce Wiki Documentation Effort</u></a> site.<br><br>Community support is available at the <a href="http://forums.oscommerce.com" target="_blank"><u>osCommerce Community Support Forums</u></a> site.</td></tr></table><br>If you wish to download the solution powering this shop, or if you wish to contribute to the osCommerce project, please visit the <a href="http://www.oscommerce.com" target="_blank"><u>support iPage site of osCommerce</u></a>. This shop is running on osCommerce version <font color="#f0000"><b>'PROJECT_VERSION'</b></font>.');.

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', 'Whats New Here.');.

} elseif ($category_depth == 'nested') {.

Define('HEADING_TITLE', 'Categories');.

}.

?>..

Comment #20


This question was taken from a support group/message board and re-posted here so others can learn from it.