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 CiviMember (Moderator: Deepak Srivastava) »
  • UpdateMembershipRecord fails due to CiviMember Roles Sync
Pages: [1]

Author Topic: UpdateMembershipRecord fails due to CiviMember Roles Sync  (Read 1324 times)

sandys

  • I post occasionally
  • **
  • Posts: 41
  • Karma: 1
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 6.26
  • MySQL version: 5.0.92
UpdateMembershipRecord fails due to CiviMember Roles Sync
August 17, 2010, 04:43:45 pm
I'm trying to run the UpdateMembershipRecord.php routine, but it's failing with the following error:

Fatal error: require_once() [function.require]: Failed opening required '/CRM/Core/BAO/UFMatch.php' (include_path='.:/home/account/public_html/sites/all/modules/civicrm:/home/account/public_html/sites/all/modules/civicrm/packages:.:/usr/lib/php:/usr/local/lib/php') in/home/sbcc10/public_html/sites/all/modules/civicrm/drupal/modules/civicrm_member_roles/civicrm_member_roles.module on line 402

I've verified that the UFMatch.php file does exist and has what I believe should be appropriate permissions (644), checked the settings file, where I see that $civicrm_root = '/home/account/public_html/sites/all/modules/civicrm' and the site key is set.

I've checked passwords & the site key to ensure that no invalid characters are used and I'm including the appropriate information in the URL.  

Also, I'm using the UpdateMembershipRecord.php script that shipped with Civi.  The only modification I've made is to change the email address.

UPDATE - I disabled the drupal module "CiviMember Roles Sync" and was able to successfully run this routine, which implies that the problem lies therein. 

Does anyone have any knowledge of issues with the CiviMember Roles Sync module?
« Last Edit: August 18, 2010, 10:59:03 am by sandys »

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: UpdateMembershipRecord fails due to CiviMember Roles Sync
August 23, 2010, 04:55:30 am
Are you using CiviCRM 2.x, if yes please upgrade to lasted release CiviCRM 3.2.x and let us know.

Kurund
Found this reply helpful? Support CiviCRM

sandys

  • I post occasionally
  • **
  • Posts: 41
  • Karma: 1
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 6.26
  • MySQL version: 5.0.92
Re: UpdateMembershipRecord fails due to CiviMember Roles Sync
August 23, 2010, 04:56:52 am
Sorry, I should have included/updated that info.  I'm using CiviCRM 3.2.1, Drupal 6.19.
« Last Edit: August 23, 2010, 04:58:36 am by sandys »

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: UpdateMembershipRecord fails due to CiviMember Roles Sync
August 23, 2010, 05:21:20 am
We will investigate and get back to you.

Kurund
Found this reply helpful? Support CiviCRM

priya_webaccess

  • Guest
Re: UpdateMembershipRecord fails due to CiviMember Roles Sync
August 23, 2010, 07:04:50 am
It seems like issue is working fine for my local install.
Would be great if you could check and provide some more steps to replicate the issue.


Thanks
Priya
« Last Edit: August 23, 2010, 07:05:38 am by Kurund Jalmi »

sandys

  • I post occasionally
  • **
  • Posts: 41
  • Karma: 1
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 6.26
  • MySQL version: 5.0.92
Re: UpdateMembershipRecord fails due to CiviMember Roles Sync
August 23, 2010, 07:11:29 am
Not much in the way of steps as I made the attempt using default information and there is only one step to running the process.

1)  Added a real email address to UpdateMembershipRecord.php.txt.
2)  Renamed the file to UpdateMembershipRecord.php
3)  Set a site key
4)  Called the task via URL using the site key

If I have CiviMember Roles Sync enabled it fails giving the error noted above.
If I disabled CiviMember Roles Sync, the script runs and completes successfully.

But, I was wondering whether this is related:  http://forum.civicrm.org/index.php?topic=15007.0  My development site is using a domain ending in .com - but I don't have the issue reported there with uploading images.

priya_webaccess

  • Guest
Re: UpdateMembershipRecord fails due to CiviMember Roles Sync
August 24, 2010, 12:47:40 am
I have tried to replicate the issue w/ given steps, but functionality seems to be working fine for my local install.
You might want to check your local machine settings.

Thanks
Priya

sandys

  • I post occasionally
  • **
  • Posts: 41
  • Karma: 1
  • CiviCRM version: 4.1.1
  • CMS version: Drupal 6.26
  • MySQL version: 5.0.92
Re: UpdateMembershipRecord fails due to CiviMember Roles Sync
August 24, 2010, 05:54:40 am
What settings would I check? 

I've verified that the path is set correctly.  In fact, the path that is listed in the error is correct.  The file that the error message references does exist.

The script runs fine as long as CiviMember Roles Sync is not enabled.  Are there particular settings for that module that would apply here?  I can't seem to find much documentation for the more recent versions.


Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: UpdateMembershipRecord fails due to CiviMember Roles Sync
August 24, 2010, 06:39:10 am
You might have to debug and check when it fails.

Kurund
Found this reply helpful? Support CiviCRM

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMember (Moderator: Deepak Srivastava) »
  • UpdateMembershipRecord fails due to CiviMember Roles Sync

This forum was archived on 2017-11-26.