แสดงบทความที่มีป้ายกำกับ mantisBT แสดงบทความทั้งหมด
แสดงบทความที่มีป้ายกำกับ mantisBT แสดงบทความทั้งหมด

วันพุธที่ 9 ตุลาคม พ.ศ. 2556

Increase Mantis bug tracker summary field length.

Mantis bug tracker is good but with limit summary filed is not good for me. I need to expand from 128 character to 255 for can fill in more summary for me.

we have 3 place to change.
1. in Database open and go to "mantis_bug_table" in field "summary" expand from varchar(128) to varchar(255)
2. in  source page "bug_report_page.php" and "bug_update_advanced_page.php" go to
line contain
type="text" name="summary" size="105" maxlength="128"
and change it to
type="text" name="summary" size="105" maxlength="255"
u have to change this line in both files.

all done can test and enjoy with more summary field
hint : Current version i used is 1.2.15 and with Ms SQL 2012
then
"bug_report_page.php" change in line 475
and
"bug_update_advanced_page.php" change in line 577

วันศุกร์ที่ 13 กรกฎาคม พ.ศ. 2555

Upgrade Mantis 1.2.11 from 1.2.10 Problem.

I have problem because I set up PHP with IIS 7 and SQL Server 2008 R2.
After follow instruction just found some error and not correct update table.

so i recognise I have problem about APPLICATION WARNING #user_get_field() for NO_USER: before

so i fix by edit library\adodb\adodb.inc.php before upgrade database
anything work fine now.

see more details here http://pakorosprogramming.blogspot.com/2012/06/mantisbt-1210-iis-mssql-first-install.html

วันพฤหัสบดีที่ 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.