CiviCRM Forums
News: You can learn more about CiviCRM from our new free book: Understanding CiviCRM. Also Check the CiviCRM Blog for updated information on CiviCRM
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
September 02, 2010, 08:50:23 am


Login with username, password and session length


Pages: [1]
  Print  
Author Topic: Cannot get profile for editing to display for Drupal user  (Read 306 times)
laobhaise
I’m new here
*

Karma: 0
Offline Offline

CiviCRM: 3.1.3
CMS: Drupal 6.16
MySQL: 5.0.77
PHP: 5.2.12

Posts: 2


View Profile
« on: 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!
Logged
Donald Lobo
Administrator
I’m (like) Lobo ;)
*****

Karma: 330
Offline Offline

CiviCRM: 3.2
CMS: Drupal 6.x, Joomla 1.5.x
MySQL: MySQL 5.1.x
PHP: PHP 5.3.x

Posts: 9357



View Profile WWW
« Reply #1 on: 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 Sad 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
Logged

Use CiviCRM? Like CiviCRM? Then show your appreciation and make a donation.
laobhaise
I’m new here
*

Karma: 0
Offline Offline

CiviCRM: 3.1.3
CMS: Drupal 6.16
MySQL: 5.0.77
PHP: 5.2.12

Posts: 2


View Profile
« Reply #2 on: 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
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM