Page 1 of 1

GaugeSupport Plugin install issue

Posted: 08 Mar 2023, 18:10
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;
}
}

Re: GaugeSupport Plugin install issue

Posted: 09 Mar 2023, 09:57
by cas
Which version of Gaugesupport are you using? Attached version 2.05

Re: GaugeSupport Plugin install issue

Posted: 13 Mar 2023, 17:17
by dregad
Probably best to use this https://github.com/mantisbt-plugins/GaugeSupport and report issues there.

Re: GaugeSupport Plugin install issue

Posted: 11 Apr 2023, 16:15
by colivarez
Thanks for the info. Now it installs and I can start trying it!