I’m not sure if this is a bug, an expected behavior, or if I left out a step.
I decided to change the name of my database and the modx main folder after installing MODx Revolution.
I renamed the db in phpMyAdmin, edited the config.inc.php file to match, and changed the name of the site folder.
Then I did a new build.
Then I ran a custom upgrade install, and entered the new db data. Everything checked out until the actual install when I got this message:
Warning: modContext::include(C:/xampp/htdocs/addons/core/cache/mgr/context.cache.php) [function.modContext-include]: failed to open stream: No such file or directory in C:\xampp\htdocs\addons\core\model\modx\modcontext.class.php on line 49
Warning: modContext::include() [function.include]: Failed opening ’C:/xampp/htdocs/addons/core/cache/mgr/context.cache.php’ for inclusion (include_path=’.;\xampp\php\pear\’) in C:\xampp\htdocs\addons\core\model\modx\modcontext.class.php on line 49
Fatal error: Call to a member function execute() on a non-object in C:\xampp\htdocs\addons\core\model\modx\modx.class.php on line 2542
A regular upgrade install failed also because the table prefix was already in use in the DB.
Since the site was new, I emptied the DB and did a new install so all is well, but thought I should report the failures.