View Issue Details

IDProjectCategoryView StatusLast Update
0033084mantisbtinstallationpublic2023-11-19 08:06
ReporteruserAnonimo Assigned Todregad  
PriorityurgentSeveritytrivialReproducibilityN/A
Status closedResolutionno change required 
PlatformapacheOSOracle linuxOS Version8
Product Version2.26.0 
Summary0033084: The summary section of mantis when installing it sends me an error message
Description

When installing mantis, the Summary section sends an internal application error, I reviewed the logs but did not find the error specifically, Mantis was deployed on an Apache server installed on Oracle Linux 8.
Simply installing it for the first time immediately sends an error message.

TagsNo tags attached.
Attached Files
ResumenMantis.png (35,887 bytes)   
ResumenMantis.png (35,887 bytes)   

Relationships

related to 0026974 closedatrol Required PHP json extension not documented and checked 

Activities

dregad

dregad

2023-11-03 09:51

developer   ~0068284

Additional, debugging information is needed to help understanding the problem. Please follow these steps:

  1. temporarily configure your system as follows:
    $g_display_errors = array(
    E_WARNING => 'halt',
    E_NOTICE => 'halt',
    E_USER_ERROR => 'halt',
    E_USER_WARNING => 'halt',
    E_USER_NOTICE => 'halt'
    );
    $g_show_detailed_errors = ON;

WARNING - SECURITY RISK: the 'show_detailed_errors' config can cause MantisBT to display sensitive information about your system. We recommend to restrict its activation to a Test environment, only for as long as necessary. If possible, do not turn it ON globally, instead limit it for specific user(s) using the Manage Configuration page.

  1. Reproduce the error

If the output does not help you resolving the issue and you need further assistance,

  1. save the output of the error screen, preferably as an HTML page (not a screenshot !)
  2. be careful to remove/mask any confidential information if needed
  3. upload the results here

Also provide details about your setup (PHP version, database type and version), and check for any additional error information in the PHP log file.

userAnonimo

userAnonimo

2023-11-03 11:08

reporter   ~0068285

This is the error you are getting in the Summary section

error en pagina resumen.png (120,747 bytes)   
error en pagina resumen.png (120,747 bytes)   
userAnonimo

userAnonimo

2023-11-03 12:46

reporter   ~0068286

The error was solved by installing the sudo yum install php-json dependency on the virtual machine, and enabling it in the php.ini file. Thanks to the visualization of the error, it was solved, thank you very much.

atrol

atrol

2023-11-03 13:57

developer   ~0068287

Last edited: 2023-11-03 13:59

@userAnonimo the admin guide is telling to run admin/check after installation or upgrade, see https://www.mantisbt.org/docs/master/en-US/Admin_Guide/html-desktop/#admin.install.postcommon
There you would have seen that the PHP extension is needed.