[Pro] Google Map Not Working

Most peculiar: Our firm has a page that displays a Google Map to our offices. It worked great, and now, for some reason, it doesn’t. I can’t figure out what changed. Here is the site:

http://www.licenseadvocates.com/googlemap

Any ideas?


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

What actions are applied to this page - anything new?

There is a JS error.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

David:

The only actions are: Google Maps and Simple Site Search. Both worked before. Only SSS works now.

What is a JS error?

On Aug 2, 2011, at 2:33 PM, DeltaDave wrote:

What actions are applied to this page - anything new?

There is a JS error.

David


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

JS = Javascript

There is a javascript error on your page.

Try copy/pasting the Google Map action onto a new blank page and see if that works.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

David:

That just doesn’t seem to work.

On Aug 2, 2011, at 10:55 PM, DeltaDave wrote:

JS = Javascript

There is a javascript error on your page.

Try copy/pasting the Google Map action onto a new blank page and see if that works.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

David:

Ignore my last. I tried putting the map, as you instructed, on a totally blank page. That works! But it still doesn’t work where I replace the map with a new one on my existing page. So apparently, the JavaScript error (I wasn’t even aware I was using JavaScript) must be somewhere other than in the map itself. Apart from rebuilding the page from scratch (which I’m willing to do as a last resort), do you have any suggestions?

On Aug 3, 2011, at 1:57 AM, Robert Cramer wrote:

David:

That just doesn’t seem to work.

On Aug 2, 2011, at 10:55 PM, DeltaDave wrote:

JS = Javascript

There is a javascript error on your page.

Try copy/pasting the Google Map action onto a new blank page and see if that works.

D


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Robert,
It appears the Google Maps code is failing because of other errors in the page.

If you run the page through the W3C validator you’ll see a number of errors that appear to have been introduced through manual markup;
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.licenseadvocates.com%2Fgooglemap

Try fixing (or removing) these items and your map should, hopefully, reappear again.
Regards,
Tim.

On 2 Aug 2011, at 17:20, Robert Cramer wrote:

Most peculiar: Our firm has a page that displays a Google Map to our offices. It worked great, and now, for some reason, it doesn’t. I can’t figure out what changed.


Tim Plumb
Creative Director
Softpress Systems

Follow us on Twitter: http://www.softpress.com/tny/064
Join us on Facebook: http://www.softpress.com/tny/063
Looking for a webhost? We love these guys: http://www.softpress.com/tny/sxf


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Tim:

It’s clearly failing because of something other than the map (because the map displays correctly on a blank page). I removed the items that the W3C validator cited. The problem remains (the map does not display). As an aside, I ran the W3C validator on other pages on my site. The same errors are cited by the validator on every other page. This is true because the cited lines are contained on the master page for every page on the site. Curiously, the only page that APPEARS to be displaying incorrectly, and that one only in the last week or so, is the Google Map page. Could this be related to the update to Freeway Pro 5.6?

On Aug 3, 2011, at 3:32 AM, Tim Plumb wrote:

Hi Robert,
It appears the Google Maps code is failing because of other errors in the page.

If you run the page through the W3C validator you’ll see a number of errors that appear to have been introduced through manual markup;
http://validator.w3.org/check?uri=http%3A%2F%2Fwww.licenseadvocates.com%2Fgooglemap

Try fixing (or removing) these items and your map should, hopefully, reappear again.
Regards,
Tim.

On 2 Aug 2011, at 17:20, Robert Cramer wrote:

Most peculiar: Our firm has a page that displays a Google Map to our offices. It worked great, and now, for some reason, it doesn’t. I can’t figure out what changed.


Tim Plumb
Creative Director
Softpress Systems
http://www.softpress.com

Follow us on Twitter: http://www.softpress.com/tny/064
Join us on Facebook: http://www.softpress.com/tny/063
Looking for a webhost? We love these guys: http://www.softpress.com/tny/sxf


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

Hi Robert,
Most web browsers are quite forgiving of less than perfect code and will continue to display the page as best it can. Safari, for example, displays the incorrectly formatted content well but quietly flags the error with the Google map in it’s Web Inspector. (Here’s a bit more info on the Web Inspector - http://www.softpress.com/kb/questions/242/Taking+a+closer+look+at+your+web+site+with+Safari’s+Web+inspector)

The Google Map uses a script to place content on the page and I can see from the error in Safari that it is having problems finding elements on the page to manipulate. I suspect this is because of the invalid markup you have on the page.

Specifically the code in your markup that is incorrect is;

<a href=http://www.uslaw.com/law_blogs title='Law Blogs'><img alt='lawyer blogs' src=http://www.uslaw.com/images/uslawblognetwork121x29.gif border=0></a>
<a href=http://www.uslaw.com/?from=LicenseAdvocates.com>USLaw.com</a>

and should be;

<a href="http://www.uslaw.com/law_blogs" title="Law Blogs"><img alt="lawyer blogs" src="http://www.uslaw.com/images/uslawblognetwork121x29.gif" border="0"></a>
<a href="http://www.uslaw.com/?from=LicenseAdvocates.com">USLaw.com</a>

you also have a redundant end span tag in the code that needs to be removed;

<a href="http://www.blogtopsites.com/law/"><img style="border:none;" src="http://www.blogtopsites.com/v_60436.gif" alt="Law Blogs" /></a><br /><a target="_blank" href="http://www.blogtopsites.com/law/" style="font-size:10px;">law blogs</span></a>

and should be;

<a href="http://www.blogtopsites.com/law/"><img style="border:none;" src="http://www.blogtopsites.com/v_60436.gif" alt="Law Blogs" /></a><br /><a target="_blank" href="http://www.blogtopsites.com/law/" style="font-size:10px;">law blogs</a>

If you’ve corrected these issues, re-uploaded and you are still having issues with the map let me know and I’ll take another look. At the moment the page online still contains the original validation errors.
Regards,
Tim.

On 3 Aug 2011, at 13:40, Robert Cramer wrote:

This is true because the cited lines are contained on the master page for every page on the site. Curiously, the only page that APPEARS to be displaying incorrectly, and that one only in the last week or so, is the Google Map page. Could this be related to the update to Freeway Pro 5.6?


Tim Plumb
Creative Director
Softpress Systems

Follow us on Twitter: http://www.softpress.com/tny/064
Join us on Facebook: http://www.softpress.com/tny/063
Looking for a webhost? We love these guys: http://www.softpress.com/tny/sxf


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options