Unknown Failure, Line 33, Pos 1048 in mapfiles/api-3/4/3/main.js

212 views
Skip to first unread message

Raoul

unread,
Mar 1, 2011, 4:54:21 PM3/1/11
to Google Maps JavaScript API v3
Beside the problem with the marker.setZIndex of my previous mail, I
get following error message since a few days and markers are no longer
displayed on some of my pages (see underneath). Failure is not
systematic and appears only under IE (all versions). No problem under
Firefox or Chrome. Am I the only one having this problem? Was
something modified in the API? If someone could help I would apreciate
it alot

http://http://www.raoul-kieffer.net/Italy/Roma/Galleria%20Sciarra/Galleria%20Sciarra.html

Details zum Fehler auf der Webseite

Benutzer-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0;
Trident/4.0; GTB6.6; SLCC1; .NET CLR 2.0.50727; Media Center PC
5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)
Zeitstempel: Tue, 1 Mar 2011 21:37:55 UTC

Meldung: Unbekannter Fehler.
Zeile: 33
Zeichen: 1048
Code: 0
URI: http://maps.gstatic.com/intl/de_ALL/mapfiles/api-3/4/3/main.js

geoco...@gmail.com

unread,
Mar 1, 2011, 5:04:14 PM3/1/11
to Google Maps JavaScript API v3
On Mar 1, 1:54 pm, Raoul <Raoul.Kief...@arcor.de> wrote:
> Beside the problem with the marker.setZIndex of my previous mail, I
> get following error message since a few days and markers are no longer
> displayed on some of my pages (see underneath). Failure is not
> systematic and appears only under IE (all versions).

I don't get an error in IE6 (unless there is something I need to do to
see it happen).

-- Larry

> No problem under
> Firefox or Chrome. Am I the only one having this problem? Was
> something modified in the API? If someone could help I would apreciate
> it alot
>
> http://http://www.raoul-kieffer.net/Italy/Roma/Galleria%20Sciarra/Gal...

Greg

unread,
Mar 1, 2011, 5:11:53 PM3/1/11
to Google Maps JavaScript API v3
I'm also seeing this error right now.

It will occur quite often on http://www.mungo.com/Raleigh/ in IE8 and
IE7. It does not occur in firefox,chrome or safari.

On Mar 1, 5:04 pm, "geocode...@gmail.com" <geocode...@gmail.com>
wrote:

Raoul Kieffer

unread,
Mar 1, 2011, 5:13:19 PM3/1/11
to google-map...@googlegroups.com
Many thanks Larry,

May be try to refresh (F5), as I wrote the problem is not systematic.

I tried locally (not yet on my server) your suggestion to specify the
version also for this problem. With v3.1 the problem doesn't appear at all.

Kind regards

Raoul

-- Larry

--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To post to this group, send email to google-map...@googlegroups.com.
To unsubscribe from this group, send email to
google-maps-js-a...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Luke Mahé

unread,
Mar 1, 2011, 5:19:41 PM3/1/11
to google-map...@googlegroups.com, Raoul Kieffer
I see the following errors in chrome:

  1. Uncaught TypeError: Cannot read property 'photo' of undefined
  1. Book-2.2.8.js:1249Uncaught TypeError: Cannot read property 'title' of undefined
  1. Book-2.2.8.js:857Uncaught TypeError: Cannot read property 'photo' of undefined

-- Luke

Raoul

unread,
Mar 1, 2011, 6:05:11 PM3/1/11
to Google Maps JavaScript API v3
Many thanks Luke for your feedback,

I will check. I first have to find out how to display error messages
under Chrome ;-)
Chrome is only since a few days my standard browser.

The failures you saw don't appear under IE and Firefox.

Kind regards,

Raoul

