No files are uploaded in my Joomla 3
- Posted on:
- Author: benglish
Support Home Page › Forums › Joomla Software › Easy File Uploader Module › No files are uploaded in my Joomla 3
- This topic has 5 replies, 2 voices, and was last updated 11 years ago by
Michael Gilkes.
-
AuthorPosts
-
January 31, 2015 at 11:06 am #796
benglish
ParticipantHi everybody,
I have installed the module in Joomla 3. I have also added the following in the permitted file types:
image/gif;image/jpeg;image/pjpeg;image/png;application/pdf;application/msword;application/zip;application/x-compressed;application/x-zip-compressed;multipart/x-zip;application/excel;application/vnd.ms-excel;application/x-excel;application/x-msexcel;application/download;application/pdf
It just gives me the following error in my server, on the module page:
PHP Version: 5.3.28.
FILEINFO_MIME_TYPE is NOT defined.
mime_content_type doesn’t exist.
This is a NON-Windows OS: Linux.
escapeshellarg doesn’t exist.
exec doesn’t exist.
shell_exec doesn’t exist.
When uploading any kind of file, including pdf, I face the following problem:
ERROR: The uploaded file type is not permitted.
MIME detected by PHP:
MIME detected by Browser: application/pdf
The last line of error differs for any file extension!
Please help me to resolve the issue as fast as possible
January 31, 2015 at 7:00 pm #2108
Michael GilkesKeymaster@bengfish. MIME type detection is not installed on your PHP setup. Please ask you website administrator to install the FILEINFO PHP extension. This is normally installed by default in PHP 5.3 or higher. So, if it is not on your PHP setup, then it will need to be installed.
January 31, 2015 at 7:46 pm #2109benglish
ParticipantDear Michael,
Firstly, thanks for your reply
Secondly, it seems almost all extensions are installed on my server. When I go to the “MIME Types” part of my site panel, it shows me lots of extensions installed on the server, including .pdf, .docx, and many others!
January 31, 2015 at 9:52 pm #2110
Michael GilkesKeymaster@benglish. The following diagnostic text means that FILEINFO PHP extension is not installed or not enabled on your PHP setup:
PHP Version: 5.3.28.
FILEINFO_MIME_TYPE is NOT defined.
It is not defined means that it is not enabled. You will have to check your PHP.ini file to enable it.
February 2, 2015 at 7:41 pm #2111benglish
ParticipantDear Michael,
Where can I find the PHP.ini file on my server? Should I change any line in the file? Could you please help me fix this BIG problem?
Thanks in advance!
February 2, 2015 at 8:42 pm #2112
Michael GilkesKeymaster@benglish. I can’t tell you what to do on your own server. Ask your the administrator (or hosting company admins) to do it. if you are the administrator, and you don’t know how to do it, you should search on the internet on how to do it. There are various tutorials around, even on PHP.net.
Some hosting companies explain how to do it in their wiki. Many of the hosting company admins will do it for you, or explain to you how to do it.
-
AuthorPosts
- The topic ‘No files are uploaded in my Joomla 3’ is closed to new replies.