Solved

Wordpress Map plugin not working in IE

Posted on 2013-01-22
14
361 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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

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

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
html input 8 44
Wordpress Security 29 50
How to check if a check box is active using Java Script? 2 22
Clear input text 15 9
Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

807 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