IRC logs for #farmOS, 2016-07-18 (GMT)

2016-07-17
2016-07-19
TimeNickMessage
[21:28:24]* mstenta has quit (Ping timeout: 276 seconds)
[09:24:18]* mstenta has joined #farmos
[18:10:45]* SCDrupalGuy has joined #farmos
[18:10:54]<SCDrupalGuy>Hello!
[18:10:54]<farmBOT>privet
[18:10:54]<farmBOT> Hello!
[18:11:05]<SCDrupalGuy>Quick Question
[18:11:53]<SCDrupalGuy>I am working on an install of farmOS and when I load the site, I get a pop up that says "This page was unable to display a Google Maps Element...."
[18:12:37]<mstenta>Hi SCDrupalGuy
[18:12:44]<SCDrupalGuy>I included the Google Maps API Key in the geocoder settings
[18:12:59]<mstenta>Ah ok... I was going to mention the API key
[18:13:02]<SCDrupalGuy>but I still get the popup and no map. Am I missing something
[18:13:03]<mstenta>Where did you include it?
[18:13:25]<mstenta>(can you paste the URL path? not the full domain, just the path part)
[18:13:33]<SCDrupalGuy>I included it at admin/config/content/geocoder
[18:14:15]<mstenta>One moment... I'm looking up the correct path...
[18:15:31]<SCDrupalGuy>If I get disconnected, I apologize. Huge thunderstorm passing through the Aiken, SC area right now.
[18:15:42]<mstenta>go to admin/structure/openlayers/sources/list/farm_map_source_google_hybrid/edit/options
[18:15:54]<mstenta>you will need to enable the Openlayers UI module to get there
[18:16:23]<mstenta>this is a new issue... Google has started requiring an API key for any software using their layers
[18:17:01]<mstenta>it's an unfortunate extra step in the setup process, that has not been documented yet
[18:17:49]<SCDrupalGuy>I see that. Thanks for the help. Implementing it now
[18:18:35]<mstenta>The admin/config/content/geocoder path is a different piece of configuration... I'm not actually sure if that's required.
[18:19:02]<mstenta>In farmOS, we use the Geocoder module for processing uploaded KML files into Farm Area shapes
[18:19:22]<mstenta>I was testing that a bunch recently, and I didn't have an API key - so it may not need one.
[18:20:12]<mstenta>But then again, when they made the change to the map layer API - they grandfathered anyone who was using the API before the announcement, so anyone who installed it before then didn't need an API key
[18:20:17]<mstenta>I'm not sure if the same is true of Geocoding
[18:20:46]<SCDrupalGuy>Do I need the Client and Channel info too? I am still getting the popup
[18:20:54]<mstenta>Nope - just the "Key"
[18:21:10]<mstenta>Try clearing your cache - not sure if that's necessary, but always worth a shot
[18:21:23]<mstenta>If that doesn't work, can you paste the exact popup message?
[18:22:57]<mstenta>Oh... the other thing to confirm: Did you enable "Google Maps Javascript API" in your google settings after you created an API key?
[18:24:54]<mstenta>I think this is the URL for doing that: https://console.developers.google.com/apis/api/maps_backend/overview
[18:25:01]<mstenta>There's a little "Enable" button at the top
[18:26:03]<SCDrupalGuy>Ha!
[18:26:05]<SCDrupalGuy>That worked
[18:26:09]<mstenta>Great :-)
[18:26:14]<mstenta>The "enable" button?
[18:26:18]<mstenta>Or the cache clear?
[18:26:21]<SCDrupalGuy>I am not sure how I missed that. Yes the enable button
[18:26:29]<mstenta>Ah yea - I missed it too the first time.
[18:26:41]<mstenta>Need to document that on docs.farmos.org
[18:26:43]<SCDrupalGuy>I have used Open Layers / Google Maps for years in project, but I guess never on my personal account lol
[18:27:01]<mstenta>Yea me too... they just started enforcing the API keys recently
[18:27:10]<mstenta>Like a week ago or so
[18:27:33]<mstenta>Trying to find the exact date... can't
[18:28:10]<SCDrupalGuy>Well I am an ex-drupal dev. I moved on to technical writing, specifically electrical engineering documentation, projects, tutorials, etc for Element14.com So I am hoping I can contribute some stuff with the sensors module
[18:28:22]<mstenta>Awesome!
[18:28:48]<SCDrupalGuy>Are you a drupal dev?
[18:29:08]<SCDrupalGuy>Do you know Will Jackson? I know he knows someone from the FarmOS project.
[18:30:38]<mstenta>Yep, I'm the lead dev of farmOS :-)
[18:30:49]<mstenta>Not sure if I've met Will...
[18:34:58]<SCDrupalGuy>ahh ok. We both worked for New Valley Media, but he has moved on to Kanopi. Anyways, thanks for the help, and once I wrap my head around how the sensors stuff works, I am sure I will be in touch. I am currently working on a garden monitoring suite which is controlled by a Raspberry Pi. So I am hoping I can tie all of that into this. Also will be using this to manage our hobby farm!
[18:35:36]<mstenta>Great! Ping me if you have any questions - I did a bunch of work on the sensor modules during the 7.x-1.0-beta12 cycle
[18:36:01]<mstenta>Still a lot to do though :-)
[18:37:02]<mstenta>FYI: https://www.drupal.org/node/2768895
[18:37:43]<mstenta>Not sure if that's exactly right... feel free to comment/edit
[18:38:11]<mstenta>We should get it pushed up to docs.farmos.org to help others
[18:38:17]<SCDrupalGuy>Im sure I will have some questions. I should be getting started on it in a week or two. Still working on the base article for element14.
[18:39:43]<SCDrupalGuy>I left a comment. Thanks again for the help.
[18:43:07]* SCDrupalGuy has quit (Quit: Page closed)