View Issue Details

IDProjectCategoryView StatusLast Update
0006672mantisbtinstallationpublic2007-05-08 03:44
Reportermark-zawa Assigned Tothraxisp  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.0.0 
Fixed in Version1.0.1 
Summary0006672: install.php assumes mysql extension, fails with mysqli extension
Description

The installer, install.php, does a function_exists for mysql_connect, and fails if it is false. People with only the mysqli extension installed will not be able to get past the "check and install databse" page of the installer.

TagsNo tags attached.

Relationships

has duplicate 0006673 closedvboctor install.php assumes mysql extension, fails with mysqli extension 

Activities

mark-zawa

mark-zawa

2006-02-05 22:58

reporter   ~0012092

Last edited: 2006-02-06 20:15

When I modified install.php to bypass the function_exists problem, the database was installed, but not without another error:

Fatal error: Call to undefined function mysql_real_escape_string() in /path/to/mantis/core/database_api.php on line 298

mark-zawa

mark-zawa

2006-02-06 02:11

reporter   ~0012093

It turns out that when my hacked version was run, only one table was created in the database: mantis_config_table

thraxisp

thraxisp

2006-02-07 22:09

reporter   ~0012111

Fixed in CVS.

admin/install.php ->1.22.10.1

ported to HEAD
admin/install.php -> 1.24