Работает, вот только в менеджере дополнений выскочили такие ошибки
2015-12-21 14:44:53 - ----------------------------------------------------------------
MOD: Custom H1
FILE: admin/model/catalog/category.php
CODE: $this->db->query("INSERT INTO " . DB_PREFIX . "category_description SET category_id = '" . (int)$category_id . "', language_id = '" . (int)$language_id . "', name = '" . $this->db->escape($value['name']) . "', description = '" . $this->db->escape($value['description']) . "', meta_title = '" . $this->db->escape($value['meta_title']) . "', meta_description = '" . $this->db->escape($value['meta_description']) . "', meta_keyword = '" . $this->db->escape($value['meta_keyword']) . "'");
LINE: 14
LINE: 72
CODE: 'meta_keyword' => $result['meta_keyword'],
LINE: 275
FILE: admin/controller/catalog/category.php
CODE: protected function getForm() {
LINE: 285
FILE: admin/view/template/catalog/category_form.tpl
CODE: <label class="col-sm-2 control-label" for="input-description<?php echo $language['language_id']; ?>"><?php echo $entry_description; ?></label>
LINE: 58
CODE: $data['heading_title'] = $category_info['name'];
LINE: 129
FILE: catalog/model/catalog/product.php
CODE: 'meta_keyword' => $query->row['meta_keyword'],
LINE: 19
CODE: protected function getForm() {
LINE: 525
FILE: admin/view/template/catalog/product_form.tpl
CODE: <label class="col-sm-2 control-label" for="input-description<?php echo $language['language_id']; ?>"><?php echo $entry_description; ?></label>
LINE: 66
FILE: admin/model/catalog/product.php
CODE: $this->db->query("INSERT INTO " . DB_PREFIX . "product_description SET product_id = '" . (int)$product_id . "', language_id = '" . (int)$language_id . "', name = '" . $this->db->escape($value['name']) . "', description = '" . $this->db->escape($value['description']) . "', tag = '" . $this->db->escape($value['tag']) . "', meta_title = '" . $this->db->escape($value['meta_title']) . "', meta_description = '" . $this->db->escape($value['meta_description']) . "', meta_keyword = '" . $this->db->escape($value['meta_keyword']) . "'");
LINE: 14
LINE: 139
CODE: 'meta_keyword' => $result['meta_keyword'],
LINE: 428
CODE: $data['heading_title'] = $product_info['name'];
LINE: 268
FILE: catalog/model/catalog/information.php
CODE: 'meta_keyword' => $query->row['meta_keyword'],
NOT FOUND!
FILE: admin/controller/catalog/information.php
CODE: protected function getForm() {
LINE: 264
FILE: admin/view/template/catalog/information_form.tpl
CODE: <label class="col-sm-2 control-label" for="input-description<?php echo $language['language_id']; ?>"><?php echo $entry_description; ?></label>
LINE: 58
CODE: <label class="col-sm-2 control-label" for="input-description"><?php echo $entry_description; ?></label>
NOT FOUND!
А в общий лог ошибок вот такая ошибка:
2015-12-21 14:28:05 - PHP Notice: Error: Duplicate column name 'meta_h1'<br />Error No: 1060<br />ALTER TABLE `oc_product_description` ADD `meta_h1` VARCHAR(100);
in /home/g/getoda/demo.acces.md/public_html/system/library/db/mysqli.php on line 41
Как убрать их ? Заранее спасибо!