CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Proximity search won't add records to smart group or new group
Pages: [1]

Author Topic: Proximity search won't add records to smart group or new group  (Read 1006 times)

stevethepug

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
Proximity search won't add records to smart group or new group
March 09, 2011, 03:10:55 am
I have for some time been using proximity searches to create smart groups that I then mass mail, typically selecting records within 50 miles of a particular postcode.

However, recently the functionality seems to have stopped working. The proximity search works correctly initially and brings up, say, 1092 records but when I add them to a new group or smart group (saying select all records), that group contains only records that are an EXACT match for the postcode used for the proximity search (typically 1 or 0 records).

When I look at a smart group created previously that worked, that too now contains only 1 or 0 records.

So the problem seems to be that the proximity setting is failing and the smart group query is defaulting to an exact match rather than a proximity search.

Instead of adding the records found to a smart group I tried creating a new group but got the same problem.

This is something we use all the time so is causing us major difficulties. Any help gratefully received.


Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Proximity search won't add records to smart group or new group
March 09, 2011, 08:21:36 am

1. what version. i faintly remember some issue regarding this in an earlier version (but then again my memory is a bit suspect!)

2. can you try to reproduce this on our demo machine

thanx

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

stevethepug

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
Re: Proximity search won't add records to smart group or new group
March 10, 2011, 09:02:45 am
Thank you Lobo

We're using 3.3.3.

And yes, I can duplicate it on the demo machine. Created a smart group called "Proximity smart group - 250 miles from TX 78608" with several e-mailable records but when I try mailing it, Civi reports that there are no records to mail.

Strange cos it worked fine until a week or so ago.

I appreciate your help!

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Proximity search won't add records to smart group or new group
March 10, 2011, 10:47:29 am

We've tweaked the protocol a bit for 3.4 and CiviMail. Can you also test on our 3.4 sandbox and see if its fixed there

http://sandbox.civicrm.org/

thanx

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

stevethepug

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
Re: Proximity search won't add records to smart group or new group
March 10, 2011, 11:15:57 am
Thanks.

The Sandbox doesn't yet seem to be set up for proximity searches: "Proximity searching requires you to set a valid geocoding provider". If you could set that up, I'll test it.




Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Proximity search won't add records to smart group or new group
March 10, 2011, 11:52:59 am

done. copied it over from drupal.demo.civicrm.org

i could not reproduce this locally on my 3.4 install. so hopefully this has been fixed/resolved in 3.4 :)

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

stevethepug

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
Re: Proximity search won't add records to smart group or new group
March 10, 2011, 12:02:20 pm
Well, it's a little different but not quite right....

I set up a smart group (called "Proximity search") with 10 emailable records. When I go to "Manage groups" and open it, it brings up all the records which is an improvement. But when I try to mail it, it mails only 3 records.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Proximity search won't add records to smart group or new group
March 10, 2011, 12:28:17 pm

a lot of the generated contacts are either

* on_hold
* is_deceased
* or dont have a primary / bulk email

hence u dont get all 10 records

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

stevethepug

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
Re: Proximity search won't add records to smart group or new group
March 10, 2011, 12:31:45 pm
OK - so I guess that means I need to wait for 3.4 for this to be fixed?

stevethepug

  • I’m new here
  • *
  • Posts: 20
  • Karma: 0
Re: Proximity search won't add records to smart group or new group
March 14, 2011, 07:03:46 am
I came across this filed issue http://issues.civicrm.org/jira/browse/CRM-7589 which seems to address the problem. Would be great to know if the patch is likely to work on 3.3.3.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Proximity search won't add records to smart group or new group

This forum was archived on 2017-11-26.