1. Lock your site with basic authentication of Apache
2. Upload php script under qa-include folder after confirming userid of super admin with phpMyAdmin.
Script file name example: qa-reset-password.php
Code:
<?php
require_once './qa-base.php';
require_once './qa-db-users.php';
$userid = '1'; // Set userid of super admin.
$password = '12345'; // Change your favorite password.
qa_db_user_set_password($userid, $password);
qa_db_user_set($userid, 'emailcode', '');
3. Access script with your browser. e.g.
http://your_q2a_site/qa-include/qa-reset-password.php
4. Login as super admin. (password: "12345")
5. Change password with account page (password change form)
6. Delete upper script (qa-include/qa-reset-password.php) with FTP/SSH