Bug tracker

mysql_version did not exist in install_mod.php (fix completed in vcs)

first time i installed that without quickinstall and noticed the same error as reported here
http://www.phpbb.com/bugs/blinky/37505
once i did below it was ok
Code: Select all
      // If mysql is chosen, we need to adjust the schema filename slightly to reflect the correct version. ;)
       if ($dbms == 'mysql')
       {
-         if (version_compare($db->mysql_version, '4.1.3', '>='))
+         if (version_compare($db->sql_server_info(true), '4.1.3', '>='))
          {
             $available_dbms[$dbms]['SCHEMA'] .= '_41';
          }


btw, i got an undefined constant error as well for WRITE_FTP etc so put the 3 defines in
Code: Select all
define('WRITE_DIRECT', 1);
define('WRITE_FTP', 2);
define('WRITE_MANUAL', 3);


thought i mention them as well in case they should be in the install_mod.php as well

Comments / History

Changed ticket status from "New" to "Fix in progress"

Action performed by A_Jelly_Doughnut (Former Team Member) on Dec 7th 2008, 14:13

Assigned ticket to user "A_Jelly_Doughnut"

Action performed by A_Jelly_Doughnut (Former Team Member) on Dec 7th 2008, 14:13

Changed ticket status from "Fix in progress" to "Fix completed in SVN"

Action performed by A_Jelly_Doughnut (Former Team Member) on Dec 7th 2008, 21:29

Ticket details