Quick note for handling upload cover fails on OJS 3 when using centminmod as stack.
1. Check if fileinfo php installed
php -m | grep fileinfo
no result, it means the extension not installed
2. Install fileinfo php extension
echo “PHPFINFO=’y'” >> /etc/centminmod/custom_config.inc
3. Recompile php from centmin menu
4. Make sure config.inc.php load magicmime
nano config.inc.php
[finfo]
mime_database_path = /etc/magic.mime
save
5. Restart
nprestart