Regardless of the settings, it’s looking like the default content is installed. It overwrites any content there. This is a show stopper, but should be a quick fix. I’m thinking that the "installdata" is never really set and so take a look (in install folder), around:
around line 270 of index.php:
echo "<h1>Demo Site</h1><br/>";
echo " <input type='checkbox' name='installdata' value='1' />Install Demo Site</span> - Please note that this will overwrite existing documents and resources.<hr size='1' style='border:1px dotted silver;' />";
around line 14 of instprocessor.php:
$installData = intval($_POST['installdata']);
around line 127 of instprocessor.php:
// install data
if(installData && $moduleSQLDataFile) {
echo "<p>Installing demo site: ";
$sqlParser->process($moduleSQLDataFile);
// display database results
if ($sqlParser->installFailed==true) {
$errors += 1;
echo "<span class='notok'><b>Database Alerts!</span></p>";
echo "<p>MODx setup couldn't install/alter some tables inside the selected database.</p>";
echo "<p>The following errors had occurred during installation<br /><br />";
for($i=0;$i<count($sqlParser->mysqlErrors);$i++) {
echo "<em>".$sqlParser->mysqlErrors[$i]["error"]."</em> during the execution of SQL statement <span class='mono'>".strip_tags($sqlParser->mysqlErrors[$i]["sql"])."</span>.<hr />";
}
echo "</p>";
echo "<p>Some table were not updated. This might be due to previous modifications.</p>";
return;
}
else {
echo "<span class='ok'>OK!</span></p>";
}
}
Am I correct in thinking that it’s just missing the $ in front of the "installdata".