XML фиды Маркета url формируются не корректно Есть решение

7

По какой то причине при формировании xml в плагине Яндекс.Маркет в <url> пропал один слеш. Выглядит это так. 

При повторном ручном формировании вроде исправляется, но потом появляется заново. На 8 версию ss пока не обновлялся.

46 комментариев

  • +2

    Есть такое. Тоже самое было недавно замечено на одном из сайтов. У нас несколько витрин. Переключили на другую витрину - стало норм. Переключили опять на нужную витрину - опять стало норм.


    Спустя какое-то время - опять пропал слеш. Файлы для маркетов обновляются по крону, не разбирались, но, возможно, ошибка возникает только после обновления по крону.

    Сейчас файл не обновляем кроном, только вручную.

    Во вторник, думаю, будем разбираться. Не до этого сейчас..

  • +2
    badhed badhed 26 ноября 2018 14:42 #

    а почему молчит саппорт? они что, после выпуска обновлений позволяют себе выходные?

  • +2
    Михаил Ушенин Михаил Ушенин Webasyst 26 ноября 2018 15:21 #

    Не удалось повторить описанное вами поведение в тестовом аккаунте. Предлагаю вам воспользоваться услугой расширенной диагностики специалистами нашей компании (заказать). В случае выявления ошибок в программных продуктах, разработанных нашей компанией, или наших инструкциях стоимость услуги будет возвращена в полном объеме.

    • +3
      Евгений Филатов Евгений Филатов 26 ноября 2018 15:27 #

      Такая ошибка возникает только при автоматическом обновлении фида по CRON. Хорошо воспользуюсь.

    • +2
      badhed badhed 26 ноября 2018 15:49 #

      Михаил вы сегодня уже второго клиента с этой ошибкой  определяете на расширенную диагностику. 

      • +2
        Михаил Ушенин Михаил Ушенин Webasyst 26 ноября 2018 16:04 #

        Да, потому что нам не удаётся повторить её у себя. Когда сможем повторить хоть где-нибудь, сможем приступить к исправлению.

      • +2
        Михаил Ушенин Михаил Ушенин Webasyst 27 ноября 2018 12:51 #

        Добавьте в файле wa-system/routing/waRouting.class.php после строк

        $root_url = self::getUrlByRoute($r, $domain, ($absolute || $this->getDomain() != $domain));
        $root_url = preg_replace('/<url.*?>/i', '', $root_url);

        фрагмент

        if ($path == 'shop/frontend/product' && PHP_SAPI == 'cli' && substr($root_url, 0, 1) != '/') {
            $debug_log_file = 'product-url-cron-debug.log';
            $debug_log_file_path = wa()->getConfig()->getPath('log') . '/' . $debug_log_file;
            if (!file_exists($debug_log_file_path)) {
                waLog::dump($root_url, $debug_log_file);
            }
        }

        Когда появится файл wa-log/product-url-cron-debug.log, покажите его содержимое. Файл можно посмотреть с помощью приложения "Логи".

        • +3
          badhed badhed 27 ноября 2018 13:21 #

          2018-11-27 14:07:01 dumped from /var/www/test/wa-system/routing/waRouting.class.php line #502: '' 
          • +2
            Михаил Ушенин Михаил Ушенин Webasyst 27 ноября 2018 13:58 #

            Удалите лог-файл и отладочный код.

            В этом же PHP-файле после

            public static function getUrlByRoute($route, $domain = null, $absolute = true)
            {

            добавьте

            if (PHP_SAPI == 'cli') {
                $debug_log_file = 'product-url-cron-debug.log';
                $debug_log_file_path = wa()->getConfig()->getPath('log') . '/' . $debug_log_file;
                if (!$absolute && !file_exists($debug_log_file_path)) {
                    $debug_result = self::clearUrl($route['url']);
            
                    if ($domain) {
                        $debug_result = self::getDomainUrl($domain, $absolute).'/'.$debug_result;
                    }
            
                    waLog::dump(
                        func_get_args(),
                        $debug_result,
                        $debug_log_file
                    );
                }
            }

            • +2
              badhed badhed 27 ноября 2018 14:09 #

              2018-11-27 15:02:55 128.71.90.107
              dumped from /var/www/test/wa-system/routing/waRouting.class.php line #576:
              array(
              0 => array(
              'url' => '*',
              'app' => 'shop',
              'regions_ssl' => '',
              'url_sku_visible' => '0',
              'theme' => 'your_shop771',
              'theme_mobile' => 'your_shop771',
              'locale' => 'ru_RU',
              'title' => 'Магазин электроники и бытовой техники «Фронтайм» в Самаре',
              'meta_keywords' => '',
              'meta_description' => '',
              'og_title' => '',
              'og_image' => '',
              'og_video' => '',
              'og_description' => '',
              'og_type' => '',
              'og_url' => '',
              'url_type' => '0',
              'type_id' => array(
              0 => '1',
              1 => '2',
              2 => '80',
              3 => '4',
              4 => '96',
              5 => '79',
              6 => '8',
              7 => '10',
              8 => '11',
              9 => '14',
              10 => '68',
              11 => '16',
              12 => '17',
              13 => '23',
              14 => '18',
              15 => '19',
              16 => '20',
              17 => '21',
              18 => '22',
              19 => '27',
              20 => '82',
              21 => '83',
              22 => '39',
              23 => '41',
              24 => '42',
              25 => '43',
              26 => '44',
              27 => '45',
              28 => '46',
              29 => '47',
              30 => '48',
              31 => '49',
              32 => '50',
              33 => '51',
              34 => '52',
              35 => '53',
              36 => '54',
              37 => '55',
              38 => '56',
              39 => '57',
              40 => '58',
              41 => '106',
              42 => '61',
              43 => '62',
              44 => '63',
              45 => '64',
              46 => '65',
              47 => '66',
              48 => '67',
              49 => '72',
              50 => '69',
              51 => '70',
              52 => '71',
              53 => '73',
              54 => '74',
              55 => '75',
              56 => '77',
              57 => '78',
              58 => '81',
              59 => '84',
              60 => '85',
              61 => '88',
              62 => '90',
              63 => '91',
              64 => '92',
              65 => '93',
              66 => '99',
              67 => '104',
              68 => '108',
              69 => '109',
              70 => '112',
              71 => '110',
              72 => '113',
              ),
              'currency' => 'RUB',
              'stock_id' => 'v1',
              'public_stocks' => array(
              0 => '42',
              1 => 'v2',
              2 => 'v1',
              ),
              'drop_out_of_stock' => '2',
              'payment_id' => array(
              0 => '48',
              1 => '60',
              2 => '50',
              ),
              'shipping_id' => array(
              0 => '63',
              1 => '77',
              2 => '78',
              3 => '57',
              ),
              ),
              1 => '',
              2 => false,
              )
              ''
              • +2
                Михаил Ушенин Михаил Ушенин Webasyst 27 ноября 2018 14:38 #

                Удалите лог-файл и отладочный код.

                В этом же PHP-файле после

                $max = -1;
                $result = null;

                добавьте

                if (PHP_SAPI == 'cli') {
                    $debug_log_file = 'product-url-cron-debug.log';
                    $debug_log_file_path = wa()->getConfig()->getPath('log') . '/' . $debug_log_file;
                    if (!file_exists($debug_log_file_path)) {
                        waLog::dump(array_keys($routes), $debug_log_file);
                    }
                }

                • +2
                  badhed badhed 27 ноября 2018 14:43 #

                  2018-11-27 15:42:27 128.71.90.107
                  dumped from /var/www/test/wa-system/routing/waRouting.class.php line #491:
                  array(
                  0 => 'frontime.ru',
                  )
                  • +2
                    Михаил Ушенин Михаил Ушенин Webasyst 27 ноября 2018 16:00 #

                    Удалите лог-файл и отладочный код.

                    После

                    $root_url = self::getUrlByRoute($r, $domain, ($absolute || $this->getDomain() != $domain));
                    $root_url = preg_replace('/<url.*?>/i', '', $root_url);

                    добавьте

                    if ($path == 'shop/frontend/product' && PHP_SAPI == 'cli' && substr($root_url, 0, 1) != '/') {
                        $debug_log_file = 'product-url-cron-debug.log';
                        $debug_log_file_path = wa()->getConfig()->getPath('log') . '/' . $debug_log_file;
                        if (!file_exists($debug_log_file_path)) {
                            waLog::dump($root_url, array_keys($routes), $debug_log_file);
                        }
                    }

                    • +2
                      badhed badhed 27 ноября 2018 16:14 #

                      2018-11-27 17:11:37 128.71.90.107
                      dumped from /var/www/test/wa-system/routing/waRouting.class.php line #503:
                      ''
                      array(
                      0 => '',
                      )
                      • +2
                        Михаил Ушенин Михаил Ушенин Webasyst 27 ноября 2018 16:53 #

                        Удалите лог-файл и отладочный код.

                        Перед

                        $routes[$this->getDomain()] = array($this->route);

                        добавьте

                        if ($path == 'shop/frontend/product' && PHP_SAPI == 'cli') {
                            $debug_log_file = 'product-url-cron-debug.log';
                            $debug_log_file_path = wa()->getConfig()->getPath('log') . '/' . $debug_log_file;
                            if (!file_exists($debug_log_file_path)) {
                                waLog::dump($this->getDomain(), $this->domain, $debug_log_file);
                            }
                        }

                      • +2
                        Михаил Ушенин Михаил Ушенин Webasyst 27 ноября 2018 20:00 #

                        Ещё попробуйте после

                        public function getByApp($app_id, $domain = null)
                        {

                        добавить

                        if (PHP_SAPI == 'cli' && ($debug = debug_backtrace(false)) && stripos($debug[0]['file'], 'yandexmarket')) {
                            waLog::dump(array_keys($this->routes), 'product-url-cron-debug-2.log');
                        }

                        Посмотрите файл product-url-cron-debug-2.log после запуска задания cron.

                        • +2
                          badhed badhed 27 ноября 2018 22:26 #

                          product-url-cron-debug.log

                          2018-11-27 23:20:42 2.95.118.139
                          dumped from /var/www/test/wa-system/routing/waRouting.class.php line #500:
                          NULL
                          NULL

                          product-url-cron-debug-2.log

                          2018-11-27 23:20:42 2.95.118.139
                          dumped from /var/www/test/wa-system/routing/waRouting.class.php line #112:
                          array(
                            0 => 'frontime.ru',
                            1 => 'aznak.frontime.ru',
                            2 => 'volsk.frontime.ru',
                            3 => 'dmitr.frontime.ru',
                            4 => 'lenin.frontime.ru',
                            5 => 'balashov.frontime.ru',
                            6 => 'bezenchuk.frontime.ru',
                            7 => 'bogatoe.frontime.ru',
                            8 => 'borskoe.frontime.ru',
                            9 => 'buguruslan.frontime.ru',
                            10 => 'chapaevsk.frontime.ru',
                            11 => 'ivanteevka.frontime.ru',
                            12 => 'novosheshminsk.frontime.ru',
                            13 => 'nurlat.frontime.ru',
                            14 => 'privolzhie.frontime.ru',
                            15 => 'pugachev.frontime.ru',
                            16 => 'shigony.frontime.ru',
                            17 => 'barysh.frontime.ru',
                            18 => 'klav.frontime.ru',
                            19 => 'novoserg.frontime.ru',
                            20 => 'novo.frontime.ru',
                            21 => 'ponomarevka.frontime.ru',
                            22 => 'nikolsk.frontime.ru',
                            23 => 'zhigulevsk.frontime.ru',
                            24 => 'pestravka.frontime.ru',
                            25 => 'krasnyar.frontime.ru',
                            26 => 'utevka.frontime.ru',
                            27 => 'aleks.frontime.ru',
                            28 => 'october.frontime.ru',
                            29 => 'ershov.frontime.ru',
                            30 => 'pohvistnevo.frontime.ru',
                            31 => 'bauly.frontime.ru',
                            32 => 'koshki.frontime.ru',
                            33 => 'inza.frontime.ru',
                            34 => 'ocs.frontime.ru',
                            35 => 'almet.frontime.ru',
                            36 => 'buzuluk.frontime.ru',
                            37 => 'go.frontime.ru',
                            38 => 'tcl.frontime.ru',
                            39 => 'ice.frontime.ru',
                          )
                          • +2
                            Михаил Ушенин Михаил Ушенин Webasyst 28 ноября 2018 09:41 #

                            dumped from /var/www/test/wa-system/routing/waRouting.class.php line #500:

                            У вас точно установлена последняя версия фреймворка Webasyst и в этот файл не вносились другие изменения, кроме предложенных мной? Если добавить отладочный код, как я предложил, то должно было получиться примерно так:

                            dumped from /var/www/test/wa-system/routing/waRouting.class.php line #489:

                            А у вас где-то выше добавлено около 10 лишних строк, и мой код оказался ниже.

                            • +2
                              badhed badhed 28 ноября 2018 09:56 #

                              Небрежность при внесении правок - оставлял  большие прогоны


                              2018-11-28 10:52:39 2.95.104.240
                              dumped from /var/www/test/wa-system/routing/waRouting.class.php line #489:
                              NULL
                              NULL

                                  

                            • +2
                              Михаил Ушенин Михаил Ушенин Webasyst 28 ноября 2018 10:00 #

                              Удалите лог-файл и отладочный код.

                              После

                              public function setRoute($route, $domain = null)
                              {

                              добавьте

                              if (PHP_SAPI == 'cli') {
                                  waLog::log(json_encode(debug_backtrace(false)), 'product-url-cron-debug.log');
                              }

                              • +2
                                badhed badhed 28 ноября 2018 10:51 #

                                2018-11-28 11:48:53 2.95.104.240
                                [{"file":"\/var\/www\/test\/wa-apps\/shop\/plugins\/yandexmarket\/lib\/actions\/backend\/shopYandexmarketPluginRun.controller.php","line":41,"function":"getByApp","class":"waRouting","type":"->","args":["shop"]},{"file":"\/var\/www\/test\/wa-apps\/shop\/plugins\/yandexmarket\/lib\/actions\/backend\/shopYandexmarketPluginRun.controller.php","line":283,"function":"initRouting","class":"shopYandexmarketPluginRunController","type":"->","args":[{"hash":"set\/logvinov","domain":"frontime.ru\/*","ssl":null,"map":{"simple":{"available":"field:count","id":"field:id","url":"field:frontend_url","price":"field:price","oldprice":"field:compare_price","purchase_price":"field:purchase_price","currencyId":"field:currency","vat":"field:tax_id","categoryId":"field:category_id","picture":"field:images","name":"field:name","description":"field:summary","sales_notes":"skip:@","weight":"feature:weight","store":null,"pickup":null,"delivery":null,"local_delivery_before":null,"local_delivery_days":null,"local_delivery_cost":null,"vendor":null,"model":null,"vendorCode":null,"min-quantity":null,"step-quantity":null,"manufacturer_warranty":null,"country_of_origin":null,"adult":null,"age":null,"barcode":null,"cpa":null,"fee":null,"bid":null,"cbid":null,"rec":null,"param.*":null}},"types":[],"export":{"min_price":"","sku_group":"","zero_stock":0,"compare_price":0,"purchase_price":0,"sku":0,"hidden_categories":0,"skip_ignored":false,"shipping_methods":[]},"company":"\u0424\u0440\u043e\u043d\u0442\u0430\u0439\u043c","company_name":"\u0424\u0440\u043e\u043d\u0442\u0430\u0439\u043c","company_phone":"","shop":{"adult":"","cpa":"","store":"true","pickup":"true","delivery":"","local_delivery_order_before":"24","local_delivery_enabled":"1","local_delivery_estimate":"","local_delivery_cost":""},"lifetime":0,"force_update":0,"utm_source":"","utm_medium":"","utm_campaign":"","custom_url":"","shipping_methods":[],"home_region_id":0,"trace":false,"profile_id":190}]},{"file":"\/var\/www\/test\/wa-apps\/shop\/plugins\/yandexmarket\/lib\/actions\/backend\/shopYandexmarketPluginRun.controller.php","line":923,"function":"init","class":"shopYandexmarketPluginRunController","type":"->","args":[]},{"file":"\/var\/www\/test\/wa-apps\/shop\/plugins\/yandexmarket\/lib\/cli\/shopYandexmarketPluginExport.cli.php","line":19,"function":"fastExecute","class":"shopYandexmarketPluginRunController","type":"->","args":[190]},{"file":"\/var\/www\/test\/wa-system\/controller\/waController.class.php","line":21,"function":"execute","class":"shopYandexmarketPluginExportCli","type":"->","args":[]},{"file":"\/var\/www\/test\/wa-system\/waSystem.class.php","line":831,"function":"run","class":"waController","type":"->","args":[]},{"file":"\/var\/www\/test\/wa-system\/cli.php","line":14,"function":"dispatchCli","class":"waSystem","type":"->","args":[[]]},{"file":"\/var\/www\/test\/cli.php","line":3,"args":["\/var\/www\/test\/wa-system\/cli.php"],"function":"require_once"}]
                                • +2
                                  Михаил Ушенин Михаил Ушенин Webasyst 28 ноября 2018 11:09 #

                                  Вы точно добавляли отладочный код после

                                  public function setRoute($route, $domain = null)
                                  {

                                  ?

                                  Выглядит, как будто добавили после

                                  public function getByApp($app_id, $domain = null)
                                  {
                                  • +2
                                    badhed badhed 28 ноября 2018 11:35 #

                                    sorry

                                    2018-11-28 12:34:22 2.95.104.240
                                    [{"file":"\/var\/www\/test\/wa-apps\/shop\/plugins\/yandexmarket\/lib\/actions\/backend\/shopYandexmarketPluginRun.controller.php","line":48,"function":"setRoute","class":"waRouting","type":"->","args":[{"url":"*","app":"shop","regions_ssl":"","url_sku_visible":"0","theme":"your_shop771","theme_mobile":"your_shop771","locale":"ru_RU","title":"\u041c\u0430\u0433\u0430\u0437\u0438\u043d \u044d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u0438\u043a\u0438 \u0438 \u0431\u044b\u0442\u043e\u0432\u043e\u0439 \u0442\u0435\u0445\u043d\u0438\u043a\u0438 \u00ab\u0424\u0440\u043e\u043d\u0442\u0430\u0439\u043c\u00bb \u0432 \u0421\u0430\u043c\u0430\u0440\u0435","meta_keywords":"","meta_description":"","og_title":"","og_image":"","og_video":"","og_description":"","og_type":"","og_url":"","url_type":"0","type_id":["1","2","80","4","96","79","8","10","11","14","68","16","17","23","18","19","20","21","22","27","82","83","39","41","42","43","44","45","46","47","48","49","50","51","52","53","54","55","56","57","58","106","61","62","63","64","65","66","67","72","69","70","71","73","74","75","77","78","81","84","85","88","90","91","92","93","99","104","108","109","112","110","113"],"currency":"RUB","stock_id":"v1","public_stocks":["42","v2","v1"],"drop_out_of_stock":"2","payment_id":["48","60","50"],"shipping_id":["63","77","78","57"]},"frontime.ru"]},{"file":"\/var\/www\/test\/wa-apps\/shop\/plugins\/yandexmarket\/lib\/actions\/backend\/shopYandexmarketPluginRun.controller.php","line":283,"function":"initRouting","class":"shopYandexmarketPluginRunController","type":"->","args":[{"hash":"set\/logvinov","domain":"frontime.ru\/*","ssl":null,"map":{"simple":{"available":"field:count","id":"field:id","url":"field:frontend_url","price":"field:price","oldprice":"field:compare_price","purchase_price":"field:purchase_price","currencyId":"field:currency","vat":"field:tax_id","categoryId":"field:category_id","picture":"field:images","name":"field:name","description":"field:summary","sales_notes":"skip:@","weight":"feature:weight","store":null,"pickup":null,"delivery":null,"local_delivery_before":null,"local_delivery_days":null,"local_delivery_cost":null,"vendor":null,"model":null,"vendorCode":null,"min-quantity":null,"step-quantity":null,"manufacturer_warranty":null,"country_of_origin":null,"adult":null,"age":null,"barcode":null,"cpa":null,"fee":null,"bid":null,"cbid":null,"rec":null,"param.*":null}},"types":[],"export":{"min_price":"","sku_group":"","zero_stock":0,"compare_price":0,"purchase_price":0,"sku":0,"hidden_categories":0,"skip_ignored":false,"shipping_methods":[]},"company":"\u0424\u0440\u043e\u043d\u0442\u0430\u0439\u043c","company_name":"\u0424\u0440\u043e\u043d\u0442\u0430\u0439\u043c","company_phone":"","shop":{"adult":"","cpa":"","store":"true","pickup":"true","delivery":"","local_delivery_order_before":"24","local_delivery_enabled":"1","local_delivery_estimate":"","local_delivery_cost":""},"lifetime":0,"force_update":0,"utm_source":"","utm_medium":"","utm_campaign":"","custom_url":"","shipping_methods":[],"home_region_id":0,"trace":false,"profile_id":190}]},{"file":"\/var\/www\/test\/wa-apps\/shop\/plugins\/yandexmarket\/lib\/actions\/backend\/shopYandexmarketPluginRun.controller.php","line":923,"function":"init","class":"shopYandexmarketPluginRunController","type":"->","args":[]},{"file":"\/var\/www\/test\/wa-apps\/shop\/plugins\/yandexmarket\/lib\/cli\/shopYandexmarketPluginExport.cli.php","line":19,"function":"fastExecute","class":"shopYandexmarketPluginRunController","type":"->","args":[190]},{"file":"\/var\/www\/test\/wa-system\/controller\/waController.class.php","line":21,"function":"execute","class":"shopYandexmarketPluginExportCli","type":"->","args":[]},{"file":"\/var\/www\/test\/wa-system\/waSystem.class.php","line":831,"function":"run","class":"waController","type":"->","args":[]},{"file":"\/var\/www\/test\/wa-system\/cli.php","line":14,"function":"dispatchCli","class":"waSystem","type":"->","args":[[]]},{"file":"\/var\/www\/test\/cli.php","line":3,"args":["\/var\/www\/test\/wa-system\/cli.php"],"function":"require_once"}]
                                    • +2
                                      Михаил Ушенин Михаил Ушенин Webasyst 28 ноября 2018 15:16 #

                                      Удалите лог-файлы и отладочный код.

                                      После

                                      $routes[$this->getDomain()] = array($this->route);

                                      добавьте

                                      if (PHP_SAPI == 'cli' && !key($routes)) {
                                          waLog::log(json_encode(debug_backtrace(false), 'product-url-cron-debug.log'));
                                      }

                                      • +2
                                        badhed badhed 28 ноября 2018 16:32 #
                                        if (PHP_SAPI == 'cli' && !key($routes)) {    waLog::log(json_encode(debug_backtrace(false)), 'product-url-cron-debug.log'); }



                                        Фрагмент по одной позиции

                                        2018-11-28 17:22:26 2.95.104.240
                                        [{"file":"\/var\/www\/test\/wa-system\/waSystem.class.php","line":1270,"function":"getUrl","class":"waRouting","type":"->","args":["shop\/frontend\/product",{"product_url":"akustika-perenosnaya-10-bluetooth-v41-jbl-jbl-go-2-3-vt-plastik-ot-usbot-akkumulyatora-black-vlagozashchishchennaya-ipx7","module":"frontend","action":"product"},false,null,null]},{"file":"\/var\/www\/test\/wa-apps\/shop\/lib\/classes\/shopProductsCollection.class.php","line":1846,"function":"getRouteUrl","class":"waSystem","type":"->","args":["shop\/frontend\/product",{"product_url":"akustika-perenosnaya-10-bluetooth-v41-jbl-jbl-go-2-3-vt-plastik-ot-usbot-akkumulyatora-black-vlagozashchishchennaya-ipx7"}]},{"file":"\/var\/www\/test\/wa-apps\/shop\/lib\/classes\/shopProductsCollection.class.php","line":1337,"function":"workupProducts","class":"shopProductsCollection","type":"->","args":[{"929356":{"id":"929356","ym_model_id":null,"sup_code":"opt","barcode":null,"mcode":null,"cscode":null,"id_1c":"26e363fe-90ce-11e8-a139-bcaec56bb251","name":"\u0410\u043a\u0443\u0441\u0442\u0438\u043a\u0430 \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u043d\u0430\u044f (1.0) Bluetooth 4.1 JBL GO 2 (3 \u0412\u0442) \u043f\u043b\u0430\u0441\u0442\u0438\u043a \u043e\u0442 USB\/\u043e\u0442 \u0430\u043a\u043a\u0443\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0430 (\u0447\u0451\u0440\u043d\u044b\u0439) \u0412\u043b\u0430\u0433\u043e\u0437\u0430\u0449\u0438\u0449\u0435\u043d\u043d\u0430\u044f IPX7","summary":"","meta_title":"","meta_keywords":"","meta_description":"","description":"","contact_id":null,"create_datetime":"2018-07-27 20:54:32","edit_datetime":"2018-11-20 20:47:19","status":"1","type_id":"61","image_id":"903103","image_filename":"","video_url":null,"sku_id":"931505","ext":"jpg","url":"akustika-perenosnaya-10-bluetooth-v41-jbl-jbl-go-2-3-vt-plastik-ot-usbot-akkumulyatora-black-vlagozashchishchennaya-ipx7","rating":0,"price":1800,"compare_price":2199,"rrprice":"1800","currency":"RUB","min_price":1800,"max_price":1800,"tax_id":null,"count":"3","cross_selling":null,"upselling":null,"rating_count":"0","total_sales":0,"category_id":"72","badge":"","sku_type":"0","base_price_selectable":0,"sku_count":"1","compare_price_selectable":"0.0000","purchase_price_selectable":"0.0000","total_sales_html":"","rating_html":"<span class=\"rate nowrap\" title=\"\u0421\u0440\u0435\u0434\u043d\u044f\u044f \u043e\u0446\u0435\u043d\u043a\u0430 \u043f\u043e\u043a\u0443\u043f\u0430\u0442\u0435\u043b\u0435\u0439: 0 \/ 5\"><i class=\"icon10 star-empty\"><\/i><i class=\"icon10 star-empty\"><\/i><i class=\"icon10 star-empty\"><\/i><i class=\"icon10 star-empty\"><\/i><i class=\"icon10 star-empty\"><\/i><\/span>","unconverted_price":1800,"frontend_price":"1800","unconverted_min_price":1800,"frontend_min_price":"1800","unconverted_max_price":1800,"frontend_max_price":"1800","unconverted_compare_price":2199,"frontend_compare_price":"2199","images":{"903103":{"id":"903103","product_id":"929356","upload_datetime":"2018-10-17 11:44:14","edit_datetime":null,"description":null,"sort":"0","width":"516","height":"481","size":"109844","filename":"","original_filename":"fvpceh51h91.jpg","ext":"jpg","badge_type":null,"badge_code":null,"edit_datetime_ts":null,"url_thumb":"\/wa-data\/public\/shop\/products\/56\/93\/929356\/images\/903103\/903103.200x0.jpg","url_crop":"\/wa-data\/public\/shop\/products\/56\/93\/929356\/images\/903103\/903103.96x96.jpg","url_big":"\/wa-data\/public\/shop\/products\/56\/93\/929356\/images\/903103\/903103.970.jpg"},"903104":{"id":"903104","product_id":"929356","upload_datetime":"2018-10-17 11:44:14","edit_datetime":null,"description":null,"sort":"1","width":"504","height":"432","size":"35060","filename":"","original_filename":"fvpcehb0do1.jpg","ext":"jpg","badge_type":null,"badge_code":null,"edit_datetime_ts":null,"url_thumb":"\/wa-data\/public\/shop\/products\/56\/93\/929356\/images\/903104\/903104.200x0.jpg","url_crop":"\/wa-data\/public\/shop\/products\/56\/93\/929356\/images\/903104\/903104.96x96.jpg","url_big":"\/wa-data\/public\/shop\/products\/56\/93\/929356\/images\/903104\/903104.970.jpg"},"903105":{"id":"903105","product_id":"929356","upload_datetime":"2018-10-17 11:44:14","edit_datetime":null,"description":null,"sort":"2","width":"389","height":"547","size":"70757","filename":"","original_filename":"fvpcehf6s31.jpg","ext":"jpg","badge_type":null,"badge_code":null,"edit_datetime_ts":null,"url_thumb":"\/wa-data\/public\/shop\/products\/56\/93\/929356\/images\/903105\/903105.200x0.jpg","url_crop":"\/wa-data\/public\/shop\/products\/56\/93\/929356\/images\/903105\/903105.96x96.jpg","url_big":"\/wa-data\/public\/shop\/products\/56\/93\/929356\/images\/903105\/903105.970.jpg"},"903106":{"id":"903106","product_id":"929356","upload_datetime":"2018-10-17 11:44:15","edit_datetime":null,"description":null,"sort":"3","width":"475","height":"538","size":"84210","filename":"","original_filename":"fvpcehizn71.jpg","ext":"jpg","badge_type":null,"badge_code":null,"edit_datetime_ts":null,"url_thumb":"\/wa-data\/public\/shop\/products\/56\/93\/929356\/images\/903106\/903106.200x0.jpg","url_crop":"\/wa-data\/public\/shop\/products\/56\/93\/929356\/images\/903106\/903106.96x96.jpg","url_big":"\/wa-data\/public\/shop\/products\/56\/93\/929356\/images\/903106\/903106.970.jpg"}}},"930082":{"id":"930082","ym_model_id":null,"sup_code":"opt","barcode":null,"mcode":null,"cscode":null,"id_1c":"2b5a608b-92c2-11e8-a139-bcaec56bb251","name":"\u0410\u043a\u0443\u0441\u0442\u0438\u043a\u0430 \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u043d\u0430\u044f (1.0) Bluetooth 4.1 JBL GO 2 (3 \u0412\u0442) \u043f\u043b\u0430\u0441\u0442\u0438\u043a \u043e\u0442 USB\/\u043e\u0442 \u0430\u043a\u043a\u0443\u043c\u0443\u043b\u044f\u0442\u043e\u0440\u0430 (\u043e\u0440\u0430\u043d\u0436\u0435\u0432\u044b\u0439) \u0412\u043b\u0430\u0433\u043e\u0437\u0430\u0449\u0438\u0449\u0435\u043d\u043d\u0430\u044f IPX7","summary":"","meta_title":"","meta_keywords":"","meta_description":"","description":"","contact_id":null,"create_datetime":"2018-08-03 17:28:37","edit_datetime":"2018-10-24 19:21:53","status":"1","type_id":"61","image_id":"888599","image_filename":"","video_url":null,"sku_id":"932234","ext":"jpg","url":"akustika-perenosnaya-10-bluetooth-v40-jbl-jbl-go-3-vt-plastik-ot-usbot-akkumulyatora-black","rating":0,"price":1800,"compare_price":2199,"rrprice":"1800","currency":"RUB","min_price":1800,"max_price":1800,"tax_id":null,"count":"2","cross_selling":null,"upselling":null,"rating_count":"0","total_sales":0,"category_id":"72","badge":"","sku_type":"0","base_price_selectable":0,"sku_count":"1","compare_price_selectable":"0.0000","purchase_price_selectable":"0.0000","total_sales_html":"","rating_html":"<span class=\"rate nowrap\" title=\"\u0421\u0440\u0435\u0434\u043d\u044f\u044f \u043e\u0446\u0435\u043d\u043a\u0430 \u043f\u043e\u043a\u0443\u043f\u0430\u0442\u0435\u043b\u0435\u0439: 0 \/ 5\"><i class=\"icon10 star-empty\"><\/i><i class=\"icon10 star-empty\"><\/i><i class=\"icon10 star-empty\"><\/i><i class=\"icon10 star-empty\"><\/i><i class=\"icon10 star-empty\"><\/i><\/span>","unconverted_price":1800,"frontend_price":"1800","unconverted_min_price":1800,"frontend_min_price":"1800","unconverted_max_price":1800,"frontend_max_price":"1800","unconverted_compare_price":2199,"frontend_compare_price":"2199","images":{"888599":{"id":"888599","product_id":"930082","upload_datetime":"2018-09-01 19:28:22","edit_datetime":null,"description":null,"sort":"0","width":"600","height":"600","size":"63336","filename":"","original_filename":"10018592b.jpg","ext":"jpg","badge_type":null,"badge_code":null,"edit_datetime_ts":null,"url_thumb":"\/wa-data\/public\/shop\/products\/82\/00\/930082\/images\/888599\/888599.200x0.jpg","url_crop":"\/wa-data\/public\/shop\/products\/82\/00\/930082\/images\/888599\/888599.96x96.jpg","url_big":"\/wa-data\/public\/shop\/products\/82\/00\/930082\/images\/888599\/888599.970.jpg"},"888597":{"id":"888597","product_id":"930082","upload_datetime":"2018-09-01 19:28:22","edit_datetime":null,"description":null,"sort":"1","width":"600","height":"600","size":"61659","filename":"","original_filename":"10018592b2.jpg","ext":"jpg","badge_type":null,"badge_code":null,"edit_datetime_ts":null,"url_thumb":"\/wa-data\/public\/shop\/products\/82\/00\/930082\/images\/888597\/888597.200x0.jpg","url_crop":"\/wa-data\/public\/shop\/products\/82\/00\/930082\/images\/888597\/888597.96x96.jpg","url_big":"\/wa-data\/public\/shop\/products\/82\/00\/930082\/images\/888597\/888597.970.jpg"},"888598":{"id":"888598","product_id":"930082","upload_datetime":"2018-09-01 19:28:22","edit_datetime":null,"description":null,"sort":"2","width":"600","height":"600","size":"67849","filename":"","original_filename":"10018592b1.jpg","ext":"jpg","badge_type":null,"badge_code":null,"edit_datetime_ts":null,"url_thumb":"\/wa-data\/public\/shop\/products\/82\/00\/930082\/images\/888598\/888598.200x0.jpg","url_crop":"\/wa-data\/public\/shop\/products\/82\/00\/930082\/images\/888598\/888598.96x96.jpg","url_big":"\/wa-data\/public\/shop\/products\/82\/00\/930082\/images\/888598\/888598.970.jpg"}}},"937054":{"id":"937054","ym_model_id":null,"sup_code":null,"barcode":null,"mcode":"1090140","cscode":null,"id_1c":null,"name":"\u041a\u043e\u043b\u043e\u043d\u043a\u0430 \u043f\u043e\u0440\u0442. JBL Clip 3 \u0431\u0435\u043b\u044b\u0439 3.3W 1.0 BT (JBLCLIP3WHT)","summary":"","meta_title":"","meta_keywords":"","meta_description":"","description":"","contact_id":"518","create_datetime":"2018-10-05 00:35:30","edit_datetime":"2018-11-20 20:48:15","status":"1","type_id":"61","image_id":"901327","image_filename":"","video_url":null,"sku_id":"939276","ext":"jpg","url":"937054","rating":0,"price":3400,"compare_price":0,"rrprice":"3400","currency":"RUB","min_price":3400,"max_price":3400,"tax_id":null,"count":"17","cross_selling":null,"upselling":null,"rating_count":"0","total_sales":0,"category_id":"72","badge":"new","sku_type":"0","base_price_selectable":0,"sku_count":"1","compare_price_selectable":"0.0000","purchase_price_selectable":"0.0000","total_sales_html":"","rating_html":"<span class=\"rate nowrap\" title=\"\u0421\u0440\u0435\u0434\u043d\u044f\u044f \u043e\u0446\u0435\u043d\u043a\u0430 \u043f\u043e\u043a\u0443\u043f\u0430\u0442\u0435\u043b\u0435\u0439: 0 \/ 5\"><i class=\"icon10 star-empty\"><\/i><i class=\"icon10 star-empty\"><\/i><i class=\"icon10 star-empty\"><\/i><i class=\"icon10 star-empty\"><\/i><i class=\"icon10 star-empty\"><\/i><\/span>","unconverted_price":3400,"frontend_price":"3400","unconverted_min_price":3400,"frontend_min_price":"3400","unconverted_max_price":3400,"frontend_max_price":"3400","unconverted_compare_price":0,"frontend_compare_price":"0","images":{"901327":{"id":"901327","product_id":"937054","upload_datetime":"2018-10-05 13:17:46","edit_datetime":null,"description":null,"sort":"0","width":"750","height":"750","size":"32636","filename":"","original_filename":"5bb34d4d761c7275809005_750.jpg","ext":"jpg","badge_type":null,"badge_code":null,"edit_datetime_ts":null,"url_thumb":"\/wa-data\/public\/shop\/products\/54\/70\/937054\/images\/901327\/901327.200x0.jpg","url_crop":"\/wa-data\/public\/shop\/products\/54\/70\/937054\/images\/901327\/901327.96x96.jpg","url_big":"\/wa-data\/public\/shop\/products\/54\/70\/937054\/images\/901327\/901327.970.jpg"},"901328":{"id":"901328","product_id":"937054","upload_datetime":"2018-10-05 13:17:47","edit_datetime":null,"description":null,"sort":"1","width":"750","height":"750","size":"70552","filename":"","original_filename":"5bb34d440d9d7317743480_750.jpg","ext":"jpg","badge_type":null,"badge_code":null,"edit_datetime_ts":null,"url_thumb":"\/wa-data\/public\/shop\/products\/54\/70\/937054\/images\/901328\/901328.200x0.jpg","url_crop":"\/wa-data\/public\/shop\/products\/54\/70\/937054\/images\/901328\/901328.96x96.jpg","url_big":"\/wa-data\/public\/shop\/products\/54\/70\/937054\/images\/901328\/901328.970.jpg"},"901329":{"id":"901329","product_id":"937054","upload_datetime":"2018-10-05 13:17:47","edit_datetime":null,"description":null,"sort":"2","width":"750","height":"750","size":"22113","filename":"","original_filename":"5bb34d517ec5b702392261_750.jpg","ext":"jpg","badge_type":null,"badge_code":null,"edit_datetime_ts":null,"url_thumb":"\/wa-data\/public\/shop\/products\/54\/70\/937054\/images\/901329\/901329.200x0.jpg","url_crop":"\/wa-data\/public\/shop\/products\/54\/70\/937054\/images\/901329\/901329.96x96.jpg","url_big":"\/wa-data\/public\/shop\/products\/54\/70\/937054\/images\/901329\/901329.970.jpg"},"901330":{"id":"901330","product_id":"937054","upload_datetime":"2018-10-05 13:17:47","edit_datetime":null,"description":null,"sort":"3","width":"750","height":"750","size":"55959","filename":"","original_filename":"5bb34d48446f6286943268_750.jpg","ext":"jpg","badge_type":null,"badge_code":null,"edit_datetime_ts":null,"url_thumb":"\/wa-data\/public\/shop\/products\/54\/70\/937054\/images\/901330\/901330.200x0.jpg","url_crop":"\/wa-data\/public\/shop\/products\/54\/70\/937054\/images\/901330\/901330.96x96.jpg","url_big":"\/wa-data\/public\/shop\/products\/54\/70\/937054\/images\/901330\/901330.970.jpg"}}},"931248":{"id":"931248","ym_model_id":null,"sup_code":"opt","barcode":null,"mcode":null,"cscode":null,"id_1c":"6bf9d551-9f8f-11e8-a0dd-bcaec56bb251","name":"\u041d\u0430\u0443\u0448\u043d\u0438\u043a\u0438 \u043f\u0440\u043e\u0432\u043e\u0434\u043d\u044b\u0435 \u0432\u0441\u0442\u0430\u0432\u043d\u044b\u0435 JBL \u0441 \u043c\u0438\u043a\u0440\u043e\u0444\u043e\u043d\u043e\u043c C100SIU BLK (\u0447\u0435\u0440\u043d\u044b\u0439)","summary":"","meta_title":"","meta_keywords":"","meta_description":"","description":"","contact_id":null,"create_datetime":"2018-08-20 15:12:34","edit_datetime":"2018-11-28 17:21:13","status":"1","type_id":"66","image_id":"887272","image_filename":"","video_url":null,"sku_id":"933400","ext":"jpg","url":"naushniki-besprovodnye-bluetooth-vstavnye-jbl-s-mikrofonom-c100siu-blk-chernyy","rating":0,"price":500,"compare_price":699,"rrprice":"500","currency":"RUB","min_price":500,"max_price":500,"tax_id":null,"count":"13","cross_selling":null,"upselling":null,"rating_count":"0","total_sales":0,"category_id":"73","badge":"","sku_type":"0","base_price_selectable":615,"sku_count":"1","compare_price_selectable":"0.0000","purchase_price_selectable":"0.0000","total_sales_html":"","rating_html":"<span class=\"rate nowrap\" title=\"\u0421\u0440\u0435\u0434\u043d\u044f\u044f \u043e\u0446\u0435\u043d\u043a\u0430 \u043f\u043e\u043a\u0443\u043f\u0430\u0442\u0435\u043b\u0435\u0439: 0 \/ 5\"><i class=\"icon10 star-empty\"><\/i><i class=\"icon10 star-empty\"><\/i><i class=\"icon10 star-empty\"><\/i><i class=\"icon10 star-empty\"><\/i><i class=\"icon10 star-empty\"><\/i><\/span>","unconverted_price":500,"frontend_price":"500","unconverted_min_price":500,"frontend_min_price":"500","unconverted_max_price":500,"frontend_max_price":"500","unconverted_compare_price":699,"frontend_compare_price":"699","images":{"887272":{"id":"887272","product_id":"931248","upload_datetime":"2018-11-28 17:22:09","edit_datetime":null,"description":null,"sort":"0","width":"556","height":"556","size":"15216","filename":"","original_filename":"6bf9d551-9f8f-11e8-a0dd-bcaec56bb251.jpg","ext":"jpg","badge_type":null,"badge_code":null,"edit_datetime_ts":null,"url_thumb":"\/wa-data\/public\/shop\/products\/48\/12\/931248\/images\/887272\/887272.200x0.jpg","url_crop":"\/wa-data\/public\/shop\/products\/48\/12\/931248\/images\/887272\/887272.96x96.jpg","url_big":"\/wa-data\/public\/shop\/products\/48\/12\/931248\/images\/887272\/887272.970.jpg"}}}},false]},{"file":"\/var\/www\/test\/wa-apps\/shop\/plugins\/yandexmarket\/lib\/actions\/backend\/shopYandexmarketPluginRun.controller.php","line":1480,"function":"getProducts","class":"shopProductsCollection","type":"->","args":["*,count,id,frontend_url,price,compare_price,purchase_price,currency,tax_id,category_id,images,name,summary",0,500,false]},{"file":"\/var\/www\/test\/wa-apps\/shop\/plugins\/yandexmarket\/lib\/actions\/backend\/shopYandexmarketPluginRun.controller.php","line":984,"function":"stepProduct","class":"shopYandexmarketPluginRunController","type":"->","args":[0,{"category":450,"delivery_options":0,"product":4},0]},{"file":"\/var\/www\/test\/wa-apps\/shop\/plugins\/yandexmarket\/lib\/actions\/backend\/shopYandexmarketPluginRun.controller.php","line":927,"function":"step","class":"shopYandexmarketPluginRunController","type":"->","args":[]},{"file":"\/var\/www\/test\/wa-apps\/shop\/plugins\/yandexmarket\/lib\/cli\/shopYandexmarketPluginExport.cli.php","line":19,"function":"fastExecute","class":"shopYandexmarketPluginRunController","type":"->","args":[190]},{"file":"\/var\/www\/test\/wa-system\/controller\/waController.class.php","line":21,"function":"execute","class":"shopYandexmarketPluginExportCli","type":"->","args":[]},{"file":"\/var\/www\/test\/wa-system\/waSystem.class.php","line":831,"function":"run","class":"waController","type":"->","args":[]},{"file":"\/var\/www\/test\/wa-system\/cli.php","line":14,"function":"dispatchCli","class":"waSystem","type":"->","args":[[]]},{"file":"\/var\/www\/test\/cli.php","line":3,"args":["\/var\/www\/test\/wa-system\/cli.php"],"function":"require_once"}]

                                      • +2
                                        Михаил Ушенин Михаил Ушенин Webasyst 30 ноября 2018 12:24 #

                                        Давайте попробуем ещё.

                                        Удалите лог-файлы и отладочный код.

                                        После

                                        public function getDomain($domain = null, $check = false, $return_alias = true)
                                        {
                                            if ($domain) {
                                                return $domain;
                                            }

                                        добавьте

                                        if (PHP_SAPI == 'cli' && !$this->domain) {
                                            waLog::log(json_encode(debug_backtrace(false)), 'product-url-cron-debug.log');
                                        }

                                      • +2
                                        badhed badhed 30 ноября 2018 16:39 #

                                        сео регионы... спасибо михаил

                                        бодисайт, ау

                                      • +1

                                        Тоже самое. Ошибка сохраняется. Жду комментариев по путям решения проблемы. Виновато ли обновления по крону или нет еще не готов утверждать на 100%. По первым ощущениям - да. Но не всегда все плохо. Какое то время по крону точно работает. 

                                        Начались ошибки качества, технические ошибки в маркете и турбостраницах. Посещаемость сократилась.




                                      • +1

                                        Подтверждаю. Косячит обновление по крону. Сейчас (давно) стоит PHP7, крон по этим планам работал от PHP5 (не помню точную версию). Вот когда PHP5 было, проблем не наблюдалось.

                                        Потом какое-то время PHP7 (/opt/php70/bin/php ... cli.php...) все норм было. Через какое-то время полезли косяки (не могу сказать что сразу заметил) Не уверен, что из-за версии интерпритатора.. Фреймворк последней версии. 


                                        Сейчас не знаю что думать. Потому как если запустить задание вручную из ISPmanager - то все норм. Если задание будет запущено по расписанию - пропадает слеш

                                      • +1
                                        Евгений Евгений 27 ноября 2018 15:24 #

                                        Такая же ерунда((( пропал слеш

                                      • +1

                                        Прикольно! Это как лечение через телевизор!

                                      • +1

                                        Михаил молодец)) Не сдался )) Я б поучаствовал, но не могу доступы дать и времени нет )) А так, для теста поробовали бы поднять серв. У меня NGINX, MySQL 5(с чем то), PHP 7.0(c чем то). Остальное, наверное, не важно.

                                        Косячит именно по крону. С правами и пользователями проблем нет. Может поставлю для теста PHP 5, там проверю, почему то кажется, что там норм будет. 

                                      • +1

                                        Я правильно понял, что проблему исправили в SS8 ?

                                        https://www.webasyst.ru/store/... 

                                        Ну блин, для SS 7 выпускайте обновление. Это критическое обновление, которое необходимо как воздух. У нас цены меняются каждый день по множеству позиций в разное время. Маркет начнет скоро отключать магазины за ошибки качества!!! Уже словили нормально ошибок!  На SS8 переходить желания и времени нет.

                                      • +1

                                        Есть какие то ориентировочные сроки решения проблемы?

                                        1 магазин улетел.

                                      • +1
                                        Seora Seora 29 ноября 2018 22:08 #

                                        Аналогичная проблема. Когда будет решение?

                                      • +1

                                        Появилось решение этой проблемы. Можем установить на сайт до официального обновления. Просьба писать в поддержку https://bodysite.ru/contacts/s....

                                        Добавить комментарий

                                        Чтобы добавить комментарий, зарегистрируйтесь или войдите