Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autocomplete not working when typing location #47

Closed
BloomBoy opened this issue Jul 15, 2016 · 14 comments
Closed

Autocomplete not working when typing location #47

BloomBoy opened this issue Jul 15, 2016 · 14 comments
Assignees
Labels

Comments

@BloomBoy
Copy link

Expected behavior

Allow me to start enter an adress and that google suggest adresses matching the input

Actual behavior

Nothing happens. grey input on the right side of the input stating that: "Field disabled by MapEx widget"

Steps to reproduce the behavior

System information

Plugin version v1.5.1
Plugin build date 14/07/2016
Widgetkit version 2.7.3
Database version 2.0.0
jQuery version 1.12.4
UIkit version 2.26.2
AngularJS version 1.3.20
PHP version 7.0.8 (fpm-fcgi)

CMS type: Joomla or WordPress
Joomla

CMS version:

Version of the widget:

Website URL:

Debug output of the widget:

@rvalitov
Copy link
Owner

Attach a screenshot please.

@BloomBoy
Copy link
Author

My bad, I had issue with API key...

Morgan Gustafsson
Bloom Webb AB
08-559 24 354

On Fri, Jul 15, 2016 at 1:29 PM, Ramil Valitov [email protected]
wrote:

Attach a screenshot please.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#47 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AELq-RwYbfVMcLiUq0_DKlIimwUUvvjZks5qV28bgaJpZM4JNTl5
.

@BloomBoy
Copy link
Author

Ok, still have the same issue, watch this short video:
https://vimeo.com/174803732

Morgan Gustafsson
Bloom Webb AB
08-559 24 354

On Fri, Jul 15, 2016 at 1:31 PM, Morgan Gustafsson [email protected] wrote:

My bad, I had issue with API key...

Morgan Gustafsson
Bloom Webb AB
08-559 24 354

On Fri, Jul 15, 2016 at 1:29 PM, Ramil Valitov [email protected]
wrote:

Attach a screenshot please.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#47 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AELq-RwYbfVMcLiUq0_DKlIimwUUvvjZks5qV28bgaJpZM4JNTl5
.

@rvalitov
Copy link
Owner

Thank you for the video. It helps a lot! First of all the disabled field is disabled on purpose because it's not used by MapEx widget, and this field is not related to the autocomplete feature. The warning notices in the console log are not related to your problem, too. Only the error message about missing file should not be there, I'll investigate why it appears in your case. I never tested the widget with PHP7. May be it's the reason of your problem. I suggest you to test the autocomplete feature in the standard Map widget. Does it work there?

@rvalitov
Copy link
Owner

And please, check the error.log file of Apache (PHP), may be there you will find some more warnings or errors that will help to find the reason of this problem.

@rvalitov rvalitov self-assigned this Jul 15, 2016
@BloomBoy
Copy link
Author

Hi again,

The standard widget also fails. I checked on another old project thats been
working fine and that also failed. I tested with php 5.6 and on other
server with same issue. To me it seems the warnings below are new, havent
seen them before.

Google Maps API warning: NoApiKeys
https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys

Could it be that I have some issue with the api key? Or did gogle change
anything?

Morgan Gustafsson
Bloom Webb AB
08-559 24 354

On Fri, Jul 15, 2016 at 3:35 PM, Ramil Valitov [email protected]
wrote:

And please, check the error.log file of Apache (PHP), may be there you
will find some more warnings or errors that will help to find the reason of
this problem.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#47 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AELq-Rnat3eQoiAmcnpqH7zqXsyTQtDpks5qV4yPgaJpZM4JNTl5
.

@BloomBoy
Copy link
Author

No issues registered in the error logs by the way.

Morgan Gustafsson
Bloom Webb AB
08-559 24 354

On Fri, Jul 15, 2016 at 3:52 PM, Morgan Gustafsson [email protected] wrote:

Hi again,

The standard widget also fails. I checked on another old project thats
been working fine and that also failed. I tested with php 5.6 and on other
server with same issue. To me it seems the warnings below are new, havent
seen them before.

Google Maps API warning: NoApiKeys
https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys

Could it be that I have some issue with the api key? Or did gogle change
anything?

Morgan Gustafsson
Bloom Webb AB
08-559 24 354

On Fri, Jul 15, 2016 at 3:35 PM, Ramil Valitov [email protected]
wrote:

And please, check the error.log file of Apache (PHP), may be there you
will find some more warnings or errors that will help to find the reason of
this problem.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#47 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AELq-Rnat3eQoiAmcnpqH7zqXsyTQtDpks5qV4yPgaJpZM4JNTl5
.

@rvalitov
Copy link
Owner

rvalitov commented Jul 15, 2016

The MapEx widget uses the UI controls from the standard Map widget. So, if a standard Map widget fails to autocomplete, then the MapEx fails, too (because as I said they use the same input box). There is an issue #30 that was designed to add a new feature: own controls and give more options and freedom for selecting a location, but this issue isn't solved yet.

As far as I understand this issue happens in Safari? Did you try other browsers (Chrome and Firefox are recommended for testing)?

@rvalitov rvalitov changed the title Field disabled by MapEx widget Autocomplete not working when typing location Jul 15, 2016
@BloomBoy
Copy link
Author

I use Chrome.

Ok, I will test to update widgetkit and se if that solves this issue.

Morgan Gustafsson
Bloom Webb AB
08-559 24 354

On Fri, Jul 15, 2016 at 4:15 PM, Ramil Valitov [email protected]
wrote:

The MapEx widget uses the UI controls from the standard Map widget. So, if
a standard Map widget fails to autocomplete, then the MapEx fails, too
(because as I said they use the same input box). There is an issue #30
#30 that was design
to add a new feature: own controls and give more options and freedom for
selecting a location, but this issue isn't solved yet.

As far as I understand this issue happens in Safari? Did you try other
browsers (Chrome and Firefox are recommended for testing)?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#47 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AELq-UM9VJv4YHOTgZ2__Sej_RJO8yggks5qV5X0gaJpZM4JNTl5
.

@rvalitov
Copy link
Owner

I doubt that updating will help you, because I also tested the MapEx with Widgetkit 2.7.3 and the autocomplete works fine. And does autocomplete work if you just type the location in the Google Maps https://maps.google.com ?

@rvalitov
Copy link
Owner

If it's possible, please, create an account for me to access the Joomla's backend, so that I can investigate this issue and your website in details. Please, send the credentials privately to my e-mail [email protected]

@BloomBoy
Copy link
Author

Yes, https://maps.google.com works as usual.

Morgan Gustafsson
Bloom Webb AB
08-559 24 354

On Fri, Jul 15, 2016 at 4:19 PM, Ramil Valitov [email protected]
wrote:

I doubt that updating will help you, because I also tested the MapEx with
Widgetkit 2.7.3 and the autocomplete works fine. And does autocomplete work
if you just type the location in the Google Maps https://maps.google.com ?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#47 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AELq-ZWmackfMmcZrfKrIljKrqsRCkXZks5qV5cBgaJpZM4JNTl5
.

@rvalitov
Copy link
Owner

Current status of issue: issue is confirmed, it happens both for Map and MapEx widgets. It's not related with PHP7, widgetkit and Joomla version. Investigation is still ongoing.

@rvalitov
Copy link
Owner

rvalitov commented Aug 1, 2016

The reason was that the Google Places API was not enabled for the domain.
The Wiki updated.

@rvalitov rvalitov closed this as completed Aug 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants