Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Ошибка при установке модуля


grachevski
 Share

Recommended Posts

Поставил vqmod последней версии .

закинул файлы модуля

"Связанные опции "

Захожу в дополнение - модули - установить

выходит ошибка

Internal Server Error

 

в журнале ошибок

PHP Notice:  Undefined variable: lang in /home/*******/html/portal/view/template/extension/module/html.tpl on line 55

 

в файле html.tpl 55 строка

                    <textarea name="module_description[<?php echo $language['language_id']; ?>][description]" placeholder="<?php echo $entry_description; ?>" id="input-description<?php echo $language['language_id']; ?>" data-lang="<?php echo $lang; ?>" class="form-control summernote"><?php echo isset($module_description[$language['language_id']]['description']) ? $module_description[$language['language_id']]['description'] : ''; ?></textarea>

 

что делать? помогите )

 

Версия ocStore 2.3.0.2

 

Ответы типа : "vqmod не ставят на 2.3 и бла бла бла" оставьте себе, у многих стоит и норм

Link to comment
Share on other sites


Спойлер

 

Открываете html.php (admin/controller/extension/module)

и ищите

$data['lang'] = $this->language->get('lang');

В оригинальном файле это 52 строка.

Если не находите, то добавляете.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.