Litte bug in geocode cron plugin

paolo.tateo

Member
Hi,
I found this bug: the geocode cron plugin not work when the connection database is not the main database.


Paolo
 
Hi Rob,
I just tested and the problem is solved, but there is also another problem that occurs both in the main database, and in the secondary.

I ave to ask Google 30.000 address geocoding, max 2.500 / day (limit of Google free.. the enterprise service start from 10.000 $ / year !!)

Suppose that I start with 100 address (Batch Limit param in the plugin configuration). When I try the second time the plugin starts from the beginning of the table (record 1). In order to process the records from 101 to 200 I have to write 200 in the Batch Limit param.

Thanks
Paolo
 
Did you try to set a combination of "Geocode When" (empty or default) and "Batch Limit"?
It should skip rows which aleady have been geocoded ( i.e. are not empty).
 
ok, found it:
in ...\plugins\fabrik_cron\geocode\geocode.php
change line 99 from
$geocode_when = $params->get('geocode_zip_element', '1'); :eek:
to
$geocode_when = $params->get('geocode_when', '1');

fixed in GitHub
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top