
1. In mantis config_inc.php I added the following lines:
# --- anonymous login -----------
# Allow anonymous login
$g_allow_anonymous_login = ON;
$g_anonymous_account = 'mar';
2. In <my testlink main directory>\cfg\mantis.cfg.php. I added the following lines:
//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', 'extremo'); //It´s my localhost name
/** The name of the database that contains the mantis tables */
define('BUG_TRACK_DB_NAME', 'mantisdb'); //It´s my mantis database
/** The DB type being used by mantis
values: mysql,mssql,postgres
*/
define('BUG_TRACK_DB_TYPE', 'mysql');
/** The DB password and user to use for connecting to the mantis db */
define('BUG_TRACK_DB_USER', 'mantis');
define('BUG_TRACK_DB_PASS', 'maryebra');
//I allowed this user to access mantis db by the following mysql instruction:
// mysql> grant all on mantisbd.* to ‘mantis’@’extremo’ identified by ‘maryebra’
#define('BUG_TRACK_DB_CHARSET',"windows-1250");
// define('BUG_TRACK_DB_CHARSET',"gb2312");
// define('BUG_TRACK_DB_CHARSET',"UTF-8");
define('BUG_TRACK_HREF', "http://extremo/mantis/view.php?id=");
/** link to the bugtracking system, for entering new bugs */
define('BUG_TRACK_ENTER_BUG_HREF',"http://extremo/mantis/");
3. I copied the following line from config.inc.php to custom_config.inc.php.
$g_interface_bugs='MANTIS'
Then when I go to execute a test case in testlink and check that the test case was failed, there is no sign about that the BTS is enabled; the bug management is not available. I don´t know what happens, so I will be very grateful if you give me any answer.