Page 1 of 1

PhocaDownload and gpx files

Posted: 05 Feb 2015, 19:49
by koutipik
Hello,

When I try to create a new file in Phoca, and that this file is a gpx file (for cycle routes) I got this message : "The file type is not allowed - file cannot be uploaded"

Is there a workaround to this problem, a new extension to install, or anything else that could allow me to propose a list of routes to the users of my website ? ?

Thanks for your help

Kouti (France)

Re: PhocaDownload and gpx files

Posted: 05 Feb 2015, 20:12
by Benno
Hi,
see: https://trac.openstreetmap.org/ticket/4768
Try to copy and paste
{gpx=application/gpx+xml}
to: backend --> Components --> Phoca Downlaod --> Control Panel --> Options --> Downloads -->
Allowed File Types (Download)
Allowed File Types (Upload)
Save & Close

Kind regards,
Benno