PHP Classes

Object required

Recommend this page to a friend!

      PHP Forms Class with HTML Generator and JavaScript Validation  >  PHP Forms Class with HTML Generator and JavaScript Validation package blog  >  Making money with adv...  >  All threads  >  Object required  >  (Un) Subscribe thread alerts  
Subject:Object required
Summary:Error in main.js
Messages:2
Author:ggggggg
Date:2009-10-28 07:45:18
Update:2009-10-28 08:25:05
 

  1. Object required   Reply   Report abuse  
Picture of ggggggg ggggggg - 2009-10-28 07:45:18
Hi,

Im trying the test_map_location_input.php on my server with IE8
and I get no map with the error:

Error: Object required.
Row: 215
Char: 26
Code: 0
URI: http://maps.gstatic.com/intl/sv_ALL/mapfiles/180e/maps2.api/main.js

Any suggestions?


  2. Re: Object required   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2009-10-28 08:25:06 - In reply to message 1 from ggggggg
It seems you may have not set a proper Google Maps key for the domain you are trying.

As explained in the documentation, the Google Maps API requires an unique key to work on the pages of each site. The key may be obtained for free in the Google Maps API signup page:

google.com/apis/maps/signup.html