Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

A real puzzler - no map in cfmap!

Explorer ,
Nov 14, 2010 Nov 14, 2010

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????

TOPICS
Advanced techniques
1.2K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Nov 14, 2010 Nov 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

Translate
Valorous Hero ,
Nov 14, 2010 Nov 14, 2010

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

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 14, 2010 Nov 14, 2010

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Nov 14, 2010 Nov 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 14, 2010 Nov 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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Nov 14, 2010 Nov 14, 2010

Actually, nowe it works. You nailed it! Thanks!!!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Nov 17, 2010 Nov 17, 2010
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources