Copy link to clipboard
Copied
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????
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
Copy link to clipboard
Copied
testing server: http://173.161.10.61/tci/test.cfm - works
Both url's are redirecting to "index.cfm".
Copy link to clipboard
Copied
I missed that one! Sorry. It has been fixed. Thanks!!
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
Actually, nowe it works. You nailed it! Thanks!!!
Copy link to clipboard
Copied
I'm having a similar issue - works in test, but blank map in production.
The error i get:
Message: 'markerItems.length' is null or not an object
Line: 64
Char: 9
Code: 0
URI: http://***/CFIDE/scripts/ajax/package/cfmap.js
What did you do to fix?
Thanks!
-dj