Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Index problem????


scooterbilt33

Recommended Posts

Posted

i followed a post through to eliminate my t string error on line 13 but now i get one on line 19 as follows

any help would be appreciated

thanks

scott

 

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

Posted

I have messed with it and now i am getting different lines have t_string errors. any help??

 

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');

Posted
define('HEADING_TITLE', 'Let's See What We Have Here');

 

define('HEADING_TITLE', 'Let\'s See What We Have Here');

 

Have a go with the backslash as above and see if this helps

 

When apostrophes are used they are interpreted as part of the code, however when we don't want this to happen and we need to use an apostrophe within a text string we have to tell the code to ignore it by preceding it with a " \ "

Posted

You have been using the osCommerce File Manager to edit files. Either use the updated MS2 (follow the "Latest News" link at the top of the forum homepage), or stop using the File Manager. Download the file to be edited via FTP, take a backup (just in case), edit the file using a plain text editor like Notepad, Text Pad or Crimson Editor. When you use apostrophies in text in a file at the level of includes/languages/yourlanguage/ then it must be escaped by a preceeding backslash, as in:

Let's = wrong

Let\'s = right

 

You'll need to go through all of that file because the osCommerce File Manager will have removed all backslashes from in front of apostrophies used within text.

 

Vger

  • 2 weeks later...

Archived

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

×
×
  • Create New...