Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Parse error: parse error, unexpected T_STRING in /


tiarrab

Recommended Posts

:'( I keep receiving this error after I edit index.php. I deleted the info that I added and I am still getting this error. It is now driving me crazy. I would gratefully appreciate some help. Below is what I have done:

 

define('TEXT_MAIN', 'Introducing Trendy Entourage a womens fashion accessory line created by an ambitious and eager female willing to give us unique and trendy ladies just what we want.<br><br>It is a trendy entourage, that is stylish and waiting to be shown off. Our line has a rainbow of colorful creations continuously growing and changing toward everdays fashion.<br><br>We use hand-crafted glass and distinguished beads-from ecstatic earrings to spunky necklaces.<br><br>Our cosmetic jewelry line is intended to make a statement.<br><br>We have not just stop there, we are also launching a line of hand-made celebrity picture collages.<br><br>Because everthing is handmade there is a limited production, so you can always consider yourself unique.<br><br>Our goal is to promote and create a positive image to show that dreams do come true...<br><br><b>We are currently building our site and adding to the inventory, so please continue to check back.</b><br><table border="0" width="100%" cellspacing="5" cellpadding="2"><tr><td class="main" valign="top">');

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', 'Let's See What We Have Here');

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

Make sure you put \ in front of every quote in the text you want to display.

 

example:

define('TEXT_MAIN', 'Escape \"quotes\" with slashes);

 

Also don't use the file manager in osCommerce admin. It's buggy

Forum search

Contributions search

Documentation search (note: docs being adapted for MS3, may be different for MS2)

3 tips for better forum searching

 

Want to post? Read this first:

osCommerce for dummies

Topic name etiquette

 

Basics:

Basics for design

Right syntax to use near '-20, 20'

Cannot re-assign $this

Parse error

Link to comment
Share on other sites

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

 

A quote too many

Forum search

Contributions search

Documentation search (note: docs being adapted for MS3, may be different for MS2)

3 tips for better forum searching

 

Want to post? Read this first:

osCommerce for dummies

Topic name etiquette

 

Basics:

Basics for design

Right syntax to use near '-20, 20'

Cannot re-assign $this

Parse error

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...