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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Unclear error message: missing access rights ?
Pages: [1]

Author Topic: Unclear error message: missing access rights ?  (Read 1609 times)

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Unclear error message: missing access rights ?
April 15, 2008, 12:00:56 am
Hi,

I'm using profile to :
1) list organisation on a public part (drupal based install)
/profile?gid=1&reset=1&force=1&search=0

2) let organisation register themselves
/civicrm/profile/create?reset=1&gid=1

It works fine when I'm connected, I've been able to customise the templates (thanks lobo), however, as anonymous, I get:

Code: [Select]
unrecoverable error Sorry. A non-recoverable error has occurred.
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. Contact the site administrator if you need assistance.
Return to home page.

As the only difference is that I'm anonymous in one case and not the other, I suppose I haven't properly granted anonymous the right rights ?

What does it need to list profiles/ being able to "register" (/profile/create) ?

Tia,

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

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: Unclear error message: missing access rights ?
April 15, 2008, 02:13:49 am

can u try to reproduce this on demo

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

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Unclear error message: missing access rights ?
April 15, 2008, 09:37:36 am
Xavier - Permissions for Anonymous role to access profile listings and "create contact" forms are described in the Linking Profiles document - http://wiki.civicrm.org/confluence/display/CRMDOC/Linking+Profiles :

Quote
* For anonymous users to access the sign-up form, you need to give anonymous users permission to access "profile listings and forms".
* If you are using custom fields in your profiles and want anonymous users to access the form, you also need to give anonymous users permission to "access all custom data".

If you have these set already, and you're still getting that error message - then it's probably something else about the way the profile is configured. The permissions for anonymous are set as above on the public drupal demo - so perhaps you can try and recreate the profile that's giving you the problem there and we can figure out what's going on.

Example on demo - I can access this URL as anonymous:
http://drupal.demo.civicrm.org/civicrm/profile/create?reset=1&gid=1
Protect your investment in CiviCRM by  becoming a Member!

xavier

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4453
  • Karma: 161
    • Tech To The People
  • CiviCRM version: yes probably
  • CMS version: drupal
Re: Unclear error message: missing access rights ?
April 17, 2008, 08:20:32 pm
Hi,

Right on spot !

However, might be better to clarify the error message to include missing ACL issue ?

Many thanks.

X+
-Hackathon and data journalism about the European parliament 24-26 jan. Watch out the result

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Unclear error message: missing access rights ?
April 19, 2008, 02:56:46 am
Permissions has been added to the error message as a possible cause of this fatal error (in 2.1).
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Unclear error message: missing access rights ?

This forum was archived on 2017-11-26.