On 1 Mrz., 23:19, Luke Mahé <lu...@google.com> wrote:
> I see the following errors in chrome:
>
>    1. Uncaught TypeError: Cannot read property 'photo' of undefined
>
>    1. Book-2.2.8.js:1249
> <http://www.raoul-kieffer.net/JS/Book-2.2.8.js>Uncaught
>    TypeError: Cannot read property 'title' of undefined
>
>    1. Book-2.2.8.js:857 <http://www.raoul-kieffer.net/JS/Book-2.2.8.js>Uncaught
>    TypeError: Cannot read property 'photo' of undefined
>
> -- Luke
>
> On Wed, Mar 2, 2011 at 9:13 AM, Raoul Kieffer <raoul.kief...@arcor.de>wrote:
>
>
>
> > Many thanks Larry,
>
> > May be try to refresh (F5), as I wrote the problem is not systematic.
>
> > I tried locally (not yet on my server) your suggestion to specify the
> > version also for this problem. With v3.1 the problem doesn't appear at all.
>
> > Kind regards
>
> > Raoul
>
> > ----- Original Message ----- From: <geocode...@gmail.com>
> >http://groups.google.com/group/google-maps-js-api-v3?hl=en.- Zitierten Text ausblenden -
>
> - Zitierten Text anzeigen -

Dianne van Dulken

unread,
Mar 7, 2011, 9:48:08 PM3/7/11
to Google Maps JavaScript API v3
Raoul, did you find out what was causing this?

We've been having exactly the same error, only intermittently on IE,
for the last couple of dates.

I can't work out if we are unlucky enough to be calling a corrupt
version of main.js or if there is something else going on.

The only solution I found was at
http://www.google.com/support/forum/p/maps/thread?tid=55dd952633aa845f&hl=en,
which suggest replacing your "$(document).ready(function() {" with "$
(window).load(function() {"

Tried that and I'm still getting the error, although MORE
intermittently. Seems to work the first time I load the page, but on
refresh, or reloading within 10 minutes, it fails. Any help would be
appreciated.

We were having no problems last week on any browsers.

Cheers

Di

Dianne van Dulken

unread,
Mar 8, 2011, 12:11:51 AM3/8/11
to Google Maps JavaScript API v3
Well, I have found a "solution".

I have put it that way because it isn't actually a solution, it is
mind bogglingly stupid, but I don't have time to work out why it works
and make it more elegant.

It looks like there was a clash in timing between main.js and the dom.

If I took jquery.142.min.js, and instead of doing a call to it, wrote
it out inline, everything works beautifully.

"What?" you say, "That makes absolutely no sense".

I know, but there you have it.

I'll be reviewing in about a month as I am fairly sure it means there
is a problem with main.js, which will hopefully be fixed by then.

Hope this insanity helps you.

Di

Raoul Kieffer

unread,
Mar 12, 2011, 2:29:43 AM3/12/11
to google-map...@googlegroups.com, dog...@gmail.com
Hi Dianne,

I fully agree with you it is a timing problem. I found out that calling the
GoogleMaps API only once all other parts of my page have been uploaded would
solved the issue.

As I had other problems with the latest version (3.4) of GoogleMaps, I'm
specifying now the version number (3.3) (by adding "v=3.3") and it works
fine again.
<script type="text/javascript"
src="http://maps.google.com/maps/api/js?v=3.3&sensor=false"></script>

Meanwhile Ravi opened another thread on this topic:
[Google Maps API v3] Java Script Error
http://maps.gstatic.com/intl/en_us/mapfiles/api-3/4/4a/main.js
Let see if Google will find the problem.

Thanks for your email and have a nice week-end.

Raoul

----- Original Message -----
From: "Dianne van Dulken" <dog...@gmail.com>
To: "Google Maps JavaScript API v3" <google-map...@googlegroups.com>
Sent: Tuesday, March 08, 2011 6:11 AM
Subject: [Google Maps API v3] Re: Unknown Failure, Line 33, Pos 1048 in
mapfiles/api-3/4/3/main.js

Rossko

unread,
Mar 12, 2011, 6:33:58 AM3/12/11
to Google Maps JavaScript API v3
I think you folks could usefully add your examples and further details
to this formal defect report
http://code.google.com/p/gmaps-api-issues/issues/detail?id=3133
which has been created only today
Reply all
Reply to author
Forward
0 new messages