View Issue Details

IDProjectCategoryView StatusLast Update
0028001mantisbtinstallationpublic2021-03-17 15:34
Reporterlbayle2 Assigned Toatrol  
PriorityhighSeverityblockReproducibilityalways
Status closedResolutionduplicate 
PlatformLinuxOSManjaro 
Product Version2.24.4 
Summary0028001: fresh Install error (install.php line 1005)
Description

Server: Linux Manjaro
PHP : 8.0.2

UseCase:

  • On a fresh 2.24.4 install (not an upgrade)

  • mantis/admin/install.php all "GOOD"

  • login as administrator
    => page is redirected to "Pre-Installation check" (mantis/admin/install.php)

  • set admin login & password, press "install/upgrade database"
    => SYSTEM WARNING
    'Trying to access array offset on value of type null' in '/srv/http/prjmngt/mantisbt-2.24.2/admin/install.php' line 1005

  • create a project

  • create an issue

  • view issue (mantis/view.php?id=1)

APPLICATION ERROR 0000401
Échec de la requête de base de données. L’erreur renvoyée par la base de données était nº 1054 : Unknown column 'bugnote_id' in 'field list' pour la requête : SELECT id, title, diskfile, filename, filesize, file_type, date_added, user_id, bugnote_id
FROM mantis_bug_file_table
WHERE bug_id=?
ORDER BY date_added.

I get this warning at the end of the installation procedure (/mantis/admin/install.php)

TagsNo tags attached.

Relationships

duplicate of 0027800 closeddregad install.php throws SYSTEM WARNINGs 

Activities

lbayle2

lbayle2

2021-03-04 16:26

reporter   ~0065173

related to 0026465

lbayle2

lbayle2

2021-03-04 16:35

reporter   ~0065174

I confirm that there is no "bugnote_id" field in the mantis_bug_file_table

atroladmin

atroladmin

2021-03-04 17:02

administrator   ~0065175

I suppose your issue is fixed when using PHP 7.x or when trying a nightly build where 0027800 is fixed.

lbayle2

lbayle2

2021-03-05 19:40

reporter   ~0065184

Yes, nightbuild 2.25.0-dev c2ed5da has no such problem, please close this issue.
sorry for not having tested that before reporting the issue

atrol

atrol

2021-03-05 22:05

developer   ~0065186

Now also fixed in 2.24.5 which has just been released.