This commit is contained in:
Tim 2019-09-17 12:56:36 +02:00 committed by GitHub
parent a49995c06d
commit e16c4f0864
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -152,11 +152,11 @@ class StatusUpdater {
}
}
}
// PATCH Arkhee : fix/last-online-stuck-on-never-if-webpage-too-large
// TThe update un "servers" table does not work
// Symptom : "Last online" stays stuck on "never"
// PATCH Arkhee: fix/last-online-stuck-on-never-if-webpage-too-large
// Updating table "servers" does not work
// Symptom: "Last online" stays stuck on "never"
// Reason: last_output contains the full webpage, too long for the query
// _This may depend on mysql configuration on the server_, explaining why some have the problem or not
// This may depend on mysql configuration on the server_, explaining why some have the problem or not
// Field is 255 Chars, and request does not work anyway is loaded web page is too large in last_output
// So force truncate to 250 or less before query
$save["last_output"]=substr($save["last_output"],0,250);