View Issue Details

IDProjectCategoryView StatusLast Update
0021195mantisbtinstallationpublic2016-07-09 19:29
Reporterajtruckle Assigned Toatrol  
PrioritynormalSeverityminorReproducibilityhave not tried
Status closedResolutionno change required 
Summary0021195: Why am I getting this error now?
Description

http://www.publictalksoftware.co.uk/mantisbt/

APPLICATION ERROR #400

Database connection failed. Error received from database was #0: PHP Support for database is not enabled.

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.

Activities

atrol

atrol

2016-07-04 13:09

developer   ~0053503

ajtruckle,

The provided information is not sufficient to provide any help in resolving the issue. A complete and detailed description is required for the support team to get a clear understanding of the problem.

Please explain what you do, what are the results you expect to get and what you actually get.

Also provide detailed, step-by-step instructions to reproduce the issue; the additional information listed below may also be useful:

  • Exact version of MantisBT, PHP, Database, Web server, Browser and Operating System
  • Relevant customizations (e.g. changes in config_inc.php, etc)
  • Installed plugins or custom functions ?
  • Was the MantisBT source code modified in any way ?
ajtruckle

ajtruckle

2016-07-04 14:12

reporter   ~0053504

What is the official stance on the PHP versions? My domain provided is removing 5.5 and are offering 5.6 and 7.0. Can you please clarify?

Thanks.

atrol

atrol

2016-07-04 14:54

developer   ~0053505

Have a look at 0020499
Based on this discussion I recommend to use PHP 5.6 for Mantis 1.2.x and PHP 7.x for Mantis 1.3.x.

ajtruckle

ajtruckle

2016-07-05 04:28

reporter   ~0053513

Thanks. :)

atrol

atrol

2016-07-05 04:36

developer   ~0053514

Feel free to reopen this issue or to enter a new one if you still get the error.

This message might have been caused by using PHP 7 and choosing "mysql" in installer:
"PHP Support for database is not enabled."

The "mysql" extension has been removed in PHP 7. You have to choose "mysqli" if you want to run 1.2 with it.