Здравствуйте! Есть страница с информацией, сделана из компонента списка новостей, при переходе в полную новость отображается белая пустая страница, как будто ее не существует, хотя браузер отдает код ответа сервера 200, никаких ошибок в логах нет. Пожалуйста помогите исправить ошибку, чтобы детальная страница новостей отображалась.
Привожу код файла со списком новостей index.php:
<?$APPLICATION->IncludeComponent("bitrix:news.list", "cont_list", array(
"IBLOCK_TYPE" => "content",
"IBLOCK_ID" => "3",
"NEWS_COUNT" => "100",
"SORT_BY1" => "ACTIVE_FROM",
"SORT_ORDER1" => "ASC",
"SORT_BY2" => "ACTIVE_FROM",
"SORT_ORDER2" => "ASC",
"FILTER_NAME" => "",
"FIELD_CODE" => array(
0 => "NAME",
1 => "",
),
"PROPERTY_CODE" => array(
0 => "",
1 => "",
),
"CHECK_DATES" => "Y",
"DETAIL_URL" => "",
"AJAX_MODE" => "N",
"AJAX_OPTION_JUMP" => "N",
"AJAX_OPTION_STYLE" => "Y",
"AJAX_OPTION_HISTORY" => "N",
"CACHE_TYPE" => "A",
"CACHE_TIME" => "36000000",
"CACHE_FILTER" => "N",
"CACHE_GROUPS" => "N",
"PREVIEW_TRUNCATE_LEN" => "",
"ACTIVE_DATE_FORMAT" => "d.m.y G:i",
"SET_TITLE" => "Y",
"SET_STATUS_404" => "Y",
"INCLUDE_IBLOCK_INTO_CHAIN" => "N",
"ADD_SECTIONS_CHAIN" => "N",
"HIDE_LINK_WHEN_NO_DETAIL" => "N",
"PARENT_SECTION" => "4",
"PARENT_SECTION_CODE" => "",
"DISPLAY_TOP_PAGER" => "N",
"DISPLAY_BOTTOM_PAGER" => "Y",
"PAGER_TITLE" => "Информация",
"PAGER_SHOW_ALWAYS" => "N",
"PAGER_TEMPLATE" => "pagenav",
"PAGER_DESC_NUMBERING" => "N",
"PAGER_DESC_NUMBERING_CACHE_TIME" => "36000",
"PAGER_SHOW_ALL" => "N",
"DISPLAY_DATE" => "N",
"DISPLAY_NAME" => "Y",
"DISPLAY_PICTURE" => "N",
"DISPLAY_PREVIEW_TEXT" => "N",
"AJAX_OPTION_ADDITIONAL" => ""
),
false
);?>
Код файла полной детальной новости detail.php:
<?$APPLICATION->IncludeComponent("bitrix:news.detail", "cont_detail", array(
"IBLOCK_TYPE" => "content",
"IBLOCK_ID" => "3",
"ELEMENT_ID" => $_REQUEST["ID"],
"ELEMENT_CODE" => $_REQUEST["CODE"],
"CHECK_DATES" => "Y",
"FIELD_CODE" => array(
0 => "",
1 => "",
),
"PROPERTY_CODE" => array(
0 => "",
1 => "",
),
"IBLOCK_URL" => "",
"AJAX_MODE" => "N",
"AJAX_OPTION_JUMP" => "N",
"AJAX_OPTION_STYLE" => "Y",
"AJAX_OPTION_HISTORY" => "N",
"CACHE_TYPE" => "A",
"CACHE_TIME" => "36000000",
"CACHE_GROUPS" => "N",
"META_KEYWORDS" => "-",
"META_DESCRIPTION" => "-",
"BROWSER_TITLE" => "SEO_T",
"SET_BROWSER_TITLE" => "Y",
"SET_META_DESCRIPTION" => "Y",
"SET_TITLE" => "Y",
"ADD_ELEMENT_CHAIN" => "Y",
"SET_TITLE" => "Y",
"SET_STATUS_404" => "Y",
"INCLUDE_IBLOCK_INTO_CHAIN" => "Y",
"ADD_SECTIONS_CHAIN" => "N",
"ACTIVE_DATE_FORMAT" => "d.m.Y",
"USE_PERMISSIONS" => "N",
"DISPLAY_TOP_PAGER" => "N",
"DISPLAY_BOTTOM_PAGER" => "Y",
"PAGER_TITLE" => "Страница",
"PAGER_TEMPLATE" => "",
"PAGER_SHOW_ALL" => "Y",
"DISPLAY_DATE" => "Y",
"DISPLAY_NAME" => "Y",
"DISPLAY_PICTURE" => "Y",
"DISPLAY_PREVIEW_TEXT" => "Y",
"USE_SHARE" => "N",
"AJAX_OPTION_ADDITIONAL" => ""
)
);?>
Так же есть еще обработчик в файле urlrewrite.php:
<?
$arUrlRewrite = array(
array(
"CONDITION" => "#^/inform/([^/]+)/($|\?.*)/#",
"RULE" => "CODE=$1",
"ID" => "",
"PATH" => "/inform/detail.php",
)
);
?>