@rainbowtiger -- the upcoming release of UpgradeMODX fixes this. The trick is to copy the config.core.php file from the root to the setup/includes directory (with a slight modification to the file). Piece of cake, really.
In fact, I think if you ran this script after putting the files in place, Setup would no longer ask you where the core is:
$rootCoreConfig = MODX_BASE_PATH . 'config.core.php';
if (file_exists($rootCoreConfig)) {
$newStr = "define('MODX_SETUP_KEY', '@traditional@');\n?>";
$content = file_get_contents($rootCoreConfig);
if (strpos($content, 'MODX_SETUP_KEY') === false) {
if (strpos($content, '?>') !== false) {
$content = str_replace('?>', $newStr, $content);
} else {
$content .= "\n" . $newStr;
}
file_put_contents(MODX_BASE_PATH . 'setup/includes/config.core.php', $content);
}
}
If you download the advanced distribution, I assume that you'd want to change @traditional@ to @advanced@.
[ed. note: BobRay last edited this post 5 years, 9 months ago.]