From: skodak Date: Mon, 19 Jan 2009 08:13:56 +0000 (+0000) Subject: MDL-17942 fixed incorrect mysql setting name X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=34e9457e30ecd4c463c0fcc9b724ffc68c763486;p=moodle.git MDL-17942 fixed incorrect mysql setting name --- diff --git a/lang/en_utf8/error.php b/lang/en_utf8/error.php index 5a2ca1c5ea..2224c09da6 100644 --- a/lang/en_utf8/error.php +++ b/lang/en_utf8/error.php @@ -191,7 +191,7 @@ $string['dbdriverproblem'] = '

Error: database driver problem detected

$string['dbupdatefailed'] = 'Database update failed'; $string['dbsessionbroken'] = 'Serious database session problem detected.

Please notify server administrator.'; $string['dbsessionhandlerproblem'] = 'Setting up of database session failed.

Please notify server administrator.'; -$string['dbsessionmysqlpacketsize'] = 'Serious session error detected.

Please notify administrator, this problem is most probably caused by small value in max_packet_size MySQL setting.'; +$string['dbsessionmysqlpacketsize'] = 'Serious session error detected.

Please notify administrator, this problem is most probably caused by small value in max_allowed_packet MySQL setting.'; $string['ddlexecuteerror'] = 'DDL sql execution error'; $string['ddlfieldalreadyexists'] = 'Field \"$a\" does not exist'; $string['ddlfieldnotexist'] = 'Field \"$a->fieldname\" does not exist in table \"$a->tablename\"'; diff --git a/lib/sessionlib.php b/lib/sessionlib.php index 81251f1ac7..9ab764474a 100644 --- a/lib/sessionlib.php +++ b/lib/sessionlib.php @@ -472,7 +472,7 @@ class database_session extends session_stub { } catch (Exception $ignored) { } - error_log('Can not write session - please verify max_packet_size is at least 4MB'); + error_log('Can not write session - please verify max_allowed_packet is at least 4M!'); } else { error_log('Can not write session'); }