Community Add-Ons

Maintainers: OhTrinity
Add file to this package
Top » Credit Modules

Admin->Tools->Server Info general.php line 80 error
for osCommerce Online Merchant v3.0 Alpha 5

Download
by OhTrinity / 19 Nov 2009

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() : ''),

Legend:  Download   Report

Expand All / Collapse All

Admin->Tools->Server Info general.php line 80 error OhTrinity 19 Nov 2009  

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() : ''),