title: How do I enable the uploading of KMZ/KML/GPX files in Silverstripe?
body: <p>I'm setting up a site in Silverstripe 3 and have come up with a weird issue around uploading KMZ/KML files into the CMS.</p>
  
  <p>The end goal is to allow CMS users to upload multiple KMZ/KML/GPX files to a page. These files will then be displayed as routes on a Google Map.</p>
  
  <p>This is the has_many declaration:</p>
  
  <pre><code>static $has_many = array(
    'RouteFiles' =&gt; 'File'
  );
  </code></pre>
  
  <p>This is the getCMSFields code:</p>
  
  <pre><code>$routeFilesField = new UploadField('Route Files', 'Upload GPX/KMZ/KML files for your proposed route.', $this-&gt;RouteFiles()); 
  $routeFilesField-&gt;getValidator()-&gt;allowedExtensions = array('kmz', 'kml', 'gpx');
  $fields-&gt;addFieldToTab('Root.Map', $routeFilesField);
  </code></pre>
  
  <p>I have added the extensions to the FilesMatch section of the <strong>/assets/.htaccess</strong> file.</p>
  
  <p>When I upload a KMZ or KML file to the CMS I get the following message in the Upload Field: </p>
  
  <p><strong>File information not found</strong></p>
  
  <p>What else do I need to do to make this work?</p>