Not Permitted File Type

Home \ forums/topic \ Not Permitted File Type

Support Home Page Forums Joomla Software Easy File Uploader Module Not Permitted File Type

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #100
    dawn2
    Participant

    Hello Sir,

    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.

    Any suggestions?

    Thanks!

    #1097
    Michael Gilkes
    Keymaster

    @dawn2. Thanks for your question. Please note that there are several existing topics regarding this very question. Have a look here: http://support.michaelgilkes.com/tags/mime

    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

    Thanks

    #1098
    dawn2
    Participant

    Sorry Sir! I’m not very good at internet things. 🙁

    PhP is 5.2.5 – I’m pretty sure thats the issue.

    Joomla 1.6

    The extension version is the latest. I’ll go read those other forums now!

    Sorry again!

    #1099
    Michael Gilkes
    Keymaster

    @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.

    #1100
    jonko
    Participant

    hello sir,

    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 advance

    #1101
    Michael Gilkes
    Keymaster

    @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.

    #1102
    jonko
    Participant

    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 again

    #1103
    Michael Gilkes
    Keymaster

    @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.

    #1104
    dougevans
    Participant

    Hi Michael,

    Could repost the test_script3 as megaupload.com has been shut down and we cannot reach the file anymore.

    Thanks!

    Doug

    #1105
    Michael Gilkes
    Keymaster

    @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.

    #1106
    dougevans
    Participant

    Hi Michael,

    Great. Thanks for the quick response!

    Doug

    #1107
    koshe
    Participant

    Hi Michael,

    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 help

    #1108
    Michael Gilkes
    Keymaster

    @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.

    #1109
    koshe
    Participant

    Dear Michael,

    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?

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Not Permitted File Type’ is closed to new replies.