Thread:Project:Support desk/Please help regarding file upload

I am getting following error while uploading any file

For any png or jpeg file "Could not create directory "mwstore://local-backend/local-public/2/2f".

For any pdf "Could not create directory "mwstore://local-backend/local-public/9/9a".\

I have following setting in Localsetting.php $IP = "/var/www/html/mediawiki"; $wgUploadDirectory = "{$IP}/images"; $wgUploadPath = "{$wgScriptPath}/uploads"; $wgEnableUploads = true; $wgUseImageMagick = true; $wgImageMagickConvertCommand = "/usr/bin/convert"; $wgFileExtensions = array('png','gif','jpg','jpeg','doc','xls','mpp','pdf','ppt','tiff','bmp','docx', 'xlsx', 'pptx','ps','odt','ods','odp','odg'); $wgFileExtensions = array_merge($wgFileExtensions, array('doc', 'xls', 'mpp', 'pdf','ppt','xlsx','jpg','tiff','odt','odg','ods','odp'));