Same Issue as Master config – blank screen
I've also been having the exact same issues. I'm trying to run the files in a folder such as webaddress.com/staging/site_name. I add this address to the environment config file, but I can't get anything other than a white screen on both the homepage and the CP login page. I have tested running the files at site root (public_html) and this works perfectly. I assume the white screens have something to do with running the site within folders (ie. path problem in the env file). I have tested this on 2 different servers with the same results. Is there any reason why I wouldn't be able to use the following path for the staging environment...
case 'webaddress.com/staging/site_name' :
define('ENV', 'stage');
define('ENV_FULL', 'Staging');
define('ENV_DEBUG', FALSE);
break;
I'm completely baffled and have tried everything. Any thoughts?