View Issue Details

IDProjectCategoryView StatusLast Update
0027767mantisbtinstallationpublic2021-01-09 16:55
Reporterveenee Assigned Todregad  
PrioritynormalSeverityblockReproducibilityhave not tried
Status closedResolutionno change required 
Product Version2.24.3 
Summary0027767: System warning upon installation

'Use of undefined constant ODBC_BINMODE_RETURN - assumed 'ODBC_BINMODE_RETURN' (this will throw an Error in a future version of PHP)' in 'C:\inespub\wwwroot\mantis\vendor\adodb\adodb-php\' line 4898
Please use the "Back" button in your web browser to return to the previous page. There you can correct whatever problems were identified in this error or select another action. You can also click an option from the menu bar to go directly to a new section.

TagsNo tags attached.




2020-12-17 10:38

developer   ~0064806

This constant is defined by the ODBC database extension. If it is not defined, then it means the extension is not installed in your system's PHP.

That being said, in ADOdb this constant is only referenced in the ODBC and ADS drivers, which are not used or supported by MantisBT, so I'm wondering how you could get this error.

A full stack trace may 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


2020-12-27 07:16

developer   ~0064848


You did not provide any feedback; I am therefore resolving this issue as "no change required".

Feel free to reopen the issue at a later time and provide the requested information.