Post by letxobnav » Mon Apr 29, 2019 11:05 pm

in catalog/model/localization/language.php

Code: Select all

	public function getLanguages() {
		$language_data = $this->cache->get('language');


should be

Code: Select all

	public function getLanguages() {
		$language_data = $this->cache->get('catalog.language');


nothing serious, just a shame to create a cache file and then never using it.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by straightlight » Tue Apr 30, 2019 5:43 am

Already addressed multiple times on the forum as well as on GitHub. This patch has been processed on GitHub as well.

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.


Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by letxobnav » Tue Apr 30, 2019 5:08 pm

Ah, I see that it is addressed in version 3.1 alpha.
These silly calls are not however:

in admin/model/catalog/category.php

functions:
addCategory
editCategory
deleteCategory


function call:

Code: Select all

$this->cache->delete('category');
which tried to delete a cache file which is never created.

Crystal Light Centrum Taiwan
Extensions: MailQueue | SUKHR | VBoces

“Data security is paramount at [...], and we are committed to protecting the privacy of anyone who is associated with our [...]. We’ve made a lot of improvements and will continue to make them.”
When you know your life savings are gone.


User avatar
Expert Member

Posts

Joined
Fri Aug 18, 2017 4:35 pm
Location - Taiwan

Post by straightlight » Tue Apr 30, 2019 8:47 pm

Issue addressed on GitHub: https://github.com/opencart/opencart/issues/7386 . Thanks.

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.


Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Users browsing this forum: No registered users and 10 guests