acrylic-display Posted January 23, 2006 Posted January 23, 2006 Hi, I have tried to access my admin area today but I keep on getting this error. Parse error: syntax error, unexpected T_STRING in /home/acrylic/public_html/admin/includes/languages/english.php on line 108 I have accessed the admin area within the last couple of days and its been fine and I have not changed any of my files. Can anyone help as to why this is happening? Thanks Adam
mtechama Posted January 23, 2006 Posted January 23, 2006 Hi, I have tried to access my admin area today but I keep on getting this error. Parse error: syntax error, unexpected T_STRING in /home/acrylic/public_html/admin/includes/languages/english.php on line 108 I have accessed the admin area within the last couple of days and its been fine and I have not changed any of my files. Can anyone help as to why this is happening? Thanks Adam ok look into your PHP editor /admin/includes/languages/english.php and look on line 108 and tell me what it says Wade Morris Amarillo, Texas Before you do any changes on your site you need to do BACKUP! BACKUP!
acrylic-display Posted January 23, 2006 Author Posted January 23, 2006 This is what line 108 says. define('BOX_TOOLS_WHOS_ONLINE', 'Who's Online'); Thanks
mtechama Posted January 23, 2006 Posted January 23, 2006 I agree with mark, you need to change it from this: define('BOX_TOOLS_WHOS_ONLINE', 'Who's Online'); to this: define('BOX_TOOLS_WHOS_ONLINE', 'Who'\s Online'); Wade Morris Amarillo, Texas Before you do any changes on your site you need to do BACKUP! BACKUP!
acrylic-display Posted January 24, 2006 Author Posted January 24, 2006 Hi I have changed that but is is now saying the same things for the lines below 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:'); There seems to be a problem with ( ' ' ) around the words. This has never happened before and I have not even changed this file. I use Dreamweaver MX the edit my work Thanks Adam
acrylic-display Posted February 6, 2006 Author Posted February 6, 2006 Hi does anyone know how I can solve this problem? I think there is a problem with the ' around the words. When I open it in dreamweaver all the words between ' ' are all showing in black but all the rest are in red. When i delete the ' ' all the words show in red and the admin works but not fully as as the bottom shows TEXT_DISPLAY_NUMBER_OF_CUSTOMERS PREVNEXT_BUTTON_PREV TEXT_RESULT_PAGE PREVNEXT_BUTTON_NEXT insted of the buttons. I know this is very confusing but if someone could help I would really appreciate it. Thanks Adam
Recommended Posts
Archived
This topic is now archived and is closed to further replies.