Post by myrecs » Thu Aug 24, 2017 6:11 am

Situation: i have at least 2 languages in localization and one of them is turned off. In theory when editing products, all language tabs should be in place (for setting info for all languages present in localization despite of lang status that is logical), but this happens not all the time. Language data for product tab is taken from \admin\model\localisation\language.php func: getLanguages($data = array()),
product page doesnt send any data, just calls the func, so directive $language_data = $this->cache->get('language'); is fired. But data in cache not always stored in right way: if in the beginning cache was absent and you open client page (not admin) then cache data stored with only one language and of course then if you open admin product page only that language that stored in cache is shown, in my case only one, but as i mentioned, i have two.
so the solution is to delete cache and load at first admin page or just make some changes to language.php .
I dont really understand why it is needed to take lang data for admin page from cache and not directly from config.



Wed Apr 05, 2017 8:51 pm

Post by straightlight » Sat Dec 02, 2017 6:14 am

Caused by the system/storage folder. Ensure to move the storage folder outside your public_html / www / htdocs folder(s) by creating the storage folder and assign the permission recursively to 0755, if not 0755 - 0777. This should resolved the intermittent language issue especially with the default language after re-configuring the storage folder location from your config.php and admin/config.php files.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Legendary Member


Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 2 guests