Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need Help With Minor Parse Error


drbarry10

Recommended Posts

Posted

I was attempting to replace the "osCommerce" title tag that is displayed at the top of my browser. I found what I believed to be the correct file in includes/languages/english.php. I made the following changes to the following files:

In the includes/languages/english.php file

// page title

define('TITLE', 'osCommerce'); I changed the osCommerce to the business name.

 

To the index.php file I added

<meta name="keywords" content="....> and

<meta name="description" content=".....> to the head portion of the file.

 

To the includes/header.php

"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerce.gif', 'company name') . '</a>'; ?>

 

After getting this error: Parse error: parse error in /var/www/html/includes/languages/english.php on line 79

I attempted to return each file to its original state.

 

In addition to the error message, all the Headings appear as 'HEADER_TITLE_CREATE_ACCOUNT' rather than "Creat an Account" and so on.

 

The url of the website is www.copperlawnsprinkler.com if you want to see what I'm trying to describe.

I have a "little" knowledge of php and was making a few minor changes to this site for a friend. Now I'm really in a bind.

Thanks in advance for any help you can provide.

Posted

Are you using the file manager that comes with osCommerce? If so that will be your problem.

 

Edit files by downloading them to your computer, editing with whatever editer you have including notepad, then reuploading them to where they belong.

Wendy James

 

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

Posted
Are you using the file manager that comes with osCommerce? If so that will be your problem.

 

Edit files by downloading them to your computer, editing with whatever editer you have including notepad, then reuploading them to where they belong.

Yes. I'm using the file manager. I've never used osCommerce before. I guess all I can do now is download from the file manager and upload them again. Right?

Posted
Yes. I'm using the file manager. I've never used osCommerce before. I guess all I can do now is download from the file manager and upload them again. Right?

Thanks for the help but I'm still getting the same error message.

Archived

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

×
×
  • Create New...