Login:    Password:        Register  |  Lost Password?   


DataLife Engine v.7.2 Final Release MID Team English - Russian [Updated]

Date: 16 August 2008  | Author : D1  

alt

For Upgrade:
Support non-standard ports in MySQLi
Dear friends.
It was detected a problem whereby if MySQLi server uses non-standard port for connecting, for example, if your hoster as the address to MySQL announced address website.ru: 3307, the script can not connect these parameters to the database. This problem exists only if you use the connection with non-standard port, and only if you use MySQLi extension to connect to the database

Error in release: all versions supporting MySQLi

The manual correction:

Open : engine/classes/mysqli.class.php

Find:
if(!$this->db_id = @mysqli_connect($db_location, $db_user, $db_pass, $db_name)) {


Replace:
$db_location = explode(":", $db_location);

        if ($db_location[1]) {

            $this->db_id = @mysqli_connect($db_location[0], $db_user, $db_pass, $db_name, $db_location[1]);

        } else {

            $this->db_id = @mysqli_connect($db_location[0], $db_user, $db_pass, $db_name);

        }

        if(!$this->db_id) {




Related News:

  • SQL Script Builder v1.6.4.26
  • Teach Yourself PHP, MySQL and Apache: All in One, Third Edition
  • PHP Report Maker v3.0.0.0
  • DataLife Engine 7.0 Final Release [Null] [English - Russian]
  • DataLife Engine v5.5 Final Release
  • Virtual Modem Pro 3.0.3.129
  • Your IP Helper Program 3.4
  • XtraUpload 1.5.3 VST
  • AMac Address Change 5.4
  • DBConvert for MS Access & MSSQL 3.1.0
  • Information

    Members of Guest cannot leave comments.