HighTide Posted December 17, 2005 Posted December 17, 2005 Hi, I'm a total newbie and I just registered to osCommerce Forums today. I read the main page of OSC and it said to edit the fields between define ('TEXT_MAIN', 'THIS PART'); But when I do so, I get an error saying: Parse error: parse error, unexpected T_STRING in /home/amerizea/public_html/osCommerce/catalog/includes/languages/english/index.php on line 19 I deleted everything in TEXT_MAIN so it was like this: define('TEXT_MAIN', 'Hi.'); define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s'); define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products'); define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected'); Did I do everything right? Did I forget a step? Thank you, HighTide
Guest Posted December 17, 2005 Posted December 17, 2005 You probably used the file manager to edit the file - it removes backslashes from text like this: what\'s The backslashes are needed to tell PHP to ignore the quote as a special character. Download the file and use a plain text editor like notepad or a programmer's text editor to edit the file, then upload it to your server. This question is answered at least ten times a day - you really should learn to use the forum search function :-" Thanks! :D Matti
HighTide Posted December 18, 2005 Author Posted December 18, 2005 Thank you, and I will use the serach function from now on.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.