@SteepNET

Битрикс не выводит товары (bitrix:catalog) /catalog/?

Добрый день! Не могу понять почему не выводит товары через комплексный компонент bitrix:catalog находиться в /catalog/
Сам товар есть он открывается и выводиться на главную при помощи bitrix:catalog.top и bitrix:catalog.section ,там все нормально.

А в /catalog/ выводит только разделы, сами товары не выводит..

Все пересмотрел, подскажите пожалуйста где не досмотрел?
Все на BitrixENV ,ошибок при диагностики нет..

/home/bitrix/www/urlrewrite.php

<?php
$arUrlRewrite=array (
0 =>
array (
'CONDITION' => '#^/online/([\\.\\-0-9a-zA-Z]+)(/?)([^/]*)#',
'RULE' => 'alias=$1',
'ID' => '',
'PATH' => '/desktop_app/router.php',
'SORT' => 100,
),
1 =>
array (
'CONDITION' => '#^/bitrix/services/ymarket/#',
'RULE' => '',
'ID' => '',
'PATH' => '/bitrix/services/ymarket/index.php',
'SORT' => 100,
),
2 =>
array (
'CONDITION' => '#^/online/(/?)([^/]*)#',
'RULE' => '',
'ID' => '',
'PATH' => '/desktop_app/router.php',
'SORT' => 100,
),
3 =>
array (
'CONDITION' => '#^/stssync/calendar/#',
'RULE' => '',
'ID' => 'bitrix:stssync.server',
'PATH' => '/bitrix/services/stssync/calendar/index.php',
'SORT' => 100,
),
4 =>
array (
'CONDITION' => '#^/personal/order/#',
'RULE' => '',
'ID' => 'bitrix:sale.personal.order',
'PATH' => '/personal/order/index.php',
'SORT' => 100,
),
5 =>
array (
'CONDITION' => '#^/proizvoditeli/#',
'RULE' => '',
'ID' => 'krayt:brend',
'PATH' => '/proizvoditeli/index.php',
'SORT' => 100,
),
6 =>
array (
'CONDITION' => '#^/personal/#',
'RULE' => '',
'ID' => 'bitrix:sale.personal.section',
'PATH' => '/personal/index.php',
'SORT' => 100,
),
7 =>
array (
'CONDITION' => '#^/podborki/#',
'RULE' => '',
'ID' => 'bitrix:catalog',
'PATH' => '/podborki/index.php',
'SORT' => 100,
),
8 =>
array (
'CONDITION' => '#^/articles/#',
'RULE' => '',
'ID' => 'bitrix:news',
'PATH' => '/articles/index.php',
'SORT' => 100,
),
15 =>
array (
'CONDITION' => '#^/catalog/#',
'RULE' => '',
'ID' => 'bitrix:catalog',
'PATH' => '/catalog/index.php',
'SORT' => 100,
),
10 =>
array (
'CONDITION' => '#^/brend/#',
'RULE' => '',
'ID' => 'krayt:brend',
'PATH' => '/brend/index.php',
'SORT' => 100,
),
11 =>
array (
'CONDITION' => '#^/store/#',
'RULE' => '',
'ID' => 'bitrix:catalog.store',
'PATH' => '/store/index.php',
'SORT' => 100,
),
12 =>
array (
'CONDITION' => '#^/news/#',
'RULE' => '',
'ID' => 'bitrix:news',
'PATH' => '/news/index.php',
'SORT' => 100,
),
);


ЧПУ включено
bitrix:catalog

"SEF_URL_TEMPLATES" => array(
"sections" => "",
"section" => "#SECTION_CODE_PATH#/",
"element" => "#SECTION_CODE_PATH#/#ELEMENT_CODE#",
"compare" => "compare/",
"smart_filter" => "#SECTION_CODE#/filter/#SMART_FILTER_PATH#/apply/",


Инффоблок
spoiler

URL страницы информационного блока: #SITE_DIR#/catalog/
URL страницы раздела: #SITE_DIR#/catalog/#SECTION_CODE_PATH#/
URL страницы детального просмотра: #SITE_DIR#/catalog/#SECTION_CODE_PATH#/#ELEMENT_CODE#


result_modifier.php в шаблоне catalog

<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();
$arResult['NO_CATALOG'] = array("PROPERTY_NO_CATALOG" => false);


Пробовал создать товар из публичной части в разделе где товар, пишет что создал, и он создается в этом разделе ,но не выводит!

В .settings.php включил дебаг
.settings.php
'exception_handling' =>
array (
'value' =>
array (
'debug' => true,
'handled_errors_types' => 4437,
'exception_errors_types' => 4437,
'ignore_silence' => false,
'assertion_throws_exception' => true,
'assertion_error_type' => 256,
'log' =>
array (
'settings' =>
array (
'file' => '/var/log/php/exceptions.log',
'log_size' => 1000000,
),
),
),
'readonly' => false,
),


В логах ошибки такого рода когда в этот каталог выходишь

логах
2021-02-13 17:56:35 - Host: 1-yar.fvds.ru:443 - UNCAUGHT_EXCEPTION - [ParseError]
syntax error, unexpected '"CATEGORY_0_TITLE"' (T_CONSTANT_ENCAPSED_STRING), expecting ')' (0)
/home/bitrix/www/include/footer/bitrix_search_title_mobile.php:19
#0: include
/home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:789
#1: CBitrixComponentTemplate->__IncludePHPTemplate(array, array, string)
/home/bitrix/www/bitrix/modules/main/classes/general/component_template.php:884
#2: CBitrixComponentTemplate->IncludeTemplate(array)
/home/bitrix/www/bitrix/modules/main/classes/general/component.php:764
#3: CBitrixComponent->showComponentTemplate()
/home/bitrix/www/bitrix/modules/main/classes/general/component.php:712
#4: CBitrixComponent->includeComponentTemplate()
/home/bitrix/www/bitrix/components/bitrix/main.include/component.php:280
#5: include(string)
/home/bitrix/www/bitrix/modules/main/classes/general/component.php:605
#6: CBitrixComponent->__includeComponent()
/home/bitrix/www/bitrix/modules/main/classes/general/component.php:680
#7: CBitrixComponent->includeComponent(string, array, NULL, boolean)
/home/bitrix/www/bitrix/modules/main/classes/general/main.php:1063
#8: CAllMain->IncludeComponent(string, string, array)
/home/bitrix/www/local/templates/santehnika/footer.php:148
#9: include_once(string)
/home/bitrix/www/bitrix/modules/main/include/epilog_before.php:93
#10: require(string)
/home/bitrix/www/bitrix/modules/main/include/epilog.php:2
#11: require_once(string)
/home/bitrix/www/bitrix/footer.php:4
#12: require(string)
/home/bitrix/www/catalog/index.php:589
#13: include_once(string)
/home/bitrix/www/bitrix/modules/main/include/urlrewrite.php:159
#14: include_once(string)
/home/bitrix/www/bitrix/urlrewrite.php:2
----------
  • Вопрос задан
  • 561 просмотр
Пригласить эксперта
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы