N
N
nikita_falcon2022-01-19 10:34:57
1C-Bitrix
nikita_falcon, 2022-01-19 10:34:57

Why does the CNC crash when saving a component through the visual editor?

When saving the bitrix.news component, the nc flies, overwrites the urlrewrite.php file and deletes my nc (after which 404 on the detailed page). Without doing anything, I go back to this component and just save it without changing anything, this time it adds my cnc to urlrewrite.php (the detailed one starts working), and so on in turn.
I looked at the component settings, the infoblock settings, everything seems to be fine. I also tried to use the default template, the error remains.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya, 2022-01-20
@rpsv

Remove the component ID from the desired rule in urlrewrite.php, then the rewrite will not occur.
Well, in general, everything should be OK, here is the dock: https://dev.1c-bitrix.ru/api_help/main/general/url...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question