Solved

Wordpress Map plugin not working in IE

Posted on 2013-01-22
14
362 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
Industry Leaders: 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!

 
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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Set css in function 11 54
How to set up WAMP on a windows 8.1 IIS machine 14 45
regular gmail; not g-suite. one label. 11 49
Add Promise to Existing Code 6 27
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Color can increase conversions, create feelings of warmth or even incite people to get behind a cause. If you want your website to really impact site visitors, then it is vital to consider the impact color has on them.
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 dynamically set the form action using jQuery.

739 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