Guest Posted January 27, 2004 Share Posted January 27, 2004 hi, just wondering if any one can help i have just installed oscommerce and it seems to work good but i have noticed that the main catalog page is not displaying the table headings properly, instead of my account cart contents and checkout in the top right hand corner it has HEADER_TITLE_MY_ACCOUNT, HEADER_TITLE_CART_CONTENTS, HEADER_TITLE_CHECKOUT. you can check this out at http://members.lycos.co.uk/dfwcomputer/catalog any help would be greatly appreciated. thanks dean welch Link to comment Share on other sites More sharing options...
psychogenic Posted January 27, 2004 Share Posted January 27, 2004 Take a look at your page in German (flag on the lower right) and you'll notice that all the titles are all there. PHP has a tendency of silently ignoring things that should cause errors... Here, it is expecting these values (HEADER_TITLE_MY_ACCOUNT, etc.) to be defined somewhere in a manner such as this: define('HEADER_TITLE_MY_ACCOUNT', 'My Account'); but, since for some reason they aren't defined for english, PHP is simply spewing them out as-is. The strings should be defined in files under includes/languages/ (e.g. HEADER_TITLE_MY_ACCOUNT is set in includes/languages/english.php). Fix or replace the english resource files and you should be ok. HTH Pat Deegan Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.