
conf file, you can usually find log files by typing the following command: To access the files directly on a server running Apache, on some unix shells (you may need to alter this to suit your environment), you can type the following command:įor nginx, depending on your. This will vary depending on your host, but it's good to know what and where they are. Your log files can be accessed a few different places. $old_error_handler = set_error_handler("ErrorHandler") Register_shutdown_function('ShutdownHandler') įunction ErrorHandler($type, $message, $file, $line)Ġx4000 => = Error in file \xBB%s\xAB at line %d: %s\n", $name, $line, $message))) If the problem occurs while running updates in Drupal 7, open update.php in a text editor and uncomment the following line: ini_set('display_errors', FALSE) Īnother way to force errors to display is to change the shutdown handler. To enable error reporting, temporarily edit your index.php file (normally located in your root directory) directly after the first opening PHP tag (do not edit the actual file info!) to add the following: Enable Error ReportingĪlthough it may be turned off on commercial hosts and production sites (for good reason, so that users do not see the errors), these errors are one of your best tools for troubleshooting.


#7 days to die console commands error instance not found how to#
How to do both of these are explained below. What you can do about this is either turn on PHP error reporting so it displays a message on the page itself, or check your log files (from the server) to look for the error. If that is the case and PHP has hit an unrecoverable error, neither an error nor content will be displayed, therefore you end up with a completely blank page. On a production site, it is common to have error reporting turned off. If error reporting is turned off, you could be getting a fatal error but not seeing it. (Note: The suggestions on this page might solve the problem even when you do not get the WSOD as it relates to an Internal Server Error.) "Invisible" Errors There are several reasons why this might occur, and therefore several possible solutions to the issue. This is what is referred to by most members of the Drupal community as the White Screen of Death or WSOD. This happens sometimes, It could happen after updating a module, theme, or Drupal core.

Occasionally a site user or developer will navigate to a page and suddenly the page content disappears, and it becomes blank.
