osCommerce / oscommerce2

osCommerce Online Merchant v2.x
http://www.oscommerce.com
MIT License
281 stars 222 forks source link

Language cache issue #563

Open Gergely opened 7 years ago

Gergely commented 7 years ago

Langauge Cache is false at this moment by default. If its enabled then Admin and shop site is mixing with inconsitent content_group definitions.

Fix:

$defs = $this->getDefinitions($site . '/' . $group, $language_code, $pathname);
oitsuki commented 6 years ago

What is the line where we must fix the element ?

Gergely commented 6 years ago

If i remember well..

https://github.com/osCommerce/oscommerce2/blob/master/catalog/includes/OSC/OM/Language.php#L269