Problem installing Demo Site

Permalink
Hi I am attempting to add a demo site to our domain,

http://www.concrete5.org/documentation/how-tos/create-your-own-conc...

one of the problems I am having is after running the reset script, I get a blank page.

Looking through the dispatcher it is failing after pulling in the /config/base_pre.php

## Startup check ##   
   require(dirname(__FILE__) . '/config/base_pre.php');
echo "Fine Here";
   ## Startup check ##   
   require(dirname(__FILE__) . '/startup/config_check.php');
echo "Does not get here";

The file exists on the server but it seems to be having trouble including it.

Anyone have any ideas, why this is failing and not reinstalling the Site,

Version wise I am running concrete 5.4.1

TheRealSean
 
TheRealSean replied on at Permalink Reply
TheRealSean
Ok I dug a little deeper and think I may have solved this


Change
fwrite($fp, "<?php define('ENABLE_EMAILS', false); ?>");


Updated:
fwrite($fp, "define('ENABLE_EMAILS', false); ?>");

The <?php breaks the site.php as the closing php tag is now missing
(why does concrete miss off the closing php tag?)

The reason I missed the error earlier was in config_check
if (!@include(CONFIG_FILE))
which supressed the error pointing me to the right file.

Everything now works though I assume this broke due to a recent update, on the way that the site.php is created