?
Solved

Wordpress Map plugin not working in IE

Posted on 2013-01-22
14
Medium Priority
?
364 Views
Last Modified: 2013-11-19
We have loaded the Wordpress plugin for a web site, the map works fine when opened with Chrome or Firefox, but does not locate dealers when opened with Internet explorer.  It sits and thinks, well that might be a little too generous - it apparently doesn't do much.

I am not an html/java person, so please don't show too much frustration if I don't always understand what you are talking about.

I am also at this location only part time - I promise to get back to you as soon as I can to answer your questions or whether or not your potential solution worked.

Thanks
0
Comment
Question by:mjburgard
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 4
  • 3
14 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 38807483
Have you tried a different plugin?

Have you tried disabling all other plugins to see if the problem is a conflict?
0
 
LVL 1

Author Comment

by:mjburgard
ID: 38807604
Not yet, I will try that.  However, it seems unlikely since the website works in every other browser we have tried (including IE 7, 8 and 10)
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 38807790
Try anyway.  IE is an incredibly finicky browser with respect to javascript...

If neither disabling plugins or moving to new plugin works then we may have a weirder issue.
0
Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

 
LVL 1

Author Comment

by:mjburgard
ID: 38807837
Will have to try this tomorrow.  
Will let you know -
0
 
LVL 11

Assisted Solution

by:mcnute
mcnute earned 2000 total points
ID: 38809785
Please make sure that you use the IE developer tools to investigate about errors. You activate the developer tools by pressing F12 in IE and click then on the console tab to monitor any javascript errors onload of the page. Then reload your page with dev-tools open and see what the console tells you. More likely in IE it is a missing comma or semicolon or the other way around one comma o semicolon too much.
0
 
LVL 1

Author Comment

by:mjburgard
ID: 38810471
We have troubleshot this a little further - The web site will not load ONLY on systems running Windows 7 or Windows Server 2008 using IE9.  I suspect it won't work with Vista either, but we don't have any machines still running that OS.
0
 
LVL 1

Author Comment

by:mjburgard
ID: 38810500
Debugger shows the following line has issues:

Var sl_type_map = roadmap;

It claims roadmap is undefined.  As I said before, I am not a coder of any sort - I have just been asked to help figure out what is going wrong.  I am assuming there is a variable declaration somewhere that did not get done.
0
 
LVL 1

Author Comment

by:mjburgard
ID: 38810848
Ok, I deactivated all of the plugins, the web site still did not load.  Reactivated them, Still nothing.  I am going to try Wordpress support as well -
0
 
LVL 11

Assisted Solution

by:mcnute
mcnute earned 2000 total points
ID: 38811007
Then your roadmap variable is not created in the firstplace.

Look for something like this:
var roadmap = some value here.

Open in new window


If you cannot find it then, this is your issue.
If you can find it, then probably your code has no access to the variable.

Next step then would be to post your code here. php and html output to help you better out.
Now we're only guessing and its hard to say without any code in hands.
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 38811659
Alternately...at this point I would also seriously consider a different plugin ;)
0
 
LVL 1

Accepted Solution

by:
mjburgard earned 0 total points
ID: 38820948
I figured out that on the line Var sl_type_map = roadmap; roadmap was supposed to be calling the Google map type (road, terrain, satellite) and my best guess is that the names of those variables were changed by Google at some point and the plug-in wasn't updated to keep up.  I changed roadmap to G_NORMAL_MAP and now it works fine.  There is an option in the plug-in settings on WordPress to change default map type, and now when I change it it changed the variable (G_NORMAL_MAP, G_SATELLITE_MAP, ect) but I had tried messing wit that before, it seems like it was hung up until I manually changed the variable.
0
 
LVL 11

Expert Comment

by:mcnute
ID: 38821701
Hello mjburgard, thank you for thinking in giving me points for assisting you. But no points has been awarded yet!?
0
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 38822419
Mcnute,

He's marking his own answer as the solution but giving you assist points.  That means the close is on hold for four days in case you or I object to the way it is being closed.

Just be patient and it will fully close on Tuesday.
0
 
LVL 1

Author Closing Comment

by:mjburgard
ID: 38834577
Other comments pointed me in the right direction, but they aren't really a solution.  My final comment points out how to fix the issue for other people with the same problem.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Dramatic changes are revolutionizing how we build and use technology. Every company is automating, digitizing, and modernizing operations. We need a better, more connected way to work together as teams so we can harness the insights from our system…
When the s#!t hits the fan, you don’t have time to look up who’s on call, draft emails, call collaborators, or send text messages. An instant chat window is definitely the way to go, especially one like HipChat. HipChat is a true business app. An…
This tutorial demonstrates how to identify and create boundary or building outlines in Google Maps. In this example, I outline the boundaries of an enclosed skatepark within a community park.  Login to your Google Account, then  Google for "Google M…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question