Hello to all!
I have such a problem: the site is completely displayed on the bitrix, there are no errors in the browser window, just a white screen, when I open it to show the page code - it’s empty, I enter the admin panel - there is all the code, the admin works ... Tell me what it is may be. (((Website phiolent.com
Closed due to the fact that off-topic participants LEQADA , Streletz , Axifive , Vladimir Glinskikh , Dmitry 6 Dec '15 at 2:45 .
It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reason:
- “Questions asking for help with debugging (“ why does this code not work? ”) Should include the desired behavior, a specific problem or error, and a minimum code for playing it right in the question . Questions without an explicit description of the problem are useless for other visitors. See How to create minimal, self-sufficient and reproducible example . " - LEQADA, Streletz, Axifive, Vladimir Glinskikh, Dmitry
- 500 is a server error. The site from the very beginning was not displayed or did you do something before the appearance of the error? I would like to know your recent actions. - Get
- Site displayed yesterday structure rules. . . I did not write anything just indentation in the document itself, after that the white screen and view the page code is empty - Phiolent
- Somewhere indent set. Delete now. - Get
- Thanks for the help. I hope it works out. - Phiolent
- @Phiolent, If you are given a comprehensive answer, mark it as correct (click on the check mark next to the selected answer). - Nicolas Chabanovsky ♦
1 answer
Error 500 may be caused by an error in the site code (but this is not the only reason for its occurrence). First you need to try to look into the server logs to find out if there is an error in the code, and if so, in which file or line. You can also try to allow the output of detailed information about errors in the .htaccess file (if you have a white screen, then surely such output is prohibited). And you can also try to just restart the server (if your hosting allows it), because sometimes it happens that happened, for example, a database crash (this is usually treated by a simple reboot).
- hmm allowed error output to file. . . Now I can not even go to the site. . even in admin area. . tell me some other way to eliminate this error - Phiolent
- Now at the entrance to the admin panel is also a white screen? - Get
- No, 500 Internal Server Error error, yet .htaccess worked (but not in the way it was necessary). ( - Phiolent
- And in the error file, what? - Get
- In the bitrix I rummaged through all the folders, I did not find the log, most likely it is on the host server, tomorrow I’ll take a look, I wrote to the host’s support, I think they will be able to pick up the last working version. - Phiolent