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

bratkovsl

Новичок
  
  • Posts

    16
  • Joined

  • Last visited

Recent Profile Visitors

1,569 profile views

bratkovsl's Achievements

Rookie

Rookie (2/14)

  • First Post
  • Collaborator
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

2

Reputation

    Отличный модуль! Посивил на тему UltraStore в связке с модулем [OC3] Опции с вводом когдачества, артикулом и изображением 3.0.11. Функционал немного не ик рилиил. Написал в подгдержку - проблему решили за час. Очень доволен!
    Отличный модуль! Посивил на тему UltraStore в связке с модулем [OC3] Обновление этоны при выпотому чторе опции, без AJAX - HYPER Dynamic price of options. Функционал немного не ик рилиил. Написал в подгдержку - проблему решили за час. Очень доволен!
  1. Закоментировал - ошибка осилась 2015/11/23 13:14:45 [error] 30701#0: *494 FastCGI sent in stderr: "PHP message: PHP Parse error: syntax error, unexpected '$this' (T_VARIABLE), expecting function (T_FUNCTION) in /var/www/sn2city.ru/html/vqmod/vqcache/vq2-catalog_controller_common_header.php on line 249" while reading response header from upstream, client: 178.76.194.26, server: san2city.ru, request: "GET /index.php?route=product/category&path=239_236 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "san2city.ru"
  2. файл контроллера header.php была добавлена позиция header_bottom В логах vqmod-a нет ошипотому чток, связанных с этим модулем <?php class ControllerCommonHeader extends Controller { protected function index() { $this->data['title'] = $this->document->getTitle(); if (isset($this->request->server['HTTPS']) && (($this->request->server['HTTPS'] == 'on') || ($this->request->server['HTTPS'] == '1'))) { $server = $this->config->get('config_ssl'); } else { $server = $this->config->get('config_url'); } $this->data['base'] = $server; $this->data['description'] = $this->document->getDescription(); $this->data['keywords'] = $this->document->getKeywords(); $this->data['links'] = $this->document->getLinks(); $this->data['styles'] = $this->document->getStyles(); $this->data['scripts'] = $this->document->getScripts(); $this->data['lang'] = $this->language->get('code'); $this->data['direction'] = $this->language->get('direction'); $this->data['google_analytics'] = html_entity_decode($this->config->get('config_google_analytics'), ENT_QUOTES, 'UTF-8'); $this->data['name'] = $this->config->get('config_name'); $this->data['telephone'] = $this->config->get('config_telephone'); if ($this->config->get('config_icon') && file_exists(DIR_IMAGE . $this->config->get('config_icon'))) { $this->data['icon'] = $server . 'image/' . $this->config->get('config_icon'); } else { $this->data['icon'] = ''; } if ($this->config->get('config_logo') && file_exists(DIR_IMAGE . $this->config->get('config_logo'))) { $this->data['logo'] = $server . 'image/' . $this->config->get('config_logo'); } else { $this->data['logo'] = ''; } $this->load->model('catalog/information'); $this->data['informations'] = array(); foreach ($this->model_catalog_information->getInformations() as $result) { if ($result['bottom']) { $this->data['informations'][] = array( 'title' => $result['title'], 'href' => $this->url->link('information/information', 'information_id=' . $result['information_id']) ); } } $this->language->load('common/header'); $this->data['og_url'] = (isset($this->request->server['HTTPS']) ? HTTPS_SERVER : HTTP_SERVER) . substr($this->request->server['REQUEST_URI'], 1, (strlen($this->request->server['REQUEST_URI'])-1)); $this->data['og_image'] = $this->document->getOgImage(); $this->data['text_home'] = $this->language->get('text_home'); $this->data['text_wishlist'] = sprintf($this->language->get('text_wishlist'), (isset($this->session->data['wishlist']) ? count($this->session->data['wishlist']) : 0)); $this->data['text_compare'] = sprintf($this->language->get('text_compare'), (isset($this->session->data['compare']) ? count($this->session->data['compare']) : 0)); $this->data['text_shopping_cart'] = $this->language->get('text_shopping_cart'); $this->data['text_search'] = $this->language->get('text_search'); $this->data['text_welcome'] = sprintf($this->language->get('text_welcome'), $this->url->link('account/login', '', 'SSL'), $this->url->link('account/register', '', 'SSL')); $this->data['text_enter'] = sprintf($this->language->get('text_enter'), $this->url->link('account/login', '', 'SSL')); $this->data['text_logged'] = sprintf($this->language->get('text_logged'), $this->url->link('account/account', '', 'SSL'), $this->customer->getFirstName(), $this->url->link('account/logout', '', 'SSL')); $this->data['text_account'] = $this->language->get('text_account'); $this->data['text_checkout'] = $this->language->get('text_checkout'); $this->data['text_page'] = $this->language->get('text_page'); $this->data['home'] = $this->url->link('common/home'); $this->data['compare'] = $this->url->link('product/compare'); $this->data['wishlist'] = $this->url->link('account/wishlist', '', 'SSL'); $this->data['logged'] = $this->customer->isLogged(); $this->data['account'] = $this->url->link('account/account', '', 'SSL'); $this->data['shopping_cart'] = $this->url->link('checkout/cart'); $this->data['checkout'] = $this->url->link('checkout/checkout', '', 'SSL'); // Daniel's robot detector $status = true; if (isset($this->request->server['HTTP_USER_AGENT'])) { $robots = explode("\n", trim($this->config->get('config_robots'))); foreach ($robots as $robot) { if ($robot && strpos($this->request->server['HTTP_USER_AGENT'], trim($robot)) !== false) { $status = false; break; } } } // A dirty hack to try to set a cookie for the multi-store feature $this->load->model('setting/store'); $this->data['stores'] = array(); if ($this->config->get('config_shared') && $status) { $this->data['stores'][] = $server . 'catalog/view/javascript/crossdomain.php?session_id=' . $this->session->getId(); $stores = $this->model_setting_store->getStores(); foreach ($stores as $store) { $this->data['stores'][] = $store['url'] . 'catalog/view/javascript/crossdomain.php?session_id=' . $this->session->getId(); } } // Search if (isset($this->request->get['search'])) { $this->data['search'] = $this->request->get['search']; } else { $this->data['search'] = ''; } // Menu if (isset($this->request->get['path'])) { $parts = explode('_', (string)$this->request->get['path']); } else { $parts = array(); } $this->load->model('catalog/category'); $this->load->model('catalog/product'); $this->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) { //Бугдем вылислять кол-во товаров в категориях только если это кол-во надо показывать if ($this->config->get('config_product_count')) { $data = array( 'filter_category_id' => $child['category_id'], 'filter_sub_category' => true ); $product_total = $this->model_catalog_product->getTotalProducts($data); $products = $this->model_catalog_product->getProducts($data); } $children_data[] = array( 'name' => $child['name']/* . ($this->config->get('config_product_count') ? ' (' . $count_quantity . ')' : '')*/,///// $product_total 'href' => $this->url->link('product/category', 'path=' . $category['category_id'] . '_' . $child['category_id']) ); } // Level 1 $this->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']), 'category_id' => $category['category_id'] // http://rb.labtodo.com/opencart-15x-show-current-category-in-menu ); } } // http://rb.labtodo.com/opencart-15x-show-current-category-in-menu :: BEGIN if (isset($this->request->get['path'])) { $parts = explode('_', (string)$this->request->get['path']); } else { $parts = array(); } if (isset($parts[0])) { $this->data['category_id'] = $parts[0]; } else { $this->data['category_id'] = 0; } $this->children = array( 'module/language', 'module/currency', 'module/cart', 'common/header_bottom' ); if (file_exists(DIR_TEMPLATE . $this->config->get('config_template') . '/template/common/header.tpl')) { $this->template = $this->config->get('config_template') . '/template/common/header.tpl'; } else { $this->template = 'default/template/common/header.tpl'; } $this->render(); } } ?>
  3. Добрый гдень! Купил модуль. При усиновки модуля сайт падает в 500 ошибку, по логам с сервера выдает 2015/11/23 10:55:48 [error] 30701#0: *103 FastCGI sent in stderr: "PHP message: PHP Parse error: syntax error, unexpected '$this' (T_VARIABLE), expecting function (T_FUNCTION) in /var/www/sn2city.ru/html/vqmod/vqcache/vq2-catalog_controller_common_header.php on line 249" while reading response header from upstream, client: 178.76.194.26, server: san2city.ru, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "san2city.ru" Версия ostore 1.5.5.1.2
  4. Добрый гдень! Купил модуль, и возникла проблема. У меня сайт на https, кари не создается. Если гделать карту сайи на dev версии http, то она создает url httpl://dev..... Может ггде строчку нужно поменять, чтоб на https зарилиил?
  5. Привет! Покупал модуль, у меня ostore 1.5.5.1.2, стоит FilterPro v2.5.17.1_beta (speed), не сохраняет. max_input_vars= 20000 - сивил и меньше. filterpro_v2.4.4(seo)_encoded.zip - эи версия тоже выдает ошибку. Обновил предыдущую, потому что пересила фильтровать.
  6. внимательно пролиий что в админке написано. В php.ini нужно параметр увелилить
  7. Здравствуйте! Купил модуль, сивлю на Ostore 1.5.5.1.2, FilterPro v2.5.17.1_beta (speed) по инструкции: Модуль не рилииет, на страниэто категории появляется белый экран смерти
  8. 19-06-2015 20:09:20: Начало парсинга 19-06-2015 20:09:20: Cookie включены. 19-06-2015 20:09:20: Парсинг через прокси: 212.82.126.32:80 19-06-2015 20:09:20: Запрос: https://market.yandex.ru/search.xml?text=iphone+5s 19-06-2015 20:09:21: Перенаправление -> http://market.yandex.ru 19-06-2015 20:09:21: Запрос: http://market.yandex.ru 19-06-2015 20:09:21: Перенаправление -> https://market.yandex.ru/ 19-06-2015 20:09:21: Запрос: https://market.yandex.ru/ 19-06-2015 20:09:22: Удачный ответ от сервера 19-06-2015 20:09:22: Получено 27332 байт 19-06-2015 20:09:22: Конец парсинга Товары не иещёт, версия парсера 1,3,7, через прокси
  9. Notice: Undefined variable: new_url in /var/www/dev1.connect-store.ru/html/admin/controller/module/parsermanager.php on line 1534 Fatal error: Call to a member function find() on boolean in /var/www/dev1.connect-store.ru/html/admin/controller/module/parsermanager.php on line 1537 Версия парсера - 1.3.7
×
×
  • 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.