Hi,
I just mentioned this in the IRC room, but my IRC client is playing silly beggars today and keeps disconnecting, so before I write a support ticket I hoped someone might see this one.
I'm trying to test the upload functionality of SS, and have come across a bug with uploading of large files.
I'm running the new 2.3.0 RC2 install and everything else seems to be working fine - images under 2Mb will upload with no issues.
When upload is clicked on a large file (say 5Mb), the iframe with the upload function shows an error page:
[Notice] Undefined variable: status
POST /admin/assets/UploadForm
Line 225 in /cms/code/AssetAdmin.php
It appears that line 225 is trying to test against the 'status' variable, then display a 'nothing to upload' status message:
} else if($status != 'bad') {
$statusMessage = _t('AssetAdmin.NOTHINGTOUPLOAD','There was nothing to upload');
$status = "";
}
I know that my php install is set to allow up to 2Mb files, and don't want to be changing that right now. The CMS should be giving the user a proper error telling them that nothing was uploaded.
Anyone know how to get round this so that it fails nicely if it has to fail at all?