Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problems with english/index.php


moodsoft

Recommended Posts

Posted

Hi all,

 

In catalog//includes/languages/english/index.php I have changed the TEXT_MAIN line to the following:

 

define('TEXT_MAIN', 'Welcome to the BookBrother Order Site. This shop is running on osCommerce version <font color="#f0000"><b>' . PROJECT_VERSION . '</b></font>.');

 

I haven't changed any of the other code in this file. But when visiting the page I get the following error:

 

Parse error: parse error, unexpected T_STRING in /usr/local/psa/home/vhosts/booksbrothers.net/httpdocs/catalog/includes/languages/english/index.php on line 19

 

Line 18 and 19 have not changed, as far as I can tell.

 

I have made some other changes to the system, as this will be a book selling site so a lot of the fields are not needed.

 

Can someone suggest why I may be getting this error?

 

If I replace the TEXT_MAIN line, with the one "out of the box" the page comes up perfectly.

 

Chris

Archived

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

×
×
  • Create New...