View Issue Details

IDProjectCategoryView StatusLast Update
0028316mantisbtupgradepublic2021-05-01 14:33
Reporterildefons Assigned Todregad  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionunable to reproduce 
Product Version2.25.0 
Summary0028316: Login fails after upgrade
Description

Dear Mantis Maintainer,

I run a selfhosted Mantis instance with a MariaDB 10.5 as database backend. It works fine with version 2.21.0, which I currently have, but when I upgrade to 2.25.0, none of the users can login any longer. After entering the password, it just shows a grey page. The webconsole shows the error below.
No errors are logged server side and the database migration procedure, as well as the checks all completed successfully.
I am a bit at a loss here, how I can even debug this.

Additional Information
Uncaught ReferenceError: List is not defined
    <anonymous> http://[redacted].com:30331/js/common.js:60
    jQuery 4
        i
        fireWith
        ready
        J

PHP 7.3
Apache 2.4.38
MariaDB 10.5
Firefox 78.9.0esr

TagsNo tags attached.

Activities

dregad

dregad

2021-04-15 13:24

developer   ~0065379

Looks like list.js javascript was not loaded

ildefons

ildefons

2021-04-19 03:45

reporter   ~0065394

Last edited: 2021-04-19 04:01

Hi @dregad,
thanks for the quick reply. Indeed, list.js was not loaded. In fact the entire <div id="main-container" ...></div> element is missing.
Is this related to running PHP 7.3? From this announcement, I was under the impression, that Mantis 2.25.0 would run under either PHP 5.x or 7.x: https://mantisbt.org/blog/archives/mantisbt/678

The older version I had before is running just fine, but uses PHP 5.6 and Apache 2.4.25.

Edit: I did some more testing with different PHP/Mantis versions:
PHP 5.6 + Mantis 2.25.0 -- same problem
PHP 7.3 + Mantis 2.24.4 -- works fine

dregad

dregad

2021-04-19 04:39

developer   ~0065395

I don't think the problem it is related to PHP version, which seems to be confirmed by the information you just provided.

PHP 7.3 (and later versions) are supported; I've been using 7.4 and 8.0 for months myself (the latter on my dev box only).

I am not able to reproduce this behavior with a clean install, so I guess the problem is specific to your environment.

ildefons

ildefons

2021-04-19 05:05

reporter   ~0065396

Which PHP extensions do you have installed? Maybe I am missing something, I have: gd mbstring pdo pdo_mysql mysqli pgsql ldap soap?

dregad

dregad

2021-04-21 04:18

developer   ~0065413

Please refer to the Admin Guide for the list of required extensions.