Hey MODX people,
as some of you appear to hafe the same issues, i'd like to setup this threas about the "white screen of death". Which means: Fontend empty, manager just a white sscreen and setup will not continue to work after two or three steps (if you try to fix it that way).
Reason 1:
I moved a site from one server to another and in the end I had this "wsod". the reason was this:
/core/config/config.inc.php
<?php
/**
* MODX Configuration file
*/
$database_type = '{database_type}';
$database_server = '{database_server}';
$database_user = '{database_user}';
$database_password = '{database_password}';
$database_connection_charset = '{database_connection_charset}';
$dbase = '{dbase}';
$table_prefix = '{table_prefix}';
$database_dsn = '{database_dsn}';
$config_options = {config_options};
$driver_options = {driver_options};
$lastInstallTime = 1340783125;
$site_id = 'modx4feaba156a1346.27261429';
$site_sessionname = '{site_sessionname}';
$https_port = '{https_port}';
$uuid = '17f4944f-bf04-491e-9450-9f31c068ca13';
I cant imagine how this happened. But it did and so might it happen to you as well.
Reason 2:
I uploaded 2.2.4 to upgrade a site from 2.2.2. After two steps of the setup (yes, I cleared the cache and reset all sessions), a encountered the "WSOD" again.
This time I compared file sizes of my local machine ant the remote server and one file inside
/core/xpdo/cache/xpdocachemanager.class.php was 0 bytes in size. I cant imagine why a) cache is spread all over the filesystem and b) this folder still contained files after clearing the cache, but it did. I overwrote it with my local 44kb version from the backup and the site was back immediately.
I hope this might help some of you digging around, if the usual debugging fails.
Cheers,
Guido