Report a bug #344

package php5-mysql must be installed even for PostgreSQL database

Added by Anonymous over 5 years ago. Updated over 4 years ago.

Status:ClosedStart date:2014-12-22
Priority:NormalDue date:
Assignee:Aaron% Done:

100%

Category:Bug
Target version:HRM Development - 3.3.0

Description

The installation manual states that the Debian package php5-mysql only needs to be installed, when using MySQL as the backend database. However, the function addNewUser in the file inc/Database.inc.php throws an error, if the package is not installed, because the function mysql_real_escape_string is not defined. Installing the package fixes the error. The manual should reflect this or a different sanitization function should be used.

History

#2 Updated by Aaron over 5 years ago

  • Assignee set to Aaron
  • Target version set to 3.3.0

#3 Updated by Aaron almost 5 years ago

  • Status changed from New to Resolved - Test / Merge
  • Target version changed from 3.3.0 to 3.2.3
  • % Done changed from 0 to 100

#4 Updated by Aaron almost 5 years ago

The call to mysql_real_escape_string() was superfluous since the argument strings were already validated/sanitized by the Validator class.

#5 Updated by Aaron over 4 years ago

  • Target version changed from 3.2.3 to 3.3.0

#6 Updated by Aaron over 4 years ago

  • Status changed from Resolved - Test / Merge to Closed

Also available in: Atom PDF