Search found 8374 matches

by atrol
08 Mar 2024, 12:40
Forum: General Discussion
Topic: Difference between dates
Replies: 3
Views: 663

Re: Difference between dates

Please double-check that you changed the right file.
Maybe you are running multiple instances and changed the wrong one.
by atrol
08 Mar 2024, 11:07
Forum: General Discussion
Topic: Difference between dates
Replies: 3
Views: 663

Re: Difference between dates

Add the following line to file config_inc.php and adjust to your needs

Code: Select all

$g_backward_year_count = 4;
by atrol
07 Mar 2024, 22:13
Forum: Help
Topic: Invalid custom field "custom_field" on valid custom field
Replies: 2
Views: 628

Re: Invalid custom field "custom_field" on valid custom field

Hard to tell something without knowing the definition of "affects_security".
Does it work if you don't set "affects_security"?
by atrol
06 Mar 2024, 14:56
Forum: Help
Topic: Problem with upgrade
Replies: 6
Views: 1454

Re: Problem with upgrade

Concerning "path" see https://www.mantisbt.org/docs/master/en-US/Admin_Guide/html-desktop/#admin.config.path $g_path is set automatically since many years, but to fix an old security related bug, it's now recommened to set the option in config_inc.php. The warning for this (and the changed...
by atrol
06 Mar 2024, 09:59
Forum: Help
Topic: Problem with upgrade
Replies: 6
Views: 1454

Re: Problem with upgrade

Looks like a bug.
What's your PHP setting of allow-url-fopen? Is it changed from default 1 to another value?
https://www.php.net/manual/en/filesyste ... -url-fopen

As a temporary workaround you could also change line 504 in install.php to

Code: Select all

			$t_hard_fail = false;
by atrol
05 Mar 2024, 14:24
Forum: Help
Topic: Problem with upgrade
Replies: 6
Views: 1454

Re: Problem with upgrade

It seems you did not run admin/install.php to upgrade the database, or this step failed.
by atrol
01 Mar 2024, 15:10
Forum: General Discussion
Topic: Mantisbt 2.0 priority as images
Replies: 3
Views: 3409

Re: Mantisbt 2.0 priority as images

See my note above how to configure.
If this is not what you need, you have to change source code of function icon_get_status_icon in file icon_api.php.
by atrol
01 Mar 2024, 08:19
Forum: General Discussion
Topic: Where is REST API 'Authorization' token checking in php?
Replies: 1
Views: 776

Re: Where is REST API 'Authorization' token checking in php?

Run admin/check/index.php
There you might get some errors or warnings that might help.
by atrol
20 Feb 2024, 22:35
Forum: Announcements
Topic: MantisBT 2.26.1 released
Replies: 0
Views: 2853

MantisBT 2.26.1 released

MantisBT 2.26.1 released, have a look at our Blog for more details.

This is a security and maintenance release.
All installations are strongly advised to upgrade as soon as possible!
by atrol
20 Feb 2024, 18:41
Forum: General Discussion
Topic: Where is Administration www8.mantisbt.org??
Replies: 1
Views: 1524

Re: Where is Administration www8.mantisbt.org??

Feel free to write a private message via forum to me.
by atrol
15 Feb 2024, 21:09
Forum: Help
Topic: Move mantisBT to another Server
Replies: 4
Views: 2323

Re: Move mantisBT to another Server

dihaji wrote: 15 Feb 2024, 16:29so I think that i need juste to move files to a new server (php files, configuration files ...etc) and I must install the same php version (old server use php 7.2)
Right, that should work.
by atrol
15 Feb 2024, 11:11
Forum: Help
Topic: Does Mantis's API get an issue only through bug id?
Replies: 1
Views: 1466

Re: Does Mantis's API get an issue only through bug id?

Which other field do you want to use for it? There is no other field in MantisBT that can be used as a primary key for an issue than the bud id, so any other field could deliver multiple issues. Certainly not exactly what you are asking for, but might help some way. You can get all issues matching a...
by atrol
13 Feb 2024, 18:29
Forum: Help
Topic: Move mantisBT to another Server
Replies: 4
Views: 2323

Re: Move mantisBT to another Server

Search the forum for "migration" and read the Admin Guide.
Finally it's more or less just a database export / import and coyping the attachments from old to new server if attachments are not stored in database.