
Originally Posted by
Canvas101
I have re uploaded all the required files and followed all the instructions but still see ...
From those messages I can see DIR_FS_CATALOG has not been appended to the start of the language path used to load the files.
DIR_FS_CATALOG should contain something like "/var/www/server/store/" or "/public_html/" or "/".
The only way this can happen is if:
- You missed a merge on "/includes/classes/order_total.php".
- Your "/admin/includes/configure.php" is corrupt (or not working).
- You are not running Zen Cart 1.5 (or some modification made to Zen Cart broke core code).
Note lines 34 - 48 from "/includes/classes/order_total.php" in the "affected_files_<version>" folder:
Code:
if(IS_ADMIN_FLAG === true) {
$lang_file = zen_get_file_directory(DIR_FS_CATALOG . DIR_WS_LANGUAGES . $_SESSION['language'] . '/modules/order_total/', $value, 'false');
}
else {
$lang_file = zen_get_file_directory(DIR_WS_LANGUAGES . $_SESSION['language'] . '/modules/order_total/', $value, 'false');
}
if (@file_exists($lang_file)) {
include_once($lang_file);
} else {
if (IS_ADMIN_FLAG === false && is_object($messageStack)) {
$messageStack->add('header', WARNING_COULD_NOT_LOCATE_LANG_FILE . $lang_file, 'caution');
} else {
$messageStack->add_session(WARNING_COULD_NOT_LOCATE_LANG_FILE . $lang_file, 'caution');
}
}
After you merge the changes, your "/includes/classes/order_totals.php" should have a block that looks similar.
Bookmarks