Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Define This!


AllTheAbove

Recommended Posts

Ok.. Seems that some contrib I installed changed pretty much everything on my site and I have had to go in and manually define just about every php file, every table and every text. This is really Really REALLY getting annoying.

 

Anyway, I am trying to define the text that shows when someone wants to create an account. I know its in english.php (at least thats where everything else has been). Problem I am running into is that from what I can tell, it is already defined, yet it is showing up at TEXT_FIRST_NAME type thing.

 

Here is the link

https://alltheabovew.secure.powweb.com/cata...ate_account.php

 

and here is the code that I *THINK* applies to it.

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

 

If I am totally off, please let me know. Everything is starting to get all jumbled in my head. Just when I think I have FINALLY defined the last file, table and text, MORE pops up. I wish I knew which contrib did this!

 

Thanks for any help

Lori

Link to comment
Share on other sites

If the code is present there then I would suggest re-installing the root level create_account.php file.

 

Also make sure that in the file you posted that there is a closing php tag at the bottom of the file ?>

 

Vger

Link to comment
Share on other sites

If the code is present there then I would suggest re-installing the root level create_account.php file.

 

Also make sure that in the file you posted that there is a closing php tag at the bottom of the file ?>

 

Vger

 

Thanks Vger.. I ended up just replacing the English.php file as every page was showing undefined text. No clue what lovely contrib screwed it up, but it doesn't seem to have adversely effected it by putting the original back in.

 

Well, I'm off to make my site "cute yet professional" *ugh*

 

Lori

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...