Okay
  Public Ticket #2050087
CSV-file upload
Closed

Comments

  • Aske Meineche started the conversation

    Hello! i am currently trying out your lite version to test if WPDataTables is a good fit for my website, however when i try to upload csv-file files i get the error message

    "Sorry, This File Type Is Not Permitted For Security Reasons"

    Is there a fix for this?

  •  2,572
    Aleksandar replied

    Hello Aske.

    Thank you for your interest in our plugin.

    There has been a change since WordPress updated to v.5.0.1. and here's what they say:

    Prior to 5.0.1, WordPress did not require uploaded files to pass MIME type verification, so files could be uploaded even if the contents didn’t match the file extension. For example, a binary file could be uploaded with a .jpg extension.

    This is no longer the case, and the content of uploaded files must now match their extension. Most valid files should be unaffected, but there may be cases when a file needs to be renamed to its correct extension (e.g., an OpenOffice doc going from .pptx to .ppxs).

    So, you should still be able to upload CSV files if they have been saved correctly. Can you share that file with me, so I can try it locally? Just make sure to enable the "PRIVATE" reply, so nobody can see it except for us.

    Best regards.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •   Aske Meineche replied privately
  •   Aleksandar replied privately