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 »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Error when set profile to notify when profile form is submitted
Pages: [1]

Author Topic: Error when set profile to notify when profile form is submitted  (Read 582 times)

awasson

  • I post frequently
  • ***
  • Posts: 230
  • Karma: 7
  • Living in a world of Drupal / CiviCRM
    • My Company: Luna Design
  • CiviCRM version: Latest
  • CMS version: Drupal 6/7/8
  • MySQL version: 5.x
  • PHP version: 5.3.x
Error when set profile to notify when profile form is submitted
October 24, 2012, 07:42:37 pm
I have adjusted the settings for my Name and Address profile to email me if a contact updates them. Unfortunately when I log in as a typical member, this results in the following error when I try to update my Name or Address:

The requested Profile (gid=1) is disabled OR it is not configured to be used for 'Profile' listings in its Settings OR there is no Profile with that ID OR you do not have permission to access this profile. Please contact the site administrator if you need assistance.

If I remove the email address the problem goes away. I have tried adjusting Drupal permissions as well as civiCRM permissions for the fileds in the profile but nothing helps.

This is a new installation of civiCRM on a new Drupal 7 website. It was running civiCRM 4.1.3 but I though it may have been the reason so I have updated it to civiCRM 4.2.4. Still same issue.

Any ideas?

Thanks,
Andrew
My CiviCRM Extension Workshop: https://github.com/awasson

awasson

  • I post frequently
  • ***
  • Posts: 230
  • Karma: 7
  • Living in a world of Drupal / CiviCRM
    • My Company: Luna Design
  • CiviCRM version: Latest
  • CMS version: Drupal 6/7/8
  • MySQL version: 5.x
  • PHP version: 5.3.x
Re: Error when set profile to notify when profile form is submitted
October 24, 2012, 11:03:05 pm
RESOLVED:

Just in case someone else runs into this issue, here's what I found.

The problem was a Drupal/civiCRM permissions issue that becomes evident when the hook to send the email is called. The permission for "CiviCRM: profile listings and forms" needed to be allowed for the member type that was receiving the error. Once that was set, everything was working the way it should. 
My CiviCRM Extension Workshop: https://github.com/awasson

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Error when set profile to notify when profile form is submitted

This forum was archived on 2017-11-26.