S
S
Sergey Karpin2021-03-12 17:55:43
1C-Bitrix
Sergey Karpin, 2021-03-12 17:55:43

Why does an empty section give a 502 error?

Hello comrades!

The directory path is built from the partition. There is an IB with sections "Profile, Pipes, Lattices".
The directory is made in such a way that the site.ru/profil/ address is from the root, etc. We go to the "Profile" there its subsections, in the subsections products.

There are no elements in the lattices, and when you go to the section, an error 502 is returned

. Everything is fine in the component settings.

"SEF_MODE" => "Y",
    "SEF_FOLDER" => "/reshetki/",
    "SEF_URL_TEMPLATES" => array(
      "sections" => "",
      "section" => "#SECTION_CODE#/",
      "element" => "#SECTION_CODE#/#ELEMENT_CODE#/",
      "compare" => "compare.php?action=#ACTION_CODE#",
      "smart_filter" => "#SECTION_CODE#/filter/#SMART_FILTER_PATH#/apply/",
    ),


What could be the reason for this behavior?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question