When uploading a PDF file, the following message appears:
ERROR: The uploaded file type is not permitted.
MIME detected by PHP: (application/pdf)
MIME detected by Browser: application/download
System info:
Server OS: Linux
PHP version: 5.3.28
Joomla version: 2.5
It will have to do with the following message, which appears in the module itself:
PHP Version: 5.3.28.
FILEINFO_MIME_TYPE is defined.
finfo_open is callable.
finfo_file is callable.
finfo_close is callable.
mime_content_type is callable.
This is a NON-Windows OS: Linux.
escapeshellarg is callable.
exec doesn’t exist.
shell_exec doesn’t exist.
As can be seen, “Exec” and “Shell_exec” doesn’t exist. As I understood from the documentation, “Exec” is a must for proper function of the file uploader. Now I like to know how I can fix this “Exec” and “Shell_exec” problem.
Thanks in advance,
Remko