This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Hello, I've trying to allow docx extension at media manager by adding this line at config/cms.php :
'fileDefinitions' => [ 'defaultExtensions' => array_merge(FileDefinitions::get('defaultExtensions'), ['docx']), ],
but I'm getting :
FatalErrorException in cms.php line 14: Allowed memory size of 2147483648 bytes exhausted (tried to allocate 20480 bytes)
I've tried modifying the memory_limit on the php.ini file but with no success, I believe the error is caused this part of getDefinitions($type) function in Definitions.php file :
Config::get('cms.fileDefinitions.'.$type, $this->$type());
I'm using Xampp php version 7.1
1-1 of 1