Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Load defines from languages/english directory


cpcahill

Recommended Posts

None of the defines are being loaded from the files in the languages/english directory. The defines from languages/english.php are being loaded, but everything else leaves me with the header (i.e. TABLE_HEADING_NUMBER). Here is my config file:

 

define('HTTP_SERVER', 'http://demoweb.coreds.net');

define('HTTP_CATALOG_SERVER', 'http://demoweb.coreds.net');

define('HTTPS_CATALOG_SERVER', 'https://demoweb.coreds.net');

define('ENABLE_SSL_CATALOG', 'false');

define('DIR_FS_DOCUMENT_ROOT', '/home/demoweb.coreds.net'); define('DIR_WS_ADMIN', '/store/admin/');

define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN);

define('DIR_WS_CATALOG', '/store/'); // absolute path required

define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG);

define('DIR_WS_IMAGES', 'images/');

define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');

define('DIR_WS_INCLUDES', 'includes/');

define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');

define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');

define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');

define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

 

 

define('DB_SERVER', 'localhost');

define('DB_SERVER_USERNAME', 'xxxxxxxx');

define('DB_SERVER_PASSWORD', 'xxxxxxx');

define('DB_DATABASE', 'store');

define('USE_PCONNECT', 'false');

define('STORE_SESSIONS', '');

Link to comment
Share on other sites

I am not getting an error message, but the header (i.e., TABLE_HEADING_NUMBER, TABLE_HEADING_FIRSTNAME) is showing up instead of whatever they are supposed to be defined as. In otherwords the defines are not being loaded before the page is parsed.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...