real direction dont display into Event

10 years 9 months ago #228410 by ver
Replied by ver on topic real direction dont display into Event
Hi,

This is the result of googleapis URL:

{
"results" : [],
"status" : "ZERO_RESULTS"
}


What that means ? :blink: :blink: :blink:

Please Log in to join the conversation.

10 years 9 months ago #228411 by ver
Replied by ver on topic real direction dont display into Event
Sorry now i put the address into the URL, this is the result:

{
"results" : [
{
"address_components" : [
{
"long_name" : "23",
"short_name" : "23",
"types" : [ "street_number" ]
},
{
"long_name" : "Ayacucho",
"short_name" : "Ayacucho",
"types" : [ "route" ]
},
{
"long_name" : "Balvanera",
"short_name" : "Balvanera",
"types" : [ "neighborhood", "political" ]
},
{
"long_name" : "Buenos Aires",
"short_name" : "CF",
"types" : [ "locality", "political" ]
},
{
"long_name" : "Ciudad Autónoma de Buenos Aires",
"short_name" : "Ciudad Autónoma de Buenos Aires",
"types" : [ "administrative_area_level_1", "political" ]
},
{
"long_name" : "Argentina",
"short_name" : "AR",
"types" : [ "country", "political" ]
}
],
"formatted_address" : "Ayacucho 23, Buenos Aires, Ciudad Autónoma de Buenos Aires, Argentina",
"geometry" : {
"bounds" : {
"northeast" : {
"lat" : -34.60908850,
"lng" : -58.39486609999999
},
"southwest" : {
"lat" : -34.60908930,
"lng" : -58.39488450
}
},
"location" : {
"lat" : -34.60908850,
"lng" : -58.39486609999999
},
"location_type" : "RANGE_INTERPOLATED",
"viewport" : {
"northeast" : {
"lat" : -34.60773991970850,
"lng" : -58.39352631970849
},
"southwest" : {
"lat" : -34.61043788029150,
"lng" : -58.39622428029149
}
}
},
"types" : [ "street_address" ]
}
],
"status" : "OK"
}

All the address that i used are ok.

But dont work on my GJ :huh:

I send you a PM.

Please help.

Please Log in to join the conversation.

10 years 9 months ago #228444 by krileon
Replied by krileon on topic real direction dont display into Event
The problem is on your site then. It works fine locally here and it works fine when used directly. Your site however isn't working right. This is likely something to do with your host not sending HTTPS requests. Navigate to your site using HTTP instead of HTTPS and try.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in to join the conversation.

10 years 9 months ago #228521 by ver
Replied by ver on topic real direction dont display into Event
Yes, i found the problem.

As you said Maps are well displayed on HTTP

But dont work on HTTPS

What do you suggest? My site use HTTPS.

Thanks.

Please Log in to join the conversation.

10 years 9 months ago #228528 by krileon
Replied by krileon on topic real direction dont display into Event
Your host needs to have SSL for cURL support so HTTPS requests can be sent out from your site. Alternative is perform the below edit and force the request to HTTP at all times.

IN: /components/com_comprofiler/plugin/user/plug_cbgroupjive/plugins/cbgroupjiveevents/cbgroupjiveevents.php
ON: Line 900
FROM:
				$snoopy->fetch( ( $isHttps ? 'https' : 'http' ) . '://maps.googleapis.com/maps/api/geocode/json?address=' . urlencode( $row->get( 'address' ) ) . '&sensor=false' );
TO:
				$snoopy->fetch( 'http://maps.googleapis.com/maps/api/geocode/json?address=' . urlencode( $row->get( 'address' ) ) . '&sensor=false' );


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
The following user(s) said Thank You: asierraserna

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.228 seconds

Facebook Twitter LinkedIn