A
A
Alexander Kovalenko2017-08-29 00:50:37
1C-Bitrix
Alexander Kovalenko, 2017-08-29 00:50:37

Index.php is not loaded - too large. How to fix?

Faced such a problem. I am doing the integration of the layout in Bitrix, I made a footer, a header - everything is fine.
But the layout of the entire site itself consists of 3k lines of code (pages open with slides from the menu and all their content is in one file)
I edited index.php - only lines up to 1300 are loaded on the site
.
Maybe there is some kind of restriction in Bitrix on file processing? Index.php turns out to be 200kb, it seems not much for hosting to block.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Filippenko, 2017-09-14
@alexfilus

Is the file actually uploaded to the hosting? Didn't run out of space while recording?
If yes, then look for the syntax error in that place.
You can try to cut the layout into blocks and include them, but I think the problem is not in the size.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question