Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Parse error: parse error, unexpected T_STRING


thomaslynn

Recommended Posts

OK, you pros,

 

here's the problem:

 

 

Parse error: parse error, unexpected T_STRING in /www/s/sacredvoice/htdocs/oscommerce/catalog/includes/languages/english/index.php on line 22

 

And here's my file:

 

<?php

/*

$Id: index.php,v 1.1 2003/06/11 17:38:00 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright ? 2003 osCommerce

 

Released under the GNU General Public License

*/

 

 

define('TEXT_MAIN', '');

define('TABLE_HEADING_NEW_PRODUCTS', 'New Products For %s');

define('TABLE_HEADING_UPCOMING_PRODUCTS', 'Upcoming Products');

define('TABLE_HEADING_DATE_EXPECTED', 'Date Expected');

 

if ( ($category_depth == 'products') ||

(isset($HTTP_GET_VARS['manufacturers_id'])

 

define('HEADING_TITLE', 'Welcome to the Sacred Voice');

define('TABLE_HEADING_IMAGE', '');

define('TABLE_HEADING_MODEL', 'Model');

define('TABLE_HEADING_PRODUCTS', 'Product Name');

define('TABLE_HEADING_MANUFACTURER', 'Manufacturer');

define('TABLE_HEADING_QUANTITY', 'Quantity');

define('TABLE_HEADING_PRICE', 'Price');

define('TABLE_HEADING_WEIGHT', 'Weight');

define('TABLE_HEADING_BUY_NOW', 'Buy Now');

define('TEXT_NO_PRODUCTS', 'There are no products to list in this category.');

define('TEXT_NO_PRODUCTS2', 'There is no product available from this manufacturer.');

define('TEXT_NUMBER_OF_PRODUCTS', 'Number of Products: ');

define('TEXT_SHOW', '<b>Show:</b>');

define('TEXT_BUY', 'Buy 1 '');

define('TEXT_NOW', '' now');

define('TEXT_ALL_CATEGORIES', 'All Categories');

define('TEXT_ALL_MANUFACTURERS', 'All Manufacturers');

} elseif ($category_depth == 'top') {

define('HEADING_TITLE', 'What's New Here?');

} elseif ($category_depth == 'nested') {

define('HEADING_TITLE', 'Categories');

}

?>

Link to comment
Share on other sites

define('HEADING_TITLE', 'What's New Here?');

should be

define('HEADING_TITLE', 'What\'s New Here?');

 

Do not use the file manager to edit pages. It removes the \ and does other things.

whenever editing a file download it using an ftp program, then upload it back

Wendy James

 

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

Link to comment
Share on other sites

define('HEADING_TITLE', 'What's New Here?');

should be

define('HEADING_TITLE', 'What\'s New Here?');

 

Do not use the file manager to edit pages. It removes the \ and does other things.

whenever editing a file download it using an ftp program, then upload it back

Thanks Wendy.

 

After viewing a number of other posts, I finally figured it out.

 

Yes, now I use FTP program only for changing files.

 

My original site was built with MS FrontPage, but I am determined to move to a more advanced design model for my clients, and esp. offer a shopping cart within a secure environment.

 

Having never used PHP before, I'm really feeling overwhelmed. I appreciated reading your kind suggestions to get us newbies started. Any other help will be rewarded (probably in another lifetime, but you get the idea, I hope!).

:rolleyes:

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...