วันพฤหัสบดีที่ 7 มิถุนายน พ.ศ. 2555

MantisBT 1.2.10 IIS MsSQL First Install cannot login.

Today we have problem to use mantisBT 1.2.10 with our ms sql express server. Yes anything work fine except we can't log in with u/p Administrator/root and it show error about

APPLICATION WARNING #user_get_field() for NO_USER:

yes it look like only warning but it critical. I spend half day to fix this. and this solution.

go to library\adodb\adodb.inc.php in your mantis folder and edit line
        define('ADODB_FETCH_ASSOC',2);
to
        define('ADODB_FETCH_ASSOC',0);
for me this line is 110

save and come in login page again now Application warning is gone.
and now you can use default administrator login.

ไม่มีความคิดเห็น: