Commit 7ff53714 authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 781002: Make the 'Failed to write file to disk' message a bit more helpful.

Alert users that it could be due thier tmp directory being too small for the file


Change-Id: I2491d656e87d5b8b3802a63113080afccf7b4452
Signed-off-by: Robert Lyon's avatarRobert Lyon <>
parent c90f6b10
......@@ -815,7 +815,7 @@ $string['phpuploaderror_2'] = 'The uploaded file exceeds the max_file_size direc
$string['phpuploaderror_3'] = 'The uploaded file was only partially uploaded.';
$string['phpuploaderror_4'] = 'No file was uploaded.';
$string['phpuploaderror_6'] = 'Missing a temporary folder.';
$string['phpuploaderror_7'] = 'Failed to write file to disk.';
$string['phpuploaderror_7'] = 'Failed to write file to disk. Check that your filesystem has enough space to write to the Mahara dataroot and/or the PHP \'upload_tmp_dir\' directories.';
$string['phpuploaderror_8'] = 'File upload stopped by extension.';
$string['adminphpuploaderror'] = 'A file upload error was probably caused by your server configuration.';
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment