A
A
Ainur Valiev2018-04-24 10:43:46
1C-Bitrix
Ainur Valiev, 2018-04-24 10:43:46

Why does the detail page periodically break?

The product detail page breaks periodically. As under the administrator, without. Caching is enabled. In the Bitrix forum there is a hint at the mechanism of deferred functions.
Sample page
dev15.ru/spalnye-prinadlezhnosti/podushki/podushka...
5adee0301bb4a573958473.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Nikolaev, 2018-04-24
@gromdron

At the first inspection, the caching system and poorly configured multisite are striking.
On the reference page (where everything is displayed normally) there is a call to the spead of the error440.ru site .
In this case, if you compare the reference page and the same page, but with unloaded data, it turns out that most of the content is not loaded. I found a discrepancy in 40+ lines.
That is, one of the components (which actually shows the card) is not loaded.

A
Ainur Valiev, 2018-11-26
@vaajnur

abandoned this pattern. A possible cause of failure is nested components, which were called without a parent object. $component.

$APPLICATION->IncludeComponent(
'bx:component',
'temp1',
array('Param' => '123'),
$component

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question