12 Replies Latest reply on Apr 29, 2014 11:42 AM by LarryRamp

    Help with virtual directory for CFIDE CF 9.0.2

    LarryRamp Level 1

      Thanks in advance ... if anyone could point me in the right direction for this issue I would appreciate it....

      I set up the CFIDE virtual directory as per the lockdown guide for CF 9.0.2. Every website works except I have a path issue with one file... see below.... it throws a 404 error:

      in administrator I have the default ScriptSrc dir set to /cf-scripts/

      I have a virtual directory in the websites in IIS 7.5 named cf-scripts mapped to /CFIDE/scripts/


      All the scripts come up correctly except mapiconmaker.js .... somehow the path to this file is drawing out incorrectly and causing the 404.error


      <script type="text/javascript" src="/cf-scripts/ajax/messages/cfmessage.js"></script>

      <script type="text/javascript" src="/cf-scripts/ajax/package/cfajax.js"></script>

      <script type="text/javascript" src="/cf-scripts/ajax/yui/animation/animation-min.js"></script>

      <script type="text/javascript" src="/cf-scripts/ajax/ext/adapter/yui/ext-yui-adapter.js"></script>

      <script type="text/javascript" src="/cf-scripts/ajax/ext/ext-all.js"></script>

      <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?sensor=false&key=my-key"></script>

      <script type="text/javascript" src="/CFIDE/scripts/ajax/ext/map/mapiconmaker.js"></script>

      <script type="text/javascript" src="/cf-scripts/ajax/ext/map/GMapPanel3.js"></script>

      <script type="text/javascript" src="/cf-scripts/ajax/package/cfmap.js"></script>

      <link rel="stylesheet" type="text/css" href="/cf-scripts/ajax/resources/ext/css/ext-all.css" />

      <link rel="stylesheet" type="text/css" href="/cf-scripts/ajax/resources/cf/cf.css" />



      the console error reads:

      GET http://mobile.mydomain.com/CFIDE/scripts/ajax/ext/map/mapiconmaker.js 404 (Not Found) map-listings.cfm:14

      Uncaught ReferenceError: MapIconMaker is not defined


      tag usage:

      <cfmap name="listingMap"







          tip="Bear Creek Listings"




            <cfloop query="listings"> 

             <cfmapitem name="#id#" latitude="#latitude#"  longitude="#longitude#"  tip="#address#" /> 



      the map displays properly with approx 20 icon locations.