W
W
william smith2021-03-09 07:42:22
1C-Bitrix
william smith, 2021-03-09 07:42:22

Why is the infoblock displayed incorrectly in the Bitrix admin panel?

For the umpteenth time I have come across: the OpenServer package is installed ( https://ospanel.io/ ), the Bitrix site is deployed, everything works fine, but for some reason the contents of the infoblocks are displayed crookedly, here are the screenshots. Sweeping assumptions about the browser, caches, cookies, etc. - the same admin panel on a live site is displayed correctly in the next tab. Maybe someone faced such a problem?

6046fc63c7f4f011180152.jpeg
6046fc73c3637789759850.jpeg

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
smilingcheater, 2021-03-09
@smilingcheater

Openserver misconfigured. They try to download css / js from folders starting with a dot (.../.default/...)
It is necessary to delete in the Apache config

<LocationMatch "/\.(?!well-known)">
    Require             all denied
</LocationMatch>

Remove from Nginx config
location ~ /\. {deny all;}

0
0xD34F, 2017-12-27
@Basil_Dev

https://css-tricks.com/almanac/properties/t/text-d...
https://codepen.io/thejameskyle/pen/ibtLp?editors=1100

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question