M
M
MarkThule2020-11-09 12:46:09
1C-Bitrix
MarkThule, 2020-11-09 12:46:09

Bitrix: the reason for the white screen when updating PHP?

There is a site on the 14th version of Bitrix. You need to update to a newer version. Now the server is running (Fast CGI) PHP 5.4 (it works correctly on this version), and version 5.6 is needed to gradually update Bitrix. When updating PHP, a white screen appears both when displaying pages and when trying to enter the admin panel. All basic recommendations in this case are immediately implemented: increase memory_limit, switch dbconn and settings configs to mysqli, enable all possible forms of logging/debugging in dbconn, settings, index.php files (adding ini_set('error_reporting', E_ALL) directive) and php.ini (obviously, there is nothing in the error logs and page output), disabling all modules in case one of them is buggy, clearing the cache. Nothing helped.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
smilingcheater, 2020-11-09
@smilingcheater

Before updating, in the admin panel in the settings of the main module, enable the output of errors and warnings.
In newer versions of Bitrix, you can enable debugging in the /bitrix/.settings.php file, but I don’t even remember if it was in the 14th version. If so, set the 'debug' => true parameter in the exception_handling block.
After that, look at the server error logs and figure out what exactly fell.

A
Anton, 2020-11-09
@anton99zel

Look in the server's error_log , clear init.php for the time of debugging.
It is not required to update 5.6, you can immediately 7.
You can read about my update experience here .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question