Did a clean install of 0.9.5 final, then uploaded the latest 0.9.7 from SVN and tried an upgrade.
It does not find the config.inc.php file from the original manager/includes. I don’t see a huge difference in the files, it should be possible to at least grab the database info from the original in manager/includes.
I added this to the index.php in the /install folder, and it got past that initial hurdle.
Line 67:
} elseif (file_exists("../manager/includes/config.inc.php")) {
include "../manager/includes/config.inc.php";
// We need to have all connection settings - tho prefix may be empty so we have to ignore it
if ($dbase) {
if(!@$conn = mysql_connect($database_server, $database_user, $database_password)) {
$upgradeable = 0;
}
$upgradeable = 1;
}
Next step, to get the install script to actually use this for the upgrade process! Stay tuned...
Added the following at around line 490 (after the above addition):
// connect to the database
if($installMode==1) {
if (file_exists("../core/config/config.inc.php")) {
include "../core/config/config.inc.php";
} elseif (file_exists("../manager/includes/config.inc.php")) {
include "../manager/includes/config.inc.php";
}
}
else {
// get db info from post
Ugh. It sinks into a morass of javascript.