Search found 20 matches

by ShadowKatmandu
09 Apr 2021, 17:37
Forum: General Discussion
Topic: Time tracking deprecation
Replies: 1
Views: 305

Time tracking deprecation

I read some time back that the time tracking feature was going to be deprecated. I found an old blog post which said it had been removed from the deprecated list, but as I could not find a list of deprecated features for Mantis, I wanted to confirm the status of this field / feature. Is time trackin...
by ShadowKatmandu
17 Sep 2020, 16:36
Forum: Help
Topic: Number of issues per page limitation
Replies: 0
Views: 2512

Number of issues per page limitation

Backend is Postgres. We are on version 2.24.2 of MantisBT. I also posted this in General Discussion, but with no replies there thought it might be useful to post here. In View Issues, if 1039 or more is entered in the Show box for the number of issues to display on a page, a 500 Internal Server erro...
by ShadowKatmandu
14 Sep 2020, 15:52
Forum: General Discussion
Topic: Number of issues per page limitation
Replies: 0
Views: 2716

Number of issues per page limitation

Backend is Postgres. We are on version 2.24.2 of MantisBT. In View Issues, if 1039 or more is entered in the Show box for the number of issues to display on a page, a 500 Internal Server error is received. In the error log, I see this: [Tue Aug 25 15:09:02 2020] [error] [client ip.ad.dre.ss] malform...
by ShadowKatmandu
18 Sep 2019, 13:32
Forum: General Discussion
Topic: Custom Functions Enumeration alternative?
Replies: 2
Views: 1821

Re: Custom Functions Enumeration alternative?

Thank you. I don't recall where I read that; it was a LONG time ago. I likely misread "config" for "core" and got confused after that.
by ShadowKatmandu
17 Sep 2019, 15:10
Forum: General Discussion
Topic: Custom Functions Enumeration alternative?
Replies: 2
Views: 1821

Custom Functions Enumeration alternative?

Following the documentation, I created 2 functions in core/custom_functions_api.php for enumerating 2 custom fields. However, whenever I do an upgrade to MantisBT, this file gets overwritten and I have to re-add my custom functions. Is there a way to add custom enumeration functions in a plugin that...
by ShadowKatmandu
05 Sep 2019, 19:25
Forum: General Discussion
Topic: Case insensitivity
Replies: 2
Views: 1907

Re: Case insensitivity

I understand the many ways to do this in a SQL query. That was not my question at all. To be specific: On the view issues page, there is a search box with an Apply Filter button next to it. This is a CASE SENSITIVE search. I gave technical details as to why this is so. There is functionality in Mant...
by ShadowKatmandu
04 Sep 2019, 15:41
Forum: General Discussion
Topic: Case insensitivity
Replies: 2
Views: 1907

Case insensitivity

We are using PG SQL for our backend, which is case-sensitive on queries. There is logic built into Mantis to do case insensitive queries for this; however, it requires a parameter be passed to the sql_like function to force it. There's a separate function, sql_ilike, to do this, but there is no circ...
by ShadowKatmandu
14 Dec 2017, 21:33
Forum: Help
Topic: PHP Fatal error: Call to undefined function html_page_top()
Replies: 6
Views: 4219

Re: PHP Fatal error: Call to undefined function html_page_t

Thank you!

I had already done register and hooks (the plugin wouldn't even try to work without them), but was unaware of the layout functions. They do exactly what I need!
by ShadowKatmandu
14 Dec 2017, 16:41
Forum: Help
Topic: PHP Fatal error: Call to undefined function html_page_top()
Replies: 6
Views: 4219

Re: PHP Fatal error: Call to undefined function html_page_t

I have added a menu item which links to https://www.domain.com/plugin.php?page=myplugin/plugin. This is not an event-based plugin.
by ShadowKatmandu
14 Dec 2017, 15:34
Forum: Help
Topic: PHP Fatal error: Call to undefined function html_page_top()
Replies: 6
Views: 4219

Re: PHP Fatal error: Call to undefined function html_page_t

All I am trying to do is have the standard MantisBT page appear, minus content. This doesn't involve core.php, other than it is required for Mantis stuff to show up. Meanwhile, I have altered my methodology a bit. This is a plugin I am developing. I have changed the way it is linked, so I don't need...
by ShadowKatmandu
13 Dec 2017, 20:41
Forum: Help
Topic: PHP Fatal error: Call to undefined function html_page_top()
Replies: 6
Views: 4219

PHP Fatal error: Call to undefined function html_page_top()

I am getting a PHP Fatal error: Call to undefined function html_page_top(). I am using MantisBT 2.8. Here is my code: require_once( '../../../core.php' ); // This is in a plugin, so this is where core.php is found for me require_api( 'access_api.php' ); require_api( 'authentication_api.php' ); requi...
by ShadowKatmandu
16 Jul 2015, 20:56
Forum: Help
Topic: Custom Function calls fail on View Issues Page
Replies: 3
Views: 3102

Re: Custom Function calls fail on View Issues Page

Apparently, there was a change between the two versions where core/custom_function_api does not load the same way. Custom enumeration functions are not recognized. I moved the default enumeration functions to custom_functions_inc and everything is peachy now. Thanks for the help. :)
by ShadowKatmandu
16 Jul 2015, 19:28
Forum: Help
Topic: Custom Function calls fail on View Issues Page
Replies: 3
Views: 3102

Re: Custom Function calls fail on View Issues Page

I checked that, too, when I started getting this error, and core/custom_functions_inc.php is the same in dev as it is in production. It contains the override functions while core/custom_function_api.php contains the default functions.
by ShadowKatmandu
14 Jul 2015, 23:09
Forum: Help
Topic: Custom Function calls fail on View Issues Page
Replies: 3
Views: 3102

Custom Function calls fail on View Issues Page

I am using Mantis 1.2.19. When I go to the View Issues page, I get three errors like this one: SYSTEM WARNING: 'call_user_func_array() expects parameter 1 to be a valid callback, function 'custom_function_default_enum_job_numbers' not found or invalid function name' in '/home/e-smith/files/ibays/tra...
by ShadowKatmandu
23 Apr 2015, 16:09
Forum: Customizations
Topic: Custom Menu Dropdown?
Replies: 1
Views: 3570

Custom Menu Dropdown?

I am thinking this is not possible, but what I want to do is to add a custom dropdown menu to the navigation, similar to the Jump to issue which is part of Mantis. I know I can add a link with $g_main_menu_custom_options and have done so, but I can't find a way to add a list of items. Is this possib...