When trying to add MIME types for GPX files, I receive:
ERROR: The uploaded file type (text/xml)is not permitted.
However, this is the content of my “permitted file types” box:
1
2
3
4
5
6
application/vnd.google-earth.kml+xml;<br/>
text/plain;<br/>
application/gpx;<br/>
text/xml;<br/>
application/xml;<br/>
*
This allowes me to upload KML and TXT files, but not GPX? I’ve added the mime type from the error yet I still get an error, which seems to be a bit conflicting?
@Morroloan. Thanks for the additional information. it is strange that FILEINFO_MIME_TYPE is not defined for your PHP 5.3. You should check this out, because it is enabled by default as of PHP 5.3.0.
I am not 100% sure what is going on in your situation that causes this issue for you. However, this week (hopefully) I will be releasing an updated version that may help shed some light on what is gong on. So, if you can give me a day or two, you should have some better answers.
Author
Posts
Viewing 3 posts - 1 through 3 (of 3 total)
The topic ‘MIME type for GPX files?’ is closed to new replies.