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 Drupal Modules (Moderator: Donald Lobo) »
  • CiviCRM contact not found for email@example.org
Pages: [1]

Author Topic: CiviCRM contact not found for email@example.org  (Read 1219 times)

ouyang1512

  • I post occasionally
  • **
  • Posts: 59
  • Karma: 0
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 7.12
  • MySQL version: MySQL 5.1.52
  • PHP version: 5.3.6
CiviCRM contact not found for email@example.org
July 02, 2012, 07:29:28 am
I am having trouble to edit some of my conatct information on my site.

I have Name and Address profile from CiviCRM as part of the drupal account. So when registered users log into my site, they will be able to change their contact information by going "Name and Address" page. But for some reason, I cannot make these changes in some of my testing accounts (not all) and the administrator account (user id 1). The message says "The changes have been saved", but they are actually not. The drupal log report only shows me:
Quote
CiviCRM contact not found for email@example.org
. This message also shows up when the changes made successfully on some other accounts.
Can anybody please tell me what's wrong here?

Note: I have CiviCRM 4.1.1. and Drupal 7.14 installed. mySQL DB, two separate databses, and roles to groups synchronized.

Thank you!

ouyang1512

  • I post occasionally
  • **
  • Posts: 59
  • Karma: 0
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 7.12
  • MySQL version: MySQL 5.1.52
  • PHP version: 5.3.6
Re: CiviCRM contact not found for email@example.org
July 10, 2012, 07:15:49 am
Did anybody else have this issue? Or anybody have an idea why this is happening? Thank you!

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: CiviCRM contact not found for email@example.org
July 10, 2012, 02:39:13 pm

that message is output by the group roles sync module in debug mode

Can you try and figure out the pattern under when it does a valid save and when it does not. Can you check your error and query logs and see if there is anything reported for an error

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

ouyang1512

  • I post occasionally
  • **
  • Posts: 59
  • Karma: 0
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 7.12
  • MySQL version: MySQL 5.1.52
  • PHP version: 5.3.6
Re: CiviCRM contact not found for email@example.org
July 16, 2012, 08:48:45 am
Thanks for your reply!
I found that for those accounts that I created before I installed CiviCRM, I am not able to edit the info in Drupal, but for those I created after the installation of CiviCRM, I am able to edit the info.

And in my log report, the only message is: "CiviCRM contact not found for myemail@domain.org". This message actually shows up anytime I make the edits on the account profile in Drupal, no matter the changes have been saved or not.

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: CiviCRM contact not found for email@example.org
July 16, 2012, 09:46:41 am

can u ensure that the civicrm module has a higher weight than the group_roles module. u'll need to check the drupal docs on how to do so

seems like that module hooks are being executed first.

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

ouyang1512

  • I post occasionally
  • **
  • Posts: 59
  • Karma: 0
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 7.12
  • MySQL version: MySQL 5.1.52
  • PHP version: 5.3.6
Re: CiviCRM contact not found for email@example.org
July 25, 2012, 11:27:05 am
Would you please direct me to the right place in drupal docs? I could not locate the pages that tell me how to find the civicrm module's weight in drupal. Thank you very much!

petednz

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4899
  • Karma: 193
    • Fuzion
  • CiviCRM version: 3.x - 4.x
  • CMS version: Drupal 6 and 7
Re: CiviCRM contact not found for email@example.org
July 25, 2012, 12:40:42 pm
If you have Drupal users created before you installed civicrm then you may need to run the synch to create civi records for them

http://drupal.demo.civicrm.org/civicrm/admin/synchUser?reset=1
Sign up to StackExchange and get free expert advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

pete davis : www.fuzion.co.nz : connect + campaign + communicate

ouyang1512

  • I post occasionally
  • **
  • Posts: 59
  • Karma: 0
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 7.12
  • MySQL version: MySQL 5.1.52
  • PHP version: 5.3.6
Re: CiviCRM contact not found for email@example.org
July 27, 2012, 08:52:30 am
Thanks for your suggestion, but I did that many times already after the installation of civiCRM.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Drupal Modules (Moderator: Donald Lobo) »
  • CiviCRM contact not found for email@example.org

This forum was archived on 2017-11-26.