PDA

View Full Version : Admin->Tools->Server Info general.php line 80 error



michael_s
11-19-2009, 08:01 PM
Note: Attached Same as Description

Problem: Admin->Tools->Server Info "general.php line 80 error"

thanks to Standa David ... Fix found within
http://svn.oscommerce.com/jira/browse/OSC-991

add add this function to class osC_Database_mysqli in file: /includes/classes/database/mysqli.php

function returnVersion() {
return mysqli_get_server_info($this->link);
}

and then change
function osc_get_system_information() in file: /admin/includes/functions/general.php

Changed line 80 to

'db_version' => 'MySQL ' . (function_exists('mysql_get_server_info') ? $osC_Database->returnVersion() : ''),



More... (http://addons.oscommerce.com/info/7124)