Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Weird text issue


trollboy

Recommended Posts

Posted

For some reason, the text "New Products for April" got replaced with " TABLE_HEADING_NEW_PRODUCTS" out of the blue.. what did I do and how do I UNDO it?

Posted

There should be

define('TABLE_HEADING_NEW_PRODUCTS',....)

somewhere in the source code. If it has been deleted you may need to download a new copy of the original code to search for where it belongs so you can put it back into your code. In PHP, a lot of the text is defined using these defines. If they are missing, it displays the name of the define since it has no text to display. This helps you know which define is missing.

In olden times the men were made of iron and the ships were made of wood; now it's the other way around. :wink:

Posted

Yeah.. but this is everything... that's the thing.. I'll look over the code.. but I dunno. Thanks

Posted

Hi, Go to catalog/includes/languages/english/default.php at about line 15 and see if you have the line below, if not, add it or edit it to be just exactly as shown. This should fix the problem.

 

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

 

HTH

Sarah

A newbie who has learned just enough to be dangerous!

Archived

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

×
×
  • Create New...