1. Kubique S.p.A.
  2. General
  3. Sunday, 26 April 2015
  4.  Subscribe via email
Mandatory information about my setup:

Have I searched the tickets before posting? YES
Have I searched the forum before posting? YES
Have I read the documentation before posting (which pages?)? YES
Joomla! version: 3.4
PHP version: (unknown)
MySQL version: (unknown)
Matukio version: LAST
Direct link to the page that shows the issue: (unknown)


Description of my issue:
Hi,
When I use the locations DB I have no problems:
1. New location;
2. Add address;
3. Associate location inside event edit;
4. Matukio map Module recognize the address as gmap pointer as expected.
But if I try to create an event with a free-insert location (custom location) every time the module is loaded in front end I get this error
"Geocode was not successful for the following reason: ZERO_RESULTS (null)"
In
\modules\mod_matukio_map\media\mod_matukio_map\tmpl\default\js\map.jquery.js
I've find the alert
alert('Geocode was not successful for the following reason: ' + status + " (" + address + ";)";);
So I suppose my location is correctly not found because "+ address +" is null.
I look around in the module and I've found this query in the helper
$db->setQuery("SELECT id AS value, title AS text, gmaploc FROM #__matukio_locations WHERE published = 1 ORDER BY title ASC";);
In a custom location event result this query is always NULL because the location is stored in "place" column of matukio main table.
What should be the expected result for the map module?
If a user do find a location in the existing list he can select it... but if the location is not present in the list he should write an address string to obtain a marker in the module. Is it right? Can you help me to find the problem?
I don't think it's an address problem because:
1. address is null in the view output;
2. I tried to use always the same address in the location panel and in the custom location field.

THNX
v.
Responses (7)


There are %s replies to this question. If you want to see them you need a valid subscription.
If you have a valid subscription, please login now.
Visit store now
Powered by EasyDiscuss for Joomla!