Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Help please..tried to change header...now this!


Jean

Recommended Posts

I was trying to change my header to say "Home" instead of "Top". I followed the instructions to go under "catalog/includes/language/english.php"

There I scrolled down and changed the wording from Top to Home, and Catalog to Store. Back on the website, now when I click on Store, I get this error page:

Parse error: parse error, unexpected T_STRING in /home/vertical/public_html/estore/includes/languages/english.php on line 148

 

I went back and changed the word back to top and catalog, and I'm STILL getting the error message! I thought I changed back EXACTLY the way it was. Why is it still not working and what can I do to fix it? The website is www.verticalriverdesigns.com. The wording reads:

 

// page title

define('TITLE', 'Vertical River Designs Online Store');

 

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

// model prefix

define('MODEL_PREFIX', 'Item #');

 

Thanks for your help. If it's easier to do a restore I will, but have never done that before.

 

-Jeanie

Link to comment
Share on other sites

Restore that file with an unedited copy, and the next time you edit it do so by downloading and editing it in a plain text editor like Notepad. The error has been caused by using the osCommerce File Manager, which should not be used.

 

Vger

Link to comment
Share on other sites

Restore that file with an unedited copy, and the next time you edit it do so by downloading and editing it in a plain text editor like Notepad. The error has been caused by using the osCommerce File Manager, which should not be used.

 

Vger

 

Thanks Vger. I understand now. I am completely new to this. Can you direct me in how to restore the file? I'm afraid I did not backup before I made the change. Is there still hope? Do I restore from File Manager?

 

-Jeanie

Link to comment
Share on other sites

Go to thw downloads section at www.oscommerce.com and download the osCommerce 2.2 MS2 zip file, and unzip on your computer. The 'catalog' folder has a complete set of unedited files. Take the one you need and upload via FTP.

 

Vger

Link to comment
Share on other sites

Go to thw downloads section at www.oscommerce.com and download the osCommerce 2.2 MS2 zip file, and unzip on your computer. The 'catalog' folder has a complete set of unedited files. Take the one you need and upload via FTP.

 

Vger

 

Vger, it worked! Thank you so much! You have saved the day for me!

 

-Jeanie

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...