zerglordyzj 发表于 2011-11-8 11:15:22

TESTLINK集成MANTIS后无法看到小虫子图标!救命啊!!!

本帖最后由 zerglordyzj 于 2011-11-8 11:16 编辑

我无语了,搞了两天了,这个小虫子就是死活不出来。百度上的各种文章都被我看光了,这小虫子还是不出来!WHO CAN HELP ME?!!

我就想知道,到底是哪一步是让小虫子图标出现的?有这两个键值:
$g_bugInterfaceOn = false;
$g_bugInterface = null;
这两个键值还出现在两个文件中,一个是config.inc;一个是int_bugtracking。这两个文件中都有这两个键值,网上的很多文章,有的说要改,有的说不改。我都试过了:都改,都不改,只改一边。但是不管我怎么试,都不行啊。

请各位帮帮忙,在线等人来救我了。
附上一点我其它的设置,这都不可能有什么问题的吧:

//mantis.cfg
//Set the bug tracking system Interface to MANTIS 0.19.1
//also tested with MANTIS 1.0.0.a3

/** The DB host to use when connecting to the mantis db */
define('BUG_TRACK_DB_HOST', '10.55.24.168');

/** The name of the database that contains the mantis tables */
define('BUG_TRACK_DB_NAME', 'bugtracker');

/** The DB type being used by mantis
values: mysql,mssql,postgres
*/
define('BUG_TRACK_DB_TYPE', 'mysql');

/** The DB password to use for connecting to the mantis db */
define('BUG_TRACK_DB_USER', 'admin');
define('BUG_TRACK_DB_PASS', 'admin');


/* link of the web server for mantis*/
/* anonymous login into mantis has to be turned on, and a mantis user has to created with viewer rights to all public projects
/* Change the following in your mantis config_inc.php (replace dummy with your created user)
        # --- anonymous login -----------
        # Allow anonymous login
        $g_allow_anonymous_login        = ON;
        $g_anonymous_account                = 'dummy';
*/
define('BUG_TRACK_HREF', "http://10.55.24.168/mantis/view.php?id=");

/** link to the bugtracking system, for entering new bugs */
define('BUG_TRACK_ENTER_BUG_HREF',"http://10.55.24.168/mantis/");


//config.inc
/* */
/**
* TestLink collaborates with bug tracking systems to check if displayed bugs resolved,
* verified, and closed reports.
*
* Note: Use this option to check if a bug interface is enabled, if so every
* page using bug tracking MUST include int_bugtracking.php to make the
* connection. The variable bugInterfaceOn is only set when a connection is made
*
* @var string $g_interface_bugs = [
* 'NO'      : no bug tracking system integration (DEFAULT)
* 'BUGZILLA': edit configuration in TL_ABS_PATH/cfg/bugzilla.cfg.php
* 'MANTIS'    : edit configuration in TL_ABS_PATH/cfg/mantis.cfg.php
* 'JIRA'      : edit configuration in TL_ABS_PATH/cfg/jira.cfg.php
* 'JIRASOAP': edit configuration in TL_ABS_PATH/cfg/jira.cfg.php
* 'TRACKPLUS' : edit configuration in TL_ABS_PATH/cfg/trackplus.cfg.php
* 'EVENTUM'   : edit configuration in TL_ABS_PATH/cfg/eventum.cfg.php
* 'SEAPINE'   : edit configuration in TL_ABS_PATH/cfg/seapine.cfg.php
* 'GFORGE'    : edit configuration in TL_ABS_PATH/cfg/gforge.cfg.php
* 'FOGBUGZ'   : edit configuration in TL_ABS_PATH/cfg/fogbugz.cfg.php
* 'YOUTRACK' : edit configuration in TL_ABS_PATH/cfg/youtrack.cfg.php
* ]
*/
$g_interface_bugs = 'MANTIS';

zerglordyzj 发表于 2011-11-8 11:17:04

自己沙发先!

zerglordyzj 发表于 2011-11-9 10:28:20

唉,还是自己搞定了。MANTIS.CFG.PHP里面的MANTIS数据库用户名密码,我填成MANTIS平台的用户名密码了。

liuyao205 发表于 2012-5-9 11:33:36

mantis.cfg.php配置文件如下:

<?php
/**
* TestLink Open Source Project - http://testlink.sourceforge.net/
* $Id: mantis.cfg.php,v 1.7.2.1 2007/12/07 11:33:30 franciscom Exp $
*
* Constants used throughout TestLink are defined within this file
* they should be changed for your environment
*
* 20051229 - scs - added DEFINE for the DB-Type
*/

//Set the bug tracking system Interface to MANTIS 0.19.1
//also tested with MANTIS 1.0.0.a3

/** The DB host to use when connecting to the mantis db */
define('BUG_TRACK_DB_HOST', '192.168.18.125');

/** The name of the database that contains the mantis tables */
define('BUG_TRACK_DB_NAME', 'mantis');

/** The DB type being used by mantis
values: mysql,mssql,postgres
*/
define('BUG_TRACK_DB_TYPE', 'mysql');

/** The DB password to use for connecting to the mantis db */
define('BUG_TRACK_DB_USER', 'root');
define('BUG_TRACK_DB_PASS', 'root');


define('BUG_TRACK_DB_CHARSET',"UTF-8");
// define('BUG_TRACK_DB_CHARSET',"gb2312");
// define('BUG_TRACK_DB_CHARSET',"UTF-8");



/* link of the web server for mantis*/
/* anonymous login into mantis has to be turned on, and a mantis user has to created with viewer rights to all public projects
/* Change the following in your mantis config_inc.php (replace dummy with your created user)
*/
        # --- anonymous login -----------
        # Allow anonymous login
        $g_allow_anonymous_login        = ON;
        $g_anonymous_account                = 'dummy';

define('BUG_TRACK_HREF', "http://192.168.18.125:82/view.php?id=");

/** link to the bugtracking system, for entering new bugs */
define('BUG_TRACK_ENTER_BUG_HREF',"http://192.168.18.125:82");
?>

这个没有问题吧,我的也是无法显示小虫。

longsame 发表于 2014-6-12 16:39:35

我的跟楼上的一样也没显示,请解呢
页: [1]
查看完整版本: TESTLINK集成MANTIS后无法看到小虫子图标!救命啊!!!