Answer the question
In order to leave comments, you need to log in
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
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.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question