2020-04-14, 04:13:09
No matter how I test it, I cannot reproduce your error, it is specific to your device/system.
You can try to intercept the broken output in "/plugins/imanager/upload/server/php/UploadHandler.php" file. Search for the initialize() method and modify it as follows:
Next do an image upload, then, open the file /data/other/logs/imlog_202004.txt and check the entries.
You can try to intercept the broken output in "/plugins/imanager/upload/server/php/UploadHandler.php" file. Search for the initialize() method and modify it as follows:
PHP Code:
protected function initialize() {
// Start
ob_start();
switch ($this->get_server_var('REQUEST_METHOD')) {
case 'OPTIONS':
case 'HEAD':
$this->head();
break;
case 'GET':
$this->get($this->options['print_response']);
break;
case 'PATCH':
case 'PUT':
case 'POST':
$this->post($this->options['print_response']);
break;
case 'DELETE':
$this->delete($this->options['print_response']);
break;
default:
$this->header('HTTP/1.1 405 Method Not Allowed');
}
// Ende
$so = ob_get_contents();
Util::dataLog($so);
}
Next do an image upload, then, open the file /data/other/logs/imlog_202004.txt and check the entries.