Неправильно отображается раздел bitrix

120
20 августа 2019, 14:10

Задача легкая, но непонятная. На сайте есть раздел catalog и есть подразделы podcatalog Хлебные крошки работают как надо, но, так как индексной страницы основного раздела нет - меня выкидывает на хостинг, типа домен припаркован. Даже не 404. Как это можно исправить? Как будет лучше поступить?

Ниже примеры

$APPLICATION->IncludeComponent(
"bitrix:catalog", 
"catalog", 
array(
    "IBLOCK_TYPE" => "catalog",
    "IBLOCK_ID" => "2",
    "TEMPLATE_THEME" => "site",
    "HIDE_NOT_AVAILABLE" => "N",
    "BASKET_URL" => "/personal/cart/",
    "ACTION_VARIABLE" => "action",
    "PRODUCT_ID_VARIABLE" => "id",
    "SECTION_ID_VARIABLE" => "SECTION_ID",
    "PRODUCT_QUANTITY_VARIABLE" => "quantity",
    "PRODUCT_PROPS_VARIABLE" => "prop",
    "SEF_MODE" => "Y",
    "SEF_FOLDER" => "/catalog/",
    "AJAX_MODE" => "Y",
    "AJAX_OPTION_JUMP" => "N",
    "AJAX_OPTION_STYLE" => "N",
    "AJAX_OPTION_HISTORY" => "N",
    "CACHE_TYPE" => "A",
    "CACHE_TIME" => "36000000",
    "CACHE_FILTER" => "Y",
    "CACHE_GROUPS" => "Y",
    "SET_TITLE" => "N",
    "ADD_SECTION_CHAIN" => "Y",
    "ADD_ELEMENT_CHAIN" => "Y",
    "SET_STATUS_404" => "Y",
    "DETAIL_DISPLAY_NAME" => "N",
    "USE_ELEMENT_COUNTER" => "Y",
    "USE_FILTER" => "Y",
    "FILTER_NAME" => "arrFilter",
    "FILTER_VIEW_MODE" => "VERTICAL",
    "FILTER_FIELD_CODE" => array(
        0 => "",
        1 => "",
    ),
    "FILTER_PROPERTY_CODE" => array(
        0 => "LENGTH_FILTER",
        1 => "BRAND_REF",
        2 => "MATERIAL",
        3 => "TYPE_OF_FUR",
        4 => "HOOD",
        5 => "TEHNOLOGY",
        6 => "SILHOUETTE",
        7 => "ACTION",
        8 => "",
    ),
    "FILTER_PRICE_CODE" => array(
        0 => "BASE",
    ),
    "FILTER_OFFERS_FIELD_CODE" => array(
        0 => "",
        1 => "",
    ),
    "FILTER_OFFERS_PROPERTY_CODE" => array(
        0 => "SIZES_CLOTHES",
        1 => "COLOR_REF",
        2 => "",
    ),
    "USE_REVIEW" => "Y",
    "MESSAGES_PER_PAGE" => "10",
    "USE_CAPTCHA" => "Y",
    "REVIEW_AJAX_POST" => "Y",
    "PATH_TO_SMILE" => "/bitrix/images/forum/smile/",
    "FORUM_ID" => "1",
    "URL_TEMPLATES_READ" => "",
    "SHOW_LINK_TO_FORUM" => "Y",
    "USE_COMPARE" => "N",
    "PRICE_CODE" => array(
        0 => "BASE",
    ),
    "USE_PRICE_COUNT" => "Y",
    "SHOW_PRICE_COUNT" => "1",
    "PRICE_VAT_INCLUDE" => "Y",
    "PRICE_VAT_SHOW_VALUE" => "N",
    "PRODUCT_PROPERTIES" => array(
    ),
    "USE_PRODUCT_QUANTITY" => "Y",
    "CONVERT_CURRENCY" => "Y",
    "QUANTITY_FLOAT" => "N",
    "OFFERS_CART_PROPERTIES" => array(
    ),
    "SHOW_TOP_ELEMENTS" => "N",
    "SECTION_COUNT_ELEMENTS" => "N",
    "SECTION_TOP_DEPTH" => "1",
    "SECTIONS_VIEW_MODE" => "LIST",
    "SECTIONS_SHOW_PARENT_NAME" => "N",
    "PAGE_ELEMENT_COUNT" => "6",
    "LINE_ELEMENT_COUNT" => "3",
    "ELEMENT_SORT_FIELD" => "CATALOG_PRICE_1",
    "ELEMENT_SORT_ORDER" => "asc",
    "ELEMENT_SORT_FIELD2" => "",
    "ELEMENT_SORT_ORDER2" => "",
    "LIST_PROPERTY_CODE" => array(
        0 => "",
        1 => "",
    ),
    "INCLUDE_SUBSECTIONS" => "Y",
    "LIST_META_KEYWORDS" => "-",
    "LIST_META_DESCRIPTION" => "-",
    "LIST_BROWSER_TITLE" => "NAME",
    "LIST_OFFERS_FIELD_CODE" => array(
        0 => "",
        1 => "",
    ),
    "LIST_OFFERS_PROPERTY_CODE" => array(
        0 => "ARTNUMBER",
        1 => "SIZES_CLOTHES",
        2 => "COLOR_REF",
        3 => "MORE_PHOTO",
        4 => "SIZES_SHOES",
        5 => "materia",
        6 => "",
    ),
    "LIST_OFFERS_LIMIT" => "",
    "SECTION_BACKGROUND_IMAGE" => "-",
    "DETAIL_PROPERTY_CODE" => array(
        0 => "TITLE",
        1 => "KEYWORDS",
        2 => "META_DESCRIPTION",
        3 => "NEWPRODUCT",
        4 => "SALELEADER",
        5 => "SPECIALOFFER",
        6 => "ARTNUMBER",
        7 => "BLOG_POST_ID",
        8 => "RECOMMEND",
        9 => "LOOK",
        10 => "LENGTH",
        11 => "LENGTH_FILTER",
        12 => "BLOG_COMMENTS_CNT",
        13 => "FORUM_MESSAGE_CNT",
        14 => "FORUM_TOPIC_ID",
        15 => "BRAND_REF",
        16 => "MATERIAL",
        17 => "COMPOSITION",
        18 => "TYPE_OF_FUR",
        19 => "HOOD",
        20 => "TEHNOLOGY",
        21 => "SILHOUETTE",
        22 => "FACING",
        23 => "SIZE_OPTIONS",
        24 => "TYPE_OF_FUR_LEATHER_FABRIC",
        25 => "FINISH_NECK",
        26 => "TYPE_OF_FINISH_OF_NECK",
        27 => "SEASONALITY",
        28 => "MAIN_CLASP",
        29 => "MANUFACTURER",
        30 => "GENDER",
        31 => "THE_LENGTH_OF_THE_SLEEVE",
        32 => "BELT",
        33 => "COLOR",
        34 => "",
    ),
    "DETAIL_META_KEYWORDS" => "-",
    "DETAIL_META_DESCRIPTION" => "-",
    "DETAIL_BROWSER_TITLE" => "-",
    "DETAIL_OFFERS_FIELD_CODE" => array(
        0 => "",
        1 => "",
    ),
    "DETAIL_OFFERS_PROPERTY_CODE" => array(
        0 => "ARTNUMBER",
        1 => "SIZES_CLOTHES",
        2 => "COLOR_REF",
        3 => "MORE_PHOTO",
        4 => "SIZE_OPTIONS",
        5 => "SIZES_SHOES",
        6 => "",
    ),
    "DETAIL_BACKGROUND_IMAGE" => "-",
    "LINK_IBLOCK_TYPE" => "",
    "LINK_IBLOCK_ID" => "",
    "LINK_PROPERTY_SID" => "",
    "LINK_ELEMENTS_URL" => "link.php?PARENT_ELEMENT_ID=#ELEMENT_ID#",
    "USE_ALSO_BUY" => "Y",
    "ALSO_BUY_ELEMENT_COUNT" => "4",
    "ALSO_BUY_MIN_BUYES" => "1",
    "OFFERS_SORT_FIELD" => "CATALOG_PRICE_1",
    "OFFERS_SORT_ORDER" => "asc",
    "OFFERS_SORT_FIELD2" => "",
    "OFFERS_SORT_ORDER2" => "",
    "PAGER_TEMPLATE" => "main",
    "DISPLAY_TOP_PAGER" => "N",
    "DISPLAY_BOTTOM_PAGER" => "N",
    "PAGER_TITLE" => "Товары",
    "PAGER_SHOW_ALWAYS" => "N",
    "PAGER_DESC_NUMBERING" => "N",
    "PAGER_DESC_NUMBERING_CACHE_TIME" => "36000000",
    "PAGER_SHOW_ALL" => "Y",
    "ADD_PICT_PROP" => "MORE_PHOTO",
    "LABEL_PROP" => array(
        0 => "SPECIALOFFER",
    ),
    "PRODUCT_DISPLAY_MODE" => "Y",
    "OFFER_ADD_PICT_PROP" => "MORE_PHOTO",
    "OFFER_TREE_PROPS" => array(
        0 => "SIZES_CLOTHES",
        1 => "COLOR_REF",
    ),
    "SHOW_DISCOUNT_PERCENT" => "Y",
    "SHOW_OLD_PRICE" => "Y",
    "MESS_BTN_BUY" => "Купить",
    "MESS_BTN_ADD_TO_BASKET" => "В корзину",
    "MESS_BTN_COMPARE" => "Сравнение",
    "MESS_BTN_DETAIL" => "Подробнее",
    "MESS_NOT_AVAILABLE" => "Нет в наличии",
    "DETAIL_USE_VOTE_RATING" => "Y",
    "DETAIL_VOTE_DISPLAY_AS_RATING" => "rating",
    "DETAIL_USE_COMMENTS" => "Y",
    "DETAIL_BLOG_USE" => "Y",
    "DETAIL_VK_USE" => "N",
    "DETAIL_FB_USE" => "Y",
    "AJAX_OPTION_ADDITIONAL" => "",
    "USE_STORE" => "N",
    "BIG_DATA_RCM_TYPE" => "personal",
    "FIELDS" => array(
        0 => "",
        1 => "STORE",
        2 => "",
    ),
    "USE_MIN_AMOUNT" => "N",
    "STORE_PATH" => "/store/#store_id#",
    "MAIN_TITLE" => "Наличие на складах",
    "MIN_AMOUNT" => "10",
    "DETAIL_BRAND_USE" => "Y",
    "DETAIL_BRAND_PROP_CODE" => array(
        0 => "BRAND_REF",
        1 => "",
    ),
    "SIDEBAR_SECTION_SHOW" => "Y",
    "SIDEBAR_DETAIL_SHOW" => "Y",
    "SIDEBAR_PATH" => "/catalog/sidebar.php",
    "COMPONENT_TEMPLATE" => "catalog",
    "HIDE_NOT_AVAILABLE_OFFERS" => "N",
    "USE_MAIN_ELEMENT_SECTION" => "N",
    "DETAIL_STRICT_SECTION_CHECK" => "N",
    "SET_LAST_MODIFIED" => "N",
    "ADD_SECTIONS_CHAIN" => "Y",
    "ADD_PROPERTIES_TO_BASKET" => "Y",
    "PARTIAL_PRODUCT_PROPERTIES" => "Y",
    "DETAIL_SET_CANONICAL_URL" => "N",
    "DETAIL_CHECK_SECTION_ID_VARIABLE" => "N",
    "SHOW_DEACTIVATED" => "N",
    "USE_GIFTS_DETAIL" => "N",
    "USE_GIFTS_SECTION" => "N",
    "USE_GIFTS_MAIN_PR_SECTION_LIST" => "N",
    "GIFTS_DETAIL_PAGE_ELEMENT_COUNT" => "4",
    "GIFTS_DETAIL_HIDE_BLOCK_TITLE" => "N",
    "GIFTS_DETAIL_BLOCK_TITLE" => "Выберите один из подарков",
    "GIFTS_DETAIL_TEXT_LABEL_GIFT" => "Подарок",
    "GIFTS_SECTION_LIST_PAGE_ELEMENT_COUNT" => "4",
    "GIFTS_SECTION_LIST_HIDE_BLOCK_TITLE" => "N",
    "GIFTS_SECTION_LIST_BLOCK_TITLE" => "Подарки к товарам этого раздела",
    "GIFTS_SECTION_LIST_TEXT_LABEL_GIFT" => "Подарок",
    "GIFTS_SHOW_DISCOUNT_PERCENT" => "Y",
    "GIFTS_SHOW_OLD_PRICE" => "Y",
    "GIFTS_SHOW_NAME" => "Y",
    "GIFTS_SHOW_IMAGE" => "Y",
    "GIFTS_MESS_BTN_BUY" => "Выбрать",
    "GIFTS_MAIN_PRODUCT_DETAIL_PAGE_ELEMENT_COUNT" => "4",
    "GIFTS_MAIN_PRODUCT_DETAIL_HIDE_BLOCK_TITLE" => "N",
    "GIFTS_MAIN_PRODUCT_DETAIL_BLOCK_TITLE" => "Выберите один из товаров, чтобы получить подарок",
    "STORES" => array(
        0 => "",
        1 => "",
    ),
    "USER_FIELDS" => array(
        0 => "",
        1 => "",
    ),
    "SHOW_EMPTY_STORE" => "Y",
    "SHOW_GENERAL_STORE_INFORMATION" => "N",
    "PAGER_BASE_LINK_ENABLE" => "N",
    "SHOW_404" => "N",
    "MESSAGE_404" => "",
    "COMPATIBLE_MODE" => "Y",
    "DISABLE_INIT_JS_IN_COMPONENT" => "N",
    "DETAIL_SET_VIEWED_IN_COMPONENT" => "N",
    "LABEL_PROP_MOBILE" => array(
    ),
    "LABEL_PROP_POSITION" => "top-left",
    "COMMON_SHOW_CLOSE_POPUP" => "N",
    "PRODUCT_SUBSCRIPTION" => "Y",
    "DISCOUNT_PERCENT_POSITION" => "bottom-right",
    "SHOW_MAX_QUANTITY" => "N",
    "MESS_BTN_SUBSCRIBE" => "Подписаться",
    "USE_SALE_BESTSELLERS" => "Y",
    "FILTER_HIDE_ON_MOBILE" => "N",
    "INSTANT_RELOAD" => "N",
    "USE_COMMON_SETTINGS_BASKET_POPUP" => "N",
    "COMMON_ADD_TO_BASKET_ACTION" => "ADD",
    "TOP_ADD_TO_BASKET_ACTION" => "BUY",
    "SECTION_ADD_TO_BASKET_ACTION" => "ADD",
    "DETAIL_ADD_TO_BASKET_ACTION" => array(
        0 => "ADD",
    ),
    "DETAIL_ADD_TO_BASKET_ACTION_PRIMARY" => array(
    ),
    "SEARCH_PAGE_RESULT_COUNT" => "50",
    "SEARCH_RESTART" => "N",
    "SEARCH_NO_WORD_LOGIC" => "Y",
    "SEARCH_USE_LANGUAGE_GUESS" => "Y",
    "SEARCH_CHECK_DATES" => "Y",
    "SECTIONS_HIDE_SECTION_NAME" => "N",
    "LIST_PROPERTY_CODE_MOBILE" => array(
    ),
    "LIST_PRODUCT_BLOCKS_ORDER" => "price,props,sku,quantityLimit,quantity,buttons,compare",
    "LIST_PRODUCT_ROW_VARIANTS" => "[{'VARIANT':'2','BIG_DATA':false},{'VARIANT':'2','BIG_DATA':false}]",
    "LIST_ENLARGE_PRODUCT" => "STRICT",
    "LIST_SHOW_SLIDER" => "Y",
    "LIST_SLIDER_INTERVAL" => "3000",
    "LIST_SLIDER_PROGRESS" => "N",
    "DETAIL_MAIN_BLOCK_PROPERTY_CODE" => array(
        0 => "LENGTH",
        1 => "BRAND_REF",
        2 => "MATERIAL",
        3 => "COMPOSITION",
        4 => "TYPE_OF_FUR",
        5 => "HOOD",
        6 => "TEHNOLOGY",
        7 => "SILHOUETTE",
        8 => "FACING",
        9 => "TYPE_OF_FUR_LEATHER_FABRIC",
        10 => "FINISH_NECK",
        11 => "TYPE_OF_FINISH_OF_NECK",
        12 => "SEASONALITY",
        13 => "MAIN_CLASP",
    ),
    "DETAIL_MAIN_BLOCK_OFFERS_PROPERTY_CODE" => array(
        0 => "SIZES_CLOTHES",
        1 => "COLOR_REF",
        2 => "SIZE_OPTIONS",
    ),
    "DETAIL_BLOG_URL" => "catalog_comments",
    "DETAIL_BLOG_EMAIL_NOTIFY" => "N",
    "DETAIL_FB_APP_ID" => "",
    "DETAIL_IMAGE_RESOLUTION" => "16by9",
    "DETAIL_PRODUCT_INFO_BLOCK_ORDER" => "sku,props",
    "DETAIL_PRODUCT_PAY_BLOCK_ORDER" => "rating,price,priceRanges,quantityLimit,quantity,buttons",
    "DETAIL_SHOW_SLIDER" => "N",
    "DETAIL_DETAIL_PICTURE_MODE" => array(
    ),
    "DETAIL_ADD_DETAIL_TO_SLIDER" => "N",
    "DETAIL_DISPLAY_PREVIEW_TEXT_MODE" => "H",
    "MESS_PRICE_RANGES_TITLE" => "Цены",
    "MESS_DESCRIPTION_TAB" => "Описание",
    "MESS_PROPERTIES_TAB" => "Характеристики",
    "MESS_COMMENTS_TAB" => "Комментарии",
    "DETAIL_SHOW_POPULAR" => "Y",
    "DETAIL_SHOW_VIEWED" => "Y",
    "USE_BIG_DATA" => "Y",
    "LAZY_LOAD" => "Y",
    "MESS_BTN_LAZY_LOAD" => "Загрузить ещё",
    "LOAD_ON_SCROLL" => "Y",
    "USE_ENHANCED_ECOMMERCE" => "N",
    "CURRENCY_ID" => "RUB",
    "USER_CONSENT" => "N",
    "USER_CONSENT_ID" => "0",
    "USER_CONSENT_IS_CHECKED" => "Y",
    "USER_CONSENT_IS_LOADED" => "N",
    "DETAIL_SHOW_MAX_QUANTITY" => "N",
    "DETAIL_SHOW_BASIS_PRICE" => "Y",
    "COMPOSITE_FRAME_MODE" => "A",
    "COMPOSITE_FRAME_TYPE" => "AUTO",
    "SEF_URL_TEMPLATES" => array(
        "sections" => "",
        "section" => "#SECTION_CODE#/",
        "element" => "#SECTION_CODE#/#ELEMENT_CODE#/",
        "compare" => "compare/",
        "smart_filter" => "#SECTION_CODE#/filter/#SMART_FILTER_PATH#/apply/",
    )
),
false
);
READ ALSO
Как правильно перевести float в int [дубликат]

Как правильно перевести float в int [дубликат]

На данный вопрос уже ответили:

111
FTP удаление выбранных файлов

FTP удаление выбранных файлов

проблема в том, что происходит удаление всех файлов, независимо, от того какие файлы выбраны, не могу понять, в чем проблемаБуду очень рад...

111
Ajax передача данных из формы

Ajax передача данных из формы

Есть такая форма с javascriptoм

110
Загрузка нескольких файлов

Загрузка нескольких файлов

Форма загрузки файлов:

100