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

CeasarLean

Новичок
  
  • Posts

    19
  • Joined

  • Last visited

Recent Profile Visitors

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

CeasarLean's Achievements

Apprentice

Apprentice (3/14)

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

Recent Badges

0

Reputation

  1. Логов много. 1 error.log но это не связанно с ошибкой. ------------------------------------------------------------------------------------------------------------------------------------------------------ 2020-05-14 15:24:45 - Sphinx search failed: unknown local index 'categories' in search request 2020-05-14 15:24:45 - Sphinx search failed: unknown local index 'categories' in search request 2020-05-14 15:24:49 - Sphinx search warning: Fields specified in field_weights option not found: [attrname] 2020-05-14 15:24:49 - Sphinx search warning: Fields specified in field_weights option not found: [attrname] 2020-05-14 15:24:49 - Sphinx search failed: unknown local index 'categories' in search request 2020-05-14 15:24:51 - Sphinx search warning: Fields specified in field_weights option not found: [attrname] 2020-05-14 15:24:51 - Sphinx search warning: Fields specified in field_weights option not found: [attrname] 2020-05-14 15:24:51 - Sphinx search failed: unknown local index 'categories' in search request 2020-05-14 15:24:52 - Sphinx search warning: Fields specified in field_weights option not found: [attrname] 2020-05-14 15:24:52 - Sphinx search warning: Fields specified in field_weights option not found: [attrname] 2020-05-14 15:24:52 - Sphinx search failed: unknown local index 'categories' in search request 2020-05-14 15:24:53 - Sphinx search warning: Fields specified in field_weights option not found: [attrname] 2020-05-14 15:24:53 - Sphinx search warning: Fields specified in field_weights option not found: [attrname] 2020-05-14 15:24:53 - Sphinx search failed: unknown local index 'categories' in search request 2020-05-14 15:24:53 - Sphinx search warning: Query word length is less than min prefix length. word: 'h*' 2020-05-14 15:24:53 - Sphinx search failed: unknown local index 'categories' in search request 2020-05-14 15:24:54 - Sphinx search warning: Query word length is less than min prefix length. word: 'h*' 2020-05-14 15:24:54 - Sphinx search failed: unknown local index 'categories' in search request 2020-05-14 15:24:54 - Sphinx search warning: Fields specified in field_weights option not found: [attrname] 2020-05-14 15:24:54 - Sphinx search failed: unknown local index 'categories' in search request 2020-05-14 15:24:55 - Sphinx search warning: Query word length is less than min prefix length. word: 'h*' 2020-05-14 15:24:55 - Sphinx search failed: unknown local index 'categories' in search request 2020-05-14 15:24:55 - Sphinx search warning: Fields specified in field_weights option not found: [attrname] 2020-05-14 15:24:55 - Sphinx search failed: unknown local index 'categories' in search request 2020-05-14 15:24:55 - Sphinx search warning: Fields specified in field_weights option not found: [attrname] 2020-05-14 15:24:55 - Sphinx search warning: Fields specified in field_weights option not found: [attrname] 2020-05-14 15:24:55 - Sphinx search failed: unknown local index 'categories' in search request 2020-05-14 15:24:55 - Sphinx search warning: Fields specified in field_weights option not found: [attrname] 2020-05-14 15:24:55 - Sphinx search warning: Fields specified in field_weights option not found: [attrname] 2020-05-14 15:24:55 - Sphinx search failed: unknown local index 'categories' in search request 2020-05-14 15:24:56 - Sphinx search warning: Fields specified in field_weights option not found: [attrname] 2020-05-14 15:24:56 - Sphinx search warning: Fields specified in field_weights option not found: [attrname] 2020-05-14 15:24:56 - Sphinx search warning: Fields specified in field_weights option not found: [attrname] 2020-05-14 15:24:56 - Sphinx search failed: unknown local index 'categories' in search request 2020-05-14 15:24:56 - Sphinx search warning: Fields specified in field_weights option not found: [attrname] 2020-05-14 15:24:56 - Sphinx search failed: unknown local index 'categories' in search request 2020-05-14 15:24:58 - Sphinx search warning: Fields specified in field_weights option not found: [attrname] 2020-05-14 15:24:58 - Sphinx search failed: unknown local index 'categories' in search request 2020-05-14 15:24:58 - Sphinx search warning: Fields specified in field_weights option not found: [attrname] 2020-05-14 15:24:58 - Sphinx search failed: unknown local index 'categories' in search request 2020-05-14 15:24:59 - Sphinx search warning: Fields specified in field_weights option not found: [attrname] 2020-05-14 15:24:59 - Sphinx search failed: unknown local index 'categories' in search request 2020-05-14 15:24:59 - Sphinx search warning: Fields specified in field_weights option not found: [attrname] 2020-05-14 15:24:59 - Sphinx search failed: unknown local index 'categories' in search request 2020-05-14 15:24:59 - Sphinx search warning: Fields specified in field_weights option not found: [attrname] 2020-05-14 15:24:59 - Sphinx search failed: unknown local index 'categories' in search request 2020-05-14 15:24:59 - Sphinx search warning: Fields specified in field_weights option not found: [attrname] 2020-05-14 15:24:59 - Sphinx search failed: unknown local index 'categories' in search request 2020-05-14 15:39:41 - Sphinx search warning: Fields specified in field_weights option not found: [attrname] 2020-05-14 15:39:41 - Sphinx search warning: Fields specified in field_weights option not found: [attrname] --------------------------------------------------------------- в cloudflare тоже все ок
  2. Наводку даст кто-нибудь? Из консоли - jquery-2.1.1.min.js:4 POST https://expert-region.ru/index.php?route=revolution/revcheckout/validate 503 Вот кусок когда откуда как я понял через 503 не берется инфа send @ jquery-2.1.1.min.js:4 ajax @ jquery-2.1.1.min.js:4 (anonymous) @ index.php?route=revo…on/revcheckout:2847 dispatch @ jquery-2.1.1.min.js:3 r.handle @ jquery-2.1.1.min.js:3 Код: -------- -------- -------- -------- -------- -------- -------- -------- -------- -------- -------- -------- -------- public function validate() { $this->load->language('checkout/cart'); $this->load->language('checkout/checkout'); $this->load->language('revolution/revolution'); $settings = $data['settings'] = $this->config->get('revtheme_all_settings'); $language_id = $this->config->get('config_language_id'); $this->load->model('revolution/revolution'); $this->load->model('account/customer'); $this->load->model('account/customer_group'); $json = array(); if (!$this->cart->getProducts() || !$this->cart->hasStock() && (!$this->config->get('config_stock_checkout') || $this->config->get('config_stock_warning'))) { $json['error']['error_warning'] = $this->language->get('error_stock'); } if ($this->customer->isLogged()) { $customer_group_id = $this->customer->getGroupId(); } else { if (isset($this->request->post['customer_group_id']) && is_array($this->config->get('config_customer_group_display')) && in_array($this->request->post['customer_group_id'], $this->config->get('config_customer_group_display'))) { $customer_group_id = $this->request->post['customer_group_id']; } else { $customer_group_id = $this->config->get('config_customer_group_id'); } } -------- -------- -------- -------- -------- -------- -------- -------- -------- -------- -------- -------- -------- --------------- -------- -------- -------- -------- -------- -------- --------
  3. При формировании заказа на сайте https://tomsk.expert-region.ru/ (люпотому чтой заказ) возникает данная ошибка в окне оповеещёний от chrome. --------------------------------------------------------------------------------------------- error {"success":"<div class=\"buttons\">\n_ <div class=\"pull-right\">\n <input type=\"button\" value=\"\u041f\u043e\u0434\u0442\u0432\u0435\u0440\u0436\u04 34\u 0435\u043d\u0438\u0435 \u0437\u0430\u043a\u0430\u0437\u0430\" id=\"button-confirm\" class=\"btn btn-primary\" data-loading- text=\"\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430...\" \V >\n <Vdiv>\n<\Vdiv>\n<script type=\"text\/javascript\"> <!--\n$ (‘#button-confirm’).on(‘click'’, function() {\n\t$.ajax({\n\t\ttype: ‘get’, \n\t\turl: 'index.php?route=payment\/cod\/confirm’,\n\t\tcache: false, \n\t\tbeforeSend: function() {\n\t\t\t$(‘#button- confirm’).button(‘loading');\n\t\t},\n\t\tcomplete: function() {\n\t\t\t$ (‘#button-confirm’).button(‘reset');\n\t\t},\n\t\tsuccess: function() {\n\t\t\tlocation = 'https:\/\/tomsk.expert-region.ru\/index.php? route=checkout\/success';\n\t\t}\n\t}),\n}),\nVV/--> <\V/script>\n"} ------------------------------------------------------------------------------------------------ Уже второй гдень с этим мастурбируюсь. Подскажите как разобраться с данной проблемой, буду крайне признателен.
  4. В чем проблема данного кода? <div class="module-instagram" style="width:<?php echo $width; ?>px"> <div class="main"> <?php if (!$userInfo['user']['is_private']) { ?> <div class="images"> <?php $i=0; ?> <?php foreach ($userInfo['user']['media']['nodes'] as $image) { ?> <?php $i++; if ($i==10) break; ?> <a href="https://www.instagram.com/p/<?= $image['code'] ?>/" target="_blank"> <img src="<?= $image['thumbnail_src'] ?>" class="img-responsive" alt="" /> </a> <?php } ?> </div> <?php } ?> </div> </div> Отладка ------------------------------ Ошибка 0. Даи: 14 April 2020 года. Время: 21:24:12 USER AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36 OPR/67.0.3575.115 IP: 141.101.77.53 Request method: GET Referer: URL: http://xn----itbbliccs(ccылка на сайт) Ошибка: E_WARNING (2) Описание: Invalid argument supplied for foreach() Файл: /var/www/gotti/data/www/jonn/catalog/view/theme/revolution/template/revolution/revsocvinsta.tpl Линия: 6 Отладка: Array ( [0] => Array ( [file] => /var/www/gotti/data/www/jonn/catalog/view/theme/revolution/template/revolution/revsocvinsta.tpl [line] => 6 [function] => handler [class] => ErrorHandler [type] => :: ) [1] => Array ( [file] => /var/www/gotti/data/www/jonn/system/storage/troickoe/modification/system/engine/loader.php [line] => 94 [args] => Array ( [0] => /var/www/gotti/data/www/jonn/catalog/view/theme/revolution/template/revolution/revsocvinsta.tpl ) [function] => require ) [2] => Array ( [file] => /var/www/jonn/data/www/gotti/catalog/controller/revolution/revsocvinsta.php [line] => 13 [function] => view [class] => Loader [type] => -> ) [3] => Array ( [function] => index [class] => ControllerRevolutionRevsocvinsta [type] => -> ) [4] => Array ( [file] => /var/www/gotti/data/www/jonn/system/storage/troickoe/modification/system/engine/loader.php [line] => 47 [function] => call_user_func ) )
  5. Да же по каким-то непонятным прилинам указывается запяия перед id в ссылке
  6. При формировании заказа возникла ошибка вот ошибка Заказ №1761 Notice: Undefined offset: 0 in /var/www/gotti/data/www/gotti/admin/view/template/region/order_list.tpl on line 151 кусок кода <td class="text-right"> Заказ №<?php echo $order['order_id']; ?> <br> <?php echo $vendors[$order['vendor_id']]; ?> </td> <td class="text-left"><span style="color:#1e91cf;"><nobr><?php echo $order['customer']; ?></nobr></span><br><?php echo $order['owner']; ?></td> <td class="text-left" id="status_<?php echo $order['shop']; ?>_<?php echo $order['order_id']; ?>" <?php if(isset($status_color[$order['status_id']]['color'])) echo 'style="color:'.$status_color[$order['status_id']]['color'].'"'; ?>><?php echo $order['status']; ?> <?php if($order['date_status']) { ?><br><small><i class="fa fa-clock-o"></i> <?php echo admin_tools::elapsed($order['date_status']); ?></small> <?php } ?> </td> <td class="text-right"><?php echo $order['total']; ?></td> <td class="text-left"><?php echo $order['date_added']; ?></td> <td class="text-left"><?php echo $order['products']; ?></td> <td class="text-right"> <a href="<?php echo $order['view']; ?>" data-toggle="tooltip" title="<?php echo $button_view; ?>" class="btn btn-info"><i class="fa fa-eye"></i></a>
  7. Понял: спасипотому что за наводку. Буду смотреть
  8. Можете помочь как это исправить? Буду очень благодарен и признателен
  9. Ошибка 0. Даи: 14 April 2020 года. Время: 21:24:12 USER AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36 OPR/67.0.3575.115 IP: 141.101.77.53 Request method: GET Referer: URL: http://xn----itbbliccs(ccылка на сайт) Ошибка: E_WARNING (2) Описание: Invalid argument supplied for foreach() Файл: /var/www/gotti/data/www/jonn/catalog/view/theme/revolution/template/revolution/revsocvinsta.tpl Линия: 6 Отладка: Array ( [0] => Array ( [file] => /var/www/gotti/data/www/jonn/catalog/view/theme/revolution/template/revolution/revsocvinsta.tpl [line] => 6 [function] => handler [class] => ErrorHandler [type] => :: ) [1] => Array ( [file] => /var/www/gotti/data/www/jonn/system/storage/troickoe/modification/system/engine/loader.php [line] => 94 [args] => Array ( [0] => /var/www/gotti/data/www/jonn/catalog/view/theme/revolution/template/revolution/revsocvinsta.tpl ) [function] => require ) [2] => Array ( [file] => /var/www/jonn/data/www/gotti/catalog/controller/revolution/revsocvinsta.php [line] => 13 [function] => view [class] => Loader [type] => -> ) [3] => Array ( [function] => index [class] => ControllerRevolutionRevsocvinsta [type] => -> ) [4] => Array ( [file] => /var/www/gotti/data/www/jonn/system/storage/troickoe/modification/system/engine/loader.php [line] => 47 [function] => call_user_func ) )
  10. <input <?php if(isset($vendor_info['sector']) && in_array($sector_id,$vendor_info['sector'])) echo 'checked="checked"'; ?> id="input-sector_<?php echo $sector_id; ?>" type="checkbox" name="sector[]" value="<?php echo $sector_id; ?>"> <label for="input-sector_<?php echo $sector_id; ?>" ><?php echo $sector_name; ?></label></div> <div class="form-group"> <label class="col-sm-2 control-label" for="input-zone_id">Навравления</label> <div class="col-sm-10"> <?php foreach ($sectors as $sector_id => $sector_name) { ?> <div class="col-sm-4"> </div> </div> <?php } ?> Взял, верно? p.s. сори, кусок кода не мой просто, не совсем разбираюсь)
  11. <?php foreach ($sectors as $sector_id => $sector_name) { ?> <div class="form-group"> <label class="col-sm-2 control-label" for="input-zone_id">Навравления</label> <div class="col-sm-10"> <div class="col-sm-4"> <input <?php if(isset($vendor_info['sector']) && in_array($sector_id,$vendor_info['sector'])) echo 'checked="checked"'; ?> id="input-sector_<?php echo $sector_id; ?>" type="checkbox" name="sector[]" value="<?php echo $sector_id; ?>"> <label for="input-sector_<?php echo $sector_id; ?>" ><?php echo $sector_name; ?></label></div> <?php } ?> </div> </div> Да??
×
×
  • 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.