Solved

Wordpress Map plugin not working in IE

Posted on 2013-01-22
14
353 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
  • 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
 
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 500 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
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
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…

757 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now