Hi,
I'm trying to upload Excel spread sheets and Word documents to a sub-folder of /assets/.
As you can see by the screenshot I'm unable to upload them however I can upload other file types such as .jpg. This is despite the fact that they are listed as allowed extensions.
I have tried adding the following to mysite/_config.php:
File::$allowed_extensions[] = 'xls';
File::$allowed_extensions[] = 'xlsx';
File::$allowed_extensions[] = 'doc';
File::$allowed_extensions[] = 'docx';
and have tried adding the following to mysite/_config/config.yml as recommended here :
File:
allowed_extensions:
- xls
- xlsx
- doc
- docx
Any help would be appreciated.
Framework: 3.1.12
CMS: 3.1.12
Thanks.
___
Fix: Turned out to be an issue with XAMPP. Re-installed it and this worked fine. Not sure exactly what the issue was.