GaugeSupport Plugin install issue

General discussion about MantisBT Plugins

Moderators: Developer, Contributor

Post Reply
colivarez
Posts: 16
Joined: 03 Feb 2020, 20:38

GaugeSupport Plugin install issue

Post by colivarez »

I get the following message when trying to install GaugePlugin:



APPLICATION WARNING #100

Configuration option "plugin_GaugeSupport_gaugesupport_excl_status" not found. (in 'C:\inetpub\wwwroot\mantisbt\core\config_api.php' line 191)
Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.

What is a remedy? I'm currently running Mantisbt 2.25.5

That area of the config_api.php file contains the following code:

*
* @param string $p_option Configuration option to retrieve.
* @param string $p_default Default value if not set.
* @return mixed
*/
function config_get_global( $p_option, $p_default = null ) {
global $g_cache_config_eval;

$t_var_name = 'g_' . $p_option;
if( isset( $GLOBALS[$t_var_name] ) ) {
if( !isset( $g_cache_config_eval[$t_var_name] ) ) {
$t_value = config_eval( $GLOBALS[$t_var_name], true );
$g_cache_config_eval[$t_var_name] = $t_value;
} else {
$t_value = $g_cache_config_eval[$t_var_name];
}
return $t_value;
} else {
# unless we were allowing for the option not to exist by passing
# a default, trigger a WARNING
if( null === $p_default ) {
error_parameters( $p_option );
line 191-> trigger_error( ERROR_CONFIG_OPT_NOT_FOUND, WARNING );
}
return $p_default;
}
}
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: GaugeSupport Plugin install issue

Post by cas »

Which version of Gaugesupport are you using? Attached version 2.05
Attachments
GaugeSupport205.zip
(52.05 KiB) Downloaded 1454 times
dregad
Developer
Posts: 75
Joined: 26 Jul 2010, 14:24

Re: GaugeSupport Plugin install issue

Post by dregad »

Probably best to use this https://github.com/mantisbt-plugins/GaugeSupport and report issues there.
colivarez
Posts: 16
Joined: 03 Feb 2020, 20:38

Re: GaugeSupport Plugin install issue

Post by colivarez »

Thanks for the info. Now it installs and I can start trying it!
Post Reply