diff -r 2cb1c8a6d3db -r 340c81fdd350 install/upgrade.php --- a/install/upgrade.php Thu Mar 06 23:04:45 2008 -0500 +++ b/install/upgrade.php Thu Mar 06 23:27:50 2008 -0500 @@ -101,6 +101,8 @@ if ( !$session->user_logged_in ) { $result = $session->login_without_crypto($_POST['username'], $_POST['password'], false, USER_LEVEL_MEMBER); + echo 'Session manager returned error:' . '
' . print_r($result, true) . '
'; + exit(); } $result = $session->login_without_crypto($_POST['username'], $_POST['password'], false, USER_LEVEL_ADMIN); if ( $result['success'] ) @@ -121,11 +123,11 @@ if ( isset($result) ) { - echo 'Session manager returned error: ' . $result['error'] . ''; + echo 'Session manager returned error:' . '
' . print_r($result, true) . '
'; } ?> -

You need an active admin session to continue.

+

You need user_logged_in ) echo 'to be logged in and have '; ?>an active admin session to continue.

Username:   
Password: