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 Profiles (Moderator: Dave Greenberg) »
  • Cannot get profile for editing to display for Drupal user
Pages: [1]

Author Topic: Cannot get profile for editing to display for Drupal user  (Read 1076 times)

laobhaise

  • Guest
Cannot get profile for editing to display for Drupal user
March 10, 2010, 04:38:14 am
Hello,

I would like to start by saying that I have googled my error, review the forums, and read the documentation. Saying that I am also not a Civicrm expert. I working as a volunteer for non-profit organisation and have been trying to come up to speed the last 6 months on Drupal - Civicrm and the integration of both.

I also inherited the currenty civicrm database which consists of information about non-governmental organisations.

I have upgraded Civicrm to 3.1.3 and it is working with CMS Drupal 6.16, on logging in as a user configured to view and edit profiles I test the editing access with the following URL extension:

http://www.mywebsite.com/civicrm/profile/edit?reset=1&id=?&gid=12

However I get the following error:
This profile is configured for contact type 'Organization'. It cannot be used to edit contacts of other types.

This I find strange as I doubled checked the profile and all fields included are either Organisation or Contact, this should work right?

Also I can view the profile record for the specific user without issue! I can access the profile for editing if I navigate through the links for the online directory when logged on as the user, having the view / edit links enabled. At the moment this is the only roundabout way I can get access to the profile editing option.

I have looked at ACL's, and I have looked at CiviGroup Roles Sync which doesn't seem to help, I set up a Drupal User Profile and maybe through lack of experience I can't seem to make that work either. For my test user it is synched with a corresponding civicrm contact record and that link displays correct when I log in as that user but I don't want someone editing the contact record.

I think the underlying error that I detailed above that I get when I try to display the profile for editing is the problem. At this point, I am out of ideas and would really appreciate any help or guidance!!

Thank you very much!

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: Cannot get profile for editing to display for Drupal user
March 10, 2010, 07:00:47 am

Is the contact you are editing an Individual? i.e. is there a profile mismatch between the contact type and the profile type?

I'm not very sure why one way will work and not the other :( If we can get ssh access to your box, we can login and investigate:

http://wiki.civicrm.org/confluence/display/CRMDOC/SSH+Access+Requirements

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

laobhaise

  • Guest
Re: Cannot get profile for editing to display for Drupal user
March 11, 2010, 03:19:03 am
Hi Lobo,

Thank you so much for your response. I am based in Hanoi, Vietnam at the moment... I have all the information you need to SSH into the box. If you let me know when is a good time to IRC the info I will be very happy to get it to you.

Thanks again!

With best regards,
Laobhaise

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Profiles (Moderator: Dave Greenberg) »
  • Cannot get profile for editing to display for Drupal user

This forum was archived on 2017-11-26.