Jump to content
  • разработка интернет магазинов на opencart
  • доработка интернет магазинов на opencart

motovelo

Новичок
  
  • Posts

    5
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

motovelo's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Week One Done
  • One Month Later
  • One Year In
  • Conversation Starter

Recent Badges

0

Reputation

  1. все запрацювало, спасипотому что!!!
  2. Fatal error: Uncaught Error: Call to a member function getInformations() on null in /home/qcsbngrd/domains/motovelo.te.ua/public_html/storage/modification/catalog/controller/common/menu.php:32 Stack trace: #0 /home/qcsbngrd/domains/motovelo.te.ua/public_html/storage/modification/system/engine/action.php(79): ControllerCommonMenu->index(Array) #1 /home/qcsbngrd/domains/motovelo.te.ua/public_html/storage/modification/system/engine/loader.php(48): Action->execute(Object(Registry), Array) #2 /home/qcsbngrd/domains/motovelo.te.ua/public_html/storage/modification/catalog/controller/common/header.php(111): Loader->controller('common/menu') #3 /home/qcsbngrd/domains/motovelo.te.ua/public_html/storage/modification/system/engine/action.php(79): ControllerCommonHeader->index(Array) #4 /home/qcsbngrd/domains/motovelo.te.ua/public_html/storage/modification/system/engine/loader.php(48): Action->execute(Object(Registry), Array) #5 /home/qcsbngrd/domains/motovelo.te.ua/public_html/catalog/controller/common/maintenance.php(25): Loader->co in /home/qcsbngrd/domains/motovelo.te.ua/public_html/storage/modification/catalog/controller/common/menu.php on line 32 Проблема в модифікаторі я ик розумыю, какий вносит изменения в файл storage/modification/catalog/controller/common/menu.php, но где його знайти і как виправити, виправлення в модифікованому файлі допомогли (НЕ КОРЕКТНО ВІДОБРАЖАЛИСЬ ДАНІ ІНФОРМАЦІЇ header-block)після обнови теми проблема снова появилась......спасипотому что...... Додатково всиновленет модулі: SEO-URL-Generator-FREE_for-ocStore_3.0.2.0. ukrainian-ocstore_opencart-3.0.x.
  3. Даи да..... <?php class ControllerCommonMenu extends Controller { public function index() { $this->load->language('common/menu'); $data['manufacturer'] = $this->url->link('product/manufacturer'); $data['contact'] = $this->url->link('information/contact'); $data['special'] = $this->url->link('product/special'); $data['search'] = $this->load->controller('common/search'); $data['logged'] = $this->customer->isLogged(); $data['account'] = $this->url->link('account/account', '', true); $data['register'] = $this->url->link('account/register', '', true); $data['login'] = $this->url->link('account/login', '', true); $data['order'] = $this->url->link('account/order', '', true); $data['transaction'] = $this->url->link('account/transaction', '', true); $data['download'] = $this->url->link('account/download', '', true); $data['logout'] = $this->url->link('account/logout', '', true); $data['language'] = $this->load->controller('common/language'); $data['currency'] = $this->load->controller('common/currency'); $data['wishlist'] = $this->url->link('account/wishlist', '', true); $data['compare'] = $this->url->link('product/compare'); $data['text_compare'] = sprintf($this->language->get('text_compare'), (isset($this->session->data['compare']) ? count($this->session->data['compare']) : 0)); if ($this->customer->isLogged()) { $this->load->model('account/wishlist'); $data['text_wishlist'] = sprintf($this->language->get('text_wishlist'), $this->model_account_wishlist->getTotalWishlist()); } else { $data['text_wishlist'] = sprintf($this->language->get('text_wishlist'), (isset($this->session->data['wishlist']) ? count($this->session->data['wishlist']) : 0)); } $data['informations'] = array(); foreach ($this->model_catalog_information->getInformations() as $result) { if ($result['bottom']) { $data['informations'][] = array( 'title' => $result['title'], 'href' => $this->url->link('information/information', 'information_id=' . $result['information_id']) ); } } if ($this->config->get('configblog_blog_menu')) { $data['blog_menu'] = $this->load->controller('blog/menu'); } else { $data['blog_menu'] = ''; } // Menu $this->load->model('catalog/category'); $this->load->model('catalog/product'); $data['categories'] = array(); $categories = $this->model_catalog_category->getCategories(0); foreach ($categories as $category) { if ($category['top']) { // Level 2 $children_data = array(); $children = $this->model_catalog_category->getCategories($category['category_id']); foreach ($children as $child) { $filter_data = array( 'filter_category_id' => $child['category_id'], 'filter_sub_category' => true ); $children_data[] = array( 'name' => $child['name'] . ($this->config->get('config_product_count') ? ' (' . $this->model_catalog_product->getTotalProducts($filter_data) . ')' : ''), 'href' => $this->url->link('product/category', 'path=' . $category['category_id'] . '_' . $child['category_id']) ); } // Level 1 $data['categories'][] = array( 'name' => $category['name'], 'children' => $children_data, 'column' => $category['column'] ? $category['column'] : 1, 'href' => $this->url->link('product/category', 'path=' . $category['category_id']) ); } } return $this->load->view('common/menu', $data); } }
  4. <?php class ControllerCommonMenu extends Controller { public function index() { $this->load->language('common/menu'); // Menu $this->load->model('catalog/category'); $this->load->model('catalog/product'); $data['categories'] = array(); $categories = $this->model_catalog_category->getCategories(0); foreach ($categories as $category) { if ($category['top']) { // Level 2 $children_data = array(); $children = $this->model_catalog_category->getCategories($category['category_id']); foreach ($children as $child) { $filter_data = array( 'filter_category_id' => $child['category_id'], 'filter_sub_category' => true ); $children_data[] = array( 'name' => $child['name'] . ($this->config->get('config_product_count') ? ' (' . $this->model_catalog_product->getTotalProducts($filter_data) . ')' : ''), 'href' => $this->url->link('product/category', 'path=' . $category['category_id'] . '_' . $child['category_id']) ); } // Level 1 $data['categories'][] = array( 'name' => $category['name'], 'children' => $children_data, 'column' => $category['column'] ? $category['column'] : 1, 'href' => $this->url->link('product/category', 'path=' . $category['category_id']) ); } } return $this->load->view('common/menu', $data);
  5. Fatal error: Uncaught Error: Call to a member function getInformations() on null in /home/qcsbngrd/domains/motovelo.te.ua/public_html/storage/modification/catalog/controller/common/menu.php:32 Stack trace: #0 /home/qcsbngrd/domains/motovelo.te.ua/public_html/storage/modification/system/engine/action.php(79): ControllerCommonMenu->index(Array) #1 /home/qcsbngrd/domains/motovelo.te.ua/public_html/storage/modification/system/engine/loader.php(48): Action->execute(Object(Registry), Array) #2 /home/qcsbngrd/domains/motovelo.te.ua/public_html/storage/modification/catalog/controller/common/header.php(111): Loader->controller('common/menu') #3 /home/qcsbngrd/domains/motovelo.te.ua/public_html/storage/modification/system/engine/action.php(79): ControllerCommonHeader->index(Array) #4 /home/qcsbngrd/domains/motovelo.te.ua/public_html/storage/modification/system/engine/loader.php(48): Action->execute(Object(Registry), Array) #5 /home/qcsbngrd/domains/motovelo.te.ua/public_html/catalog/controller/common/maintenance.php(25): Loader->co in /home/qcsbngrd/domains/motovelo.te.ua/public_html/storage/modification/catalog/controller/common/menu.php on line 32 Шаблон Fanes
×
×
  • 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.