• Resolved kosmas

    (@kosmas)


    I want to be able to upload RPP files (a special type file for a specific program). Although I put the tag “filetypes:RPP” I still get the message “Uploaded file is not allowed for file type”.

    Is there any solution to this problem?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter kosmas

    (@kosmas)

    I changed the dnd_extra_mime_types function as follows:

    function dnd_extra_mime_types( $mime_types ){
    		$mime_types['xls'] = 'application/excel, application/vnd.ms-excel, application/x-excel, application/x-msexcel';
    		$mime_types['xlsx'] = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet';
    		$mime_types['RPP'] = 'Reaper_files';
    		return $mime_types;
    	}
    

    but still doesn’t work. What else has to be changed?

    Plugin Author Glen Don Mongaya

    (@glenwpcoder)

    Hello @kosmas

    Can you please send me a sample to my email so I can check your file type.
    [email protected]

    Regards,
    Glen

    Plugin Author Glen Don Mongaya

    (@glenwpcoder)

    Closing this thread now.

    Now I’m getting “The uploaded file exceeds the maximum upload size of your server.” How to fix it ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Uploaded file is not allowed for file type’ is closed to new replies.