May 20, 2011 at 1:44 pm #100dawn2Participant
When I try to upload pictures with this module – it says: “ERROR: The uploaded file type is not permitted.” but I have png and jpeg listed as allowed in the back end.
Thanks!May 20, 2011 at 1:57 pm #1097
Also, when you post to the forum for assistance, please provide your Joomla version, extension version, and PHP version. I really cannot help you if I don’t have that minimal information. Also, when stating your version, please be precise. For example, instead of saying you have PHP5, state that you have PHP 5.2.9
ThanksMay 20, 2011 at 2:26 pm #1098dawn2Participant
Sorry Sir! I’m not very good at internet things. 🙁
PhP is 5.2.5 – I’m pretty sure thats the issue.
The extension version is the latest. I’ll go read those other forums now!
Sorry again!May 20, 2011 at 3:16 pm #1099
@dawn2. No problem. No need to apologize. If I seemed too blunt or discourteous in my response, I apologize. That was never intended. I hope that the topics that I pointed you to will give you the answer you need. If they don’t, please feel free to continue the discussion.
As your PHP version is 5.2.5, that is most likely the culprit. There is a workaround for that. So, please keep an eye out for it in the related topics on the site.
All the best.July 22, 2011 at 7:52 am #1100jonkoParticipant
i installed the latest version of this module locally in joomla 1.6.4 ,php 5.3.5 and i get this error. ” ERROR: The uploaded file type is not permitted”. Can you help ? thanks in advanceJuly 22, 2011 at 12:13 pm #1101
@jonko. Hi, please let me know what was the name and/or extension of the file you uploaded. Also, Let me know what you have in your Module Manager under “Permitted file types (separate by semi-colon).” I need this minimal information to help you. Thanks.July 22, 2011 at 10:23 pm #1102jonkoParticipant
thanks michaelgilkes for the quick reply. I
installed the “mod_easyfileuploader_v0.8_j16” module and the “permitted file types” are : image/gif;image/jpeg;image/pjpeg;image/png;
thanks againJuly 23, 2011 at 12:35 am #1103
@jonko. Thanks for the info. You forgot to mention what was the name of the file you tried to upload.
Without any more information, it could be that the mime type that is detected is “application/octet-stream”. Some php web servers read the mime type of all image files as “application/octet-stream” instead of “image/gif;image/jpeg;image/pjpeg;image/png;”.
To find out what your file is detected as you can run test_script3 on your server, and copy and past the results in a post to me. Or, if you want more privacy, just send the result to my email. You can actually customize the file to test the specific file you are trying to upload. just place your file in the same directory as the test script file.
Hope this helps.February 13, 2012 at 8:17 pm #1104dougevansParticipant
Could repost the test_script3 as megaupload.com has been shut down and we cannot reach the file anymore.
DougFebruary 13, 2012 at 9:24 pm #1105
@dougevans. I realize that you are trying to get help for your situation. You opened up another post, so… let’s continue the conversation there. I already responded to that one. I will provide another test script for you to use. Give me a little time. However, I will post it in the other post, just to not make the conversation be fragmented. OK? Cool.February 13, 2012 at 9:50 pm #1106dougevansParticipant
Great. Thanks for the quick response!
DougJuly 7, 2012 at 2:55 pm #1107kosheParticipant
I faced the same problem when trying to upload pdf documents using easy file upload. And here is the information about the server and php.
PHP Version: 5.2.5.
FILEINFO_MIME_TYPE is NOT defined.
mime_content_type doesn’t exist.
This is a NON-Windows OS: Linux.
escapeshellarg is callable.
exec doesn’t exist.
shell_exec doesn’t exist.
Thank ur for helpJuly 7, 2012 at 8:39 pm #1108
@koshe. Thanks for posting. Based on your server information, there is no way to test for mime types on your server. The best solution for you is to upgrade your server to PHP 5.3, and you will automatically be able to test for mime type.July 8, 2012 at 12:02 pm #1109kosheParticipant
Thank u for your immediate response.
I cannot upgrade the server because it is not local. Am using web server of ISP. Is there any other option to solve the problem?
- The topic ‘Not Permitted File Type’ is closed to new replies.