S
S
Sergey2016-03-23 08:07:22
opencart
Sergey, 2016-03-23 08:07:22

The language control panel (Russian / English) is not displayed on the CMS OpenCart 2.2.0.0 on the Welldone template, how to fix it?

The language control panel (Russian/English) is not displayed on CMS OpenCart 2.2.0.0 on the Welldone template, it gives an error:
Notice: Undefined index: image in /home/s/admin/site.ru/public_html/catalog/view/theme/welldone /template/common/language.tpl on line 15
Russian
Notice: Undefined index: image in /home/s/admin/site.ru/public_html/catalog/view/theme/welldone/template/common/language.tpl on line 15
English
This error hangs in the active panel on the site (which is interesting) and is also understandable and clickable in the logs, but when you click to change the language on the site, it does not result in (404) site.ru/russian , site.ru/english - page not found. .
It seems, as it points to the missing picture, where I just didn’t throw it .. Pliz Help !!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Egor, 2016-03-23
@egormmm

Add a line with the img index value to the language files (links to them are given in the error line). You do not have a picture, but a line in a language file that displays an inscription.
In each of the files, for Russian and English (they are indicated in the error), the line should look like this:
$_['image '] = 'Some text here';

W
web-mechanic, 2016-03-26
@amfetamine

You simply don't have a specified variable - an array element with index "image"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question