3
3
3ds2012-05-22 06:30:39
Drupal
3ds, 2012-05-22 06:30:39

How to find the cause of the white page?

The situation is as follows: a white page began to fall out and that's it (http://www.ideal-figura.ru/node/336). error.log gives nothing, no errors. mysqlcheck says everything is fine. Where to look for a jamb? (Not strong in Drupal)

Answer the question

In order to leave comments, you need to log in

14 answer(s)
S
Sergey Beresnev, 2012-05-22
@sectus

There is such an option when the non-working code is "zabochen". I ran into this yesterday when, when I tried to run something like this on php5.1:

@json_decode($string);

I received nothing in response. Neither in the logs, nor on the screen.

U
unreturned, 2012-05-22
@unreturned

Try the white screen of death manual drupal.org/node/158043

I
Iskander Giniyatullin, 2012-05-22
@rednaxi

As an option, go through this page with a debugger.
Does the problem reproduce on a local copy?
If so, put yourself a debugger and see where it crashes.
If not, install a debugger too, only on the server :)

E
ertaquo, 2012-05-22
@ertaquo

Try adding this to your .htaccess:
php_flag display_errors on

A
Arkady, 2012-05-22
@p0is0n

Does it write to php logs? If not, here's some help:ini_set('error_log', '/log/php-error.log');

D
d4rkr00t, 2012-05-22
@d4rkr00t

try again like this: error_reporting(E_ALL);
in index.php

E
EugeneOZ, 2012-05-22
@EugeneOZ

I’m not strong in Drupal either, but I’ll try to help: check that new scripts (after which a problem appeared) do not have a BOM symbol at the very beginning (adds Windows Notepad, for example). And removing the closing tag in PHP scripts can also help.

O
Ogra, 2012-05-22
@Ogra

Search Drupal logs: www.ideal-figura.ru/admin/reports/dblog

M
max_rip, 2012-05-22
@max_rip

Try to find the display_errors error_reporting lines in the code and change them.

S
sfrolov, 2012-05-22
@sfrolov

I had this. The provider was naughty. I wrote to the support service. There was something pochemichili, and passed.

W
Wuron, 2012-05-22
@Wuron

Look in "admin/reports/dblog". Drupal likes to catch all errors and leave no traces in any logs other than its own.

M
Mikhail Osher, 2012-05-22
@miraage

Look towards @.
As an option:

@require_once '/file/wth/error.php';

and in /file/with/error.php it will be
<?php exit; ?>

Here's a white screen for you))
or ob_start()insteadexit;

C
chegor, 2012-05-22
@chegor

look at the template of this type of content. Closed bracket/quote somewhere

I
IRuslan, 2012-05-22
@IRuslan

cleared the cache?
Is the panels module being used? Perhaps the problem is something like - drupal.org/node/979912

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question