Search found 7901 matches

by atrol
31 Jan 2021, 11:32
Forum: Help
Topic: REST API always return error 500 Internal Server Error
Replies: 11
Views: 613

Re: REST API always return error 500 Internal Server Error

it was "layout_api.php" It's not recommended to change any of the original files. Your problem is a good example for this rule. Be also aware that you have to reapply those changes whenever you install a new Mantis version. All configuration should be done by using the configuration optio...
by atrol
31 Jan 2021, 11:22
Forum: General Discussion
Topic: Setting and sorting fields.
Replies: 1
Views: 283

Re: Setting and sorting fields.

Goto page "My Account" > "Manage Columns".
Look at columns names that start with "custom_" in section "All Available Columns".
Copy / paste the column name and add it to section "View Issues Columns"
Click "Update Columns" button.
by atrol
31 Jan 2021, 11:05
Forum: General Discussion
Topic: Mantis With Oracle Data Base ?.
Replies: 1
Views: 220

Re: Mantis With Oracle Data Base ?.

See https://mantisbt.org/docs/master/en-US/ ... e.versions
So yes, it should run.
But don't expect 1st class support for that.
AFAIK none of the current core developers uses Oracle to run Mantis.
by atrol
28 Jan 2021, 22:05
Forum: Help
Topic: Internal error during upgrade
Replies: 2
Views: 234

Re: Internal error during upgrade

Code: Select all

$g_db_type = 'mysql';
As a first step change to

Code: Select all

$g_db_type = 'mysqli';
Check your webserver and PHP logs for errors.
by atrol
27 Jan 2021, 12:03
Forum: Help
Topic: INTERNAL APPLICATION ERROR
Replies: 2
Views: 237

Re: INTERNAL APPLICATION ERROR

Thanks for reporting the root cause.

I implemented some months ago an admin check for this, which will be available starting from version 2.25.0.
https://mantisbt.org/bugs/view.php?id=26974
by atrol
21 Jan 2021, 16:17
Forum: Help
Topic: REST API always return error 500 Internal Server Error
Replies: 11
Views: 613

Re: REST API always return error 500 Internal Server Error

Glad to hear you fixed your problem.
ZaRToP wrote:
21 Jan 2021, 15:00
I found in one of the files I modified, I had a space before the <?php, I hadn't thought of looking in the other files.
Which file was it?

We check config_inc.php during runtime, so I would have expected you get also an issue in UI, but not just REST API.
by atrol
21 Jan 2021, 14:28
Forum: Help
Topic: REST API always return error 500 Internal Server Error
Replies: 11
Views: 613

Re: REST API always return error 500 Internal Server Error

This is what I get

Code: Select all

file config_inc.php
config_inc.php: PHP script, ASCII text
Double check that there is not any character in this file (and maybe other files you changed) before

Code: Select all

<?php
e.g. run

Code: Select all

 od -c config_inc.php
by atrol
21 Jan 2021, 12:04
Forum: Help
Topic: REST API always return error 500 Internal Server Error
Replies: 11
Views: 613

Re: REST API always return error 500 Internal Server Error

Your editor might have changed the encoding of the file when storing it.
It might now be UTF-8 with BOM, but it should be UTF-8 without BOM.
by atrol
21 Jan 2021, 11:42
Forum: Help
Topic: REST API always return error 500 Internal Server Error
Replies: 11
Views: 613

Re: REST API always return error 500 Internal Server Error

ZaRToP wrote:
21 Jan 2021, 10:03
Since yesterday afternoon ...
Did you change any configuration file (e.g. config_inc,php) yesterday?
by atrol
21 Jan 2021, 11:08
Forum: Help
Topic: REST API always return error 500 Internal Server Error
Replies: 11
Views: 613

Re: REST API always return error 500 Internal Server Error

Your web server and / or PHP logs might contain some more information what's happening.
by atrol
18 Jan 2021, 21:49
Forum: General Discussion
Topic: How to disable Timeline
Replies: 4
Views: 5507

Re: How to disable Timeline

Since quite a while there is option $g_timeline_view_threshold to disable Timeline.
https://www.mantisbt.org/bugs/view.php?id=19586
https://mantisbt.org/docs/master/en-US/ ... g.defaults
by atrol
12 Jan 2021, 19:11
Forum: General Discussion
Topic: Unable to Edit Email using Administrator Account
Replies: 3
Views: 285

Re: Unable to Edit Email using Administrator Account

Most of the options can be set in file config_inc.php and/or the database
For more information read the Adim Guide https://mantisbt.org/docs/master/en-US/ ... nfig.intro
by atrol
11 Jan 2021, 19:38
Forum: General Discussion
Topic: Unable to Edit Email using Administrator Account
Replies: 3
Views: 285

Re: Unable to Edit Email using Administrator Account

Maybe you have configured ldap login and set option use_ldap_email
by atrol
08 Jan 2021, 19:03
Forum: Deutsch
Topic: Bilder in Beschreibung einfügen
Replies: 1
Views: 648

Re: Bilder in Beschreibung einfügen

Welche Mantis Version ist im Einsatz?
by atrol
08 Jan 2021, 18:58
Forum: General Discussion
Topic: Mantis can't send e-mail
Replies: 2
Views: 335

Re: Mantis can't send e-mail

Enable email logging to check that mails are aded to the queue.
If they are added and the queue is empty after a short time, the problem is caused by the exchange server or some spam protection or the email client