How do I get around "Fatal error: Call...getEnterBugURL

Ask community to help.

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
Flores
TestLink user
Posts: 3
Joined: Thu May 31, 2007 7:19 pm

How do I get around "Fatal error: Call...getEnterBugURL

Post by Flores »

Fatal error: Call to a member function getEnterBugURL() on a non-object in /opt/intranet/app/testlink/lib/execute/bug_add.php on line 42

config.inc.php:
define('TL_INTERFACE_BUGS', 'BUGZILLA');
$g_bugInterfaceOn = true;
$g_bugInterface = null;

bugzilla.cfg.php:
define('BUG_TRACK_DB_HOST', 'host');
define('BUG_TRACK_DB_NAME', 'bugs');
define('BUG_TRACK_DB_USER', 'bugs');
define('BUG_TRACK_DB_PASS', 'asterbugs');
define('BUG_TRACK_DB_TYPE', 'mysql');
#define('BUG_TRACK_HREF', "http://host/bugzilla/show_bug.cgi?id=");
define('BUG_TRACK_HREF', "http://host.com/bugzilla/show_bug.cgi?id=");
define('BUG_TRACK_ENTER_BUG_HREF',"http://host.com/bugzilla/");
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

check that you have enable use of BST integration on config.inc.php
Flores
TestLink user
Posts: 3
Joined: Thu May 31, 2007 7:19 pm

Post by Flores »

Hi fman:

I assume you mean BTS instead of BST.

As indicated in my initial post that (define('TL_INTERFACE_BUGS', 'BUGZILLA');) is defined.

Anymore suggestions?
fman
Member of TestLink Community
Posts: 3123
Joined: Tue Nov 15, 2005 7:19 am

Post by fman »

I've read you post to fast => wihout attention.
Only possibility: start addind echos and printr to debug the code, to undertand why the object is not created.

DON'T Change $g_bugInterfaceOn to true, leave it false please,
because is supposed will be setted to true by another piece of
code, maybe this is the problem
Flores
TestLink user
Posts: 3
Joined: Thu May 31, 2007 7:19 pm

Post by Flores »

I've changed $g_bugInterfaceOn = true; back to $g_bugInterfaceOn = false; .

Now I do not see the little "bug" icon from TestLink >> Execute >> <someTestCase>. Which is the reason why I tried to change the parameter to true.

Bottom line, my install doesn't see to integrate w/ Bugzilla, although all the parameters in the config files are correct as indicated in my original post.

Any more ideas?
Post Reply