Skip to main content
Inspiring
November 14, 2010
Answered

A real puzzler - no map in cfmap!

  • November 14, 2010
  • 2 replies
  • 1246 views

I have two CF servers, one test and one production. Both run same version of CF (9.1), both have a valid map key. Both can show Google maps the "hard" way (without cfmap.) Both have their respective map keys recorded in server settings.

One one server this works:

<cfmap centeraddress="St. Louis, MO" width="400" height="400" name="mainMap">

    <cfmapitem address="New Orleans, LA">

</cfmap>

One the other it produces a blank screen.

testing server: http://173.161.10.61/tci/test.cfm - works

production server: http://www.thecareerindex.com/test.cfm - not working

Any idea why one works and the other doesn't????

This topic has been closed for replies.
Correct answer Adam Cameron.

I dunno why, but the prod version is having a JS error:

Error: _1d.markerItems is null
Source File: http://www.thecareerindex.com/CFIDE/scripts/ajax/package/cfmap.js
Line: 64

I'm not sure this is really much help though, given it's one of CF's own internal files.  Are you running the same patch level of CF on both boxes?  Exactly the same code?  Same JVM?

--

Adam

2 replies

Adam Cameron.Correct answer
Inspiring
November 14, 2010

I dunno why, but the prod version is having a JS error:

Error: _1d.markerItems is null
Source File: http://www.thecareerindex.com/CFIDE/scripts/ajax/package/cfmap.js
Line: 64

I'm not sure this is really much help though, given it's one of CF's own internal files.  Are you running the same patch level of CF on both boxes?  Exactly the same code?  Same JVM?

--

Adam

KDN0211Author
Inspiring
November 14, 2010

That is an excellent question!! The two versions of cfmail were NOT the same. I imported the one from my testing server and re-started CF. Did not seem to make a difference.

I checked under "Info" in Administrator and it returns the exact same info, yet the cfmail.js was different. Any suggestions as to where to look - I think you are on the right track.

Here is the version info:

Production:
ColdFusion
Version     9,0,1,274733 
Edition     Standard 
Operating System     Windows 2003 
OS Version     5.2 
Adobe Driver Version     4.0 (Build 0005) 
Java Version     1.6.0_17 
Java Home     C:\ColdFusion9\runtime\jre 
Java File Encoding     Cp1252 
Java VM Specification Version     1.0 
Java VM Specification Name     Java Virtual Machine Specification 
Java VM Version     14.3-b01 
Java Specification Version     1.6 
Java Class Version     50.0

Testing:
ColdFusion
Version     9,0,1,274733 
Edition     Standard 
Operating System     Windows 2003 
OS Version     5.2 
Adobe Driver Version     4.0 (Build 0005) 
Java Version     1.6.0_17 
Java Home     K:\ColdFusion9\runtime\jre 
Java File Encoding     Cp1252 
Java VM Specification Version     1.0 
Java VM Specification Vendor     Sun Microsystems Inc. 
Java VM Specification Name     Java Virtual Machine Specification 
Java VM Version     14.3-b01 
Java VM Vendor     Sun Microsystems Inc. 
Java VM Name     Java HotSpot(TM) Server VM 
Java Specification Version     1.6 
Java Class Version     50.0

Inspiring
November 14, 2010

testing server: http://173.161.10.61/tci/test.cfm - works

Both url's are redirecting to "index.cfm".

KDN0211Author
Inspiring
November 14, 2010

I missed that one! Sorry. It has been fixed. Thanks!!