A
A
adrash kh2021-11-06 10:48:49
1C-Bitrix
adrash kh, 2021-11-06 10:48:49

Why does the template in Bitrix not work after stretching?

I removed the old template on Bitrix and installed a new one, but it does not work, although I configured everything correctly according to the instructions. D Bitrix has a folder where all the templates are located, after putting the template there, it is visible in the admin panel, and you can install it there. In the admin panel, I put this theme, but the site is just white.
How can I fix this? I've been struggling with this for 2 days now.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
N
no_one_safe, 2021-11-06
@Zlatan77

Check carefully the header.php file in the template.
At the beginning it should be

if(!defined('B_PROLOG_INCLUDED') || B_PROLOG_INCLUDED ==!true)
      die();

S
slmshdy, 2021-11-06
@slmshdy

Most likely a php error, enable the display of errors in Bitrix (bitrix/.settings.php set 'debug' => true)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question