Guest Posted January 10, 2005 Posted January 10, 2005 All, My 1st post so bear with me. I just got done installing the oscommerce-2.2ms2. I have had a lot of trouble with the application_top.php files for some reason. When I 1st got the site uploaded I got the register globals error so I installed the Contribution fix for that. But now I am getting into the Admin and Catalog files, but the table heading and text is all messed up. I will include links to the screen shots I took of the problem and maybe someone can help figure it out. Heading Errors Pic Table Heading Errors The language error I have been getting is on line 130 of my application_top files... code starts... // include the language translations require(DIR_WS_LANGUAGES . $language . '.php'); // currency if (!tep_session_is_registered('currency') || isset($HTTP_GET_VARS['currency']) || ( (USE_DEFAULT_LANGUAGE_CURRENCY == 'true') && (LANGUAGE_CURRENCY != $currency) ) ) { if (!tep_session_is_registered('currency')) tep_session_register('currency'); if (isset($HTTP_GET_VARS['currency'])) { if (!$currency = tep_currency_exists($HTTP_GET_VARS['currency'])) $currency = (USE_DEFAULT_LANGUAGE_CURRENCY == 'true') ? LANGUAGE_CURRENCY : DEFAULT_CURRENCY; } else { $currency = (USE_DEFAULT_LANGUAGE_CURRENCY == 'true') ? LANGUAGE_CURRENCY : DEFAULT_CURRENCY; } } If I change the require(DIR_WS_LANGUAGES . $language . '.php'); line to require(DIR_WS_LANGUAGES . $language . 'english.php'); it works with no errors, but I am not sure why it required this or am I doing something wrong else where? Thanks for your help! Joshua Staley
Recommended Posts
Archived
This topic is now archived and is closed to further replies.