CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • GMap config for 1.7
Pages: [1]

Author Topic: GMap config for 1.7  (Read 2272 times)

Colin Sagan

  • Guest
GMap config for 1.7
July 26, 2007, 10:46:18 am
Are there instructions somewhere for getting gmap and civicrm going in 1.7? The FAQ has something about getting the API key, but nothing else about what needs to be installed / configured to get things working.

I'm not sure I understand where the geocoding happens, and what I have to do to make it happen.

I know that 1.8 is going to change this a bit, but if there is a resource already for 1.7 I'd like to get it going sooner.
Thanks,
Colin

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: GMap config for 1.7
July 26, 2007, 10:51:33 am
Instructions and link to get the Google API key for mapping on on the Mapping Provider configuration screen (mouseover the ? icon).

Administer CiviCRM >> Global Settings >> Mapping Provider

On the demo - this is:
http://demo.civicrm.org/drupal/civicrm/admin/setting/mapping?reset=1

The only change between 1.7 and 1.8 is the addition of a Batch Geocoding script (command line) in 1.8, and the option to enable or disabl geocoding during Import.

http://wiki.civicrm.org/confluence/display/CRMDOC/Batch+Geocoding+Script
Protect your investment in CiviCRM by  becoming a Member!

Colin Sagan

  • Guest
Re: GMap config for 1.7
July 26, 2007, 04:58:42 pm
Thanks for the info Dave,
So I've got the mapping working when I just type in a lat and long, but when I use an address it gives me this error:

Fatal error: Call to undefined function: simplexml_load_string() in /home/www/clpp/clpp/crm/sites/all/modules/civicrm/CRM/Utils/Geocode/Google.php on line 133

So clearly this is a geocoding issue. So what do I need to do between typing in the address and getting the mapping to work?

Thanks.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: GMap config for 1.7
July 26, 2007, 05:05:33 pm

Colin:

most likely you are using a php4 webserver. Both Google and Yahoo Geocoding services in CiviCRM require PHP5

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Colin Sagan

  • Guest
Re: GMap config for 1.7
July 26, 2007, 05:08:12 pm
Arrg. Yes, that is.
Thanks anyway.

davistv

  • Guest
Re: GMap config for 1.7
March 06, 2008, 09:49:27 am
Quote from: Dave Greenberg on July 26, 2007, 10:51:33 am
Instructions and link to get the Google API key for mapping on on the Mapping Provider configuration screen (mouseover the ? icon).

Administer CiviCRM >> Global Settings >> Mapping Provider

On the demo - this is:
http://demo.civicrm.org/drupal/civicrm/admin/setting/mapping?reset=1

The only change between 1.7 and 1.8 is the addition of a Batch Geocoding script (command line) in 1.8, and the option to enable or disabl geocoding during Import.

http://wiki.civicrm.org/confluence/display/CRMDOC/Batch+Geocoding+Script

The demo link gives "access denied".

Also, there appears to be something missing in the setup instructions. I've got Drupal 5.7, civicrm-1.9.13019-drupal-php5, and gmap-5.x-1.0-alpha1 installed and configured, the Google map api key seems to work, but I don't get a map when I click on my event's map link. No errors in the apache logs and no javascript errors either:

http://beyondpracticemgmt.com/civicrm/event/info?reset=1&id=1

Is there something else that needs to be installed or configured to get the google maps working?

Thank You,
Troy

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: GMap config for 1.7
March 06, 2008, 03:30:37 pm
Quote from: davistv on March 06, 2008, 09:49:27 am
The demo link gives "access denied".
You need to login first to view the event configuration screens. User = demo Password = demo

Quote
Also, there appears to be something missing in the setup instructions. I've got Drupal 5.7, civicrm-1.9.13019-drupal-php5, and gmap-5.x-1.0-alpha1 installed and configured, the Google map api key seems to work, but I don't get a map when I click on my event's map link. No errors in the apache logs and no javascript errors either:

http://beyondpracticemgmt.com/civicrm/event/info?reset=1&id=1

Is there something else that needs to be installed or configured to get the google maps working?

If you've entered a Google Map API Key under Global Settings, and you're seeing a "Map this Location" link on your Event Information screen - you "should" be getting a map. What DOES happen when you click that link? I get access denied when trying to view the event page on your site.

For a working example, check this Event Info page on the demo (you'll have to zoom out a bit on the map because it's not quite a real address :-)):
http://drupal.demo.civicrm.org/civicrm/event/info&reset=1&id=3&action=preview
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • GMap config for 1.7

This forum was archived on 2017-11-26.