Support » Plugin: StaffList » Problems Importing

  • cde010

    (@cde010)


    “Only CSV, XLS, XLSX imports are currently supported. This filetype was: application/octet-stream.”

    I get this error when trying to upload csv and xls files.

Viewing 1 replies (of 1 total)
  • Plugin Author ERA404

    (@era404)

    Hello @cde010,

    You can modify the permitted filetypes (mimetypes) list to suit your needs.
    Look for a section in stafflist.php around line 105:

    $spreadsheet_formats= array(    'application/vnd.ms-excel',
    				'text/plain',
    				'text/csv',
    				'text/tsv',
    				'text/comma-separated-values',
    				'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'	
    );
    

    Simply add the mimetype you wish to allow for your install of StaffList.

    Best,

    ERA404

    • This reply was modified 7 months ago by  ERA404.
Viewing 1 replies (of 1 total)
  • The topic ‘Problems Importing’ is closed to new replies.