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) »
  • [solved] access denied in any page of civicrm admin
Pages: [1]

Author Topic: [solved] access denied in any page of civicrm admin  (Read 6264 times)

businessbroker

  • Guest
[solved] access denied in any page of civicrm admin
November 28, 2008, 07:10:12 pm
i got hostign on drupalvaluehosting and they installed it for me, but in any page I go of civicrm I get this answer:
Access denied
You are not authorized to access this page.

what they done of wrong? how i can repait it? I asked help to them more of a week ago and they don't have answered yet, i checked permissions with other my civicrm-drupal sites going and it look all right.. what else could be?
« Last Edit: January 18, 2009, 04:18:24 pm by businessbroker »

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: access denied in any page of civicrm admin
November 28, 2008, 10:39:55 pm
Looks like a permission issue, can you make sure  your logged in user has sufficient permission or you can give all admin permissions to your logged in user role.

Kurund
Found this reply helpful? Support CiviCRM

businessbroker

  • Guest
Re: access denied in any page of civicrm admin
November 30, 2008, 11:03:13 am
I'm logged in as admin, and in permission settings I have this configuration:
Autheticated user is activated for all civicrm modules and also:
-access administration menu
- civicrm_group_roles module - access settings
- controlpanel module - access control panel
- node module - access content
- access administration pages
- user module (all)

what else i could do to can access on civicrm as administrator on drupal 6.6 and civicrm 2.1 stable?

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: access denied in any page of civicrm admin
November 30, 2008, 11:10:21 am
Well depends what page you are trying to access and which module has control for that page or you need to have permission to access that particular page.

Kurund
Found this reply helpful? Support CiviCRM

businessbroker

  • Guest
Re: access denied in any page of civicrm admin
November 30, 2008, 11:32:02 am
I get access denied in all civicrm pages only, the setups is done from drupalvaluehosting, not from me

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: access denied in any page of civicrm admin
November 30, 2008, 09:11:20 pm
So which page is giving you "Access Denied" ? Check if authenticated user has access to content on that particular page.

Kurund
Found this reply helpful? Support CiviCRM

businessbroker

  • Guest
Re: access denied in any page of civicrm admin
December 01, 2008, 02:27:22 am
here i can access:
http://www.forniture-alberghiere.net/civicrm/dashboard

here I receive the error :
Access denied
You are not authorized to access this page.
---------------
» Advanced Search
Menu

    * CiviCRM Home
    * Find Contacts
    * Manage Groups
    * Import
    * CiviContribute
    * CiviPledge
    * CiviMail
    * CiviMember
    * CiviEvent
    * Administer CiviCRM
    * Log out

Shortcuts

    * New Individual
    * New Organization
    * New Household
    * New Activity
    * New Group
    * My Contact Dashboard

http://67.228.230.115/civicrm/contact/search/advanced?reset=1
http://67.228.230.115/civicrm/dashboard?reset=1
http://67.228.230.115/civicrm/contact/search?reset=1
http://67.228.230.115/civicrm/group?reset=1
http://67.228.230.115/civicrm/import?reset=1
http://67.228.230.115/civicrm/contribute?reset=1
http://67.228.230.115/civicrm/pledge?reset=1
http://67.228.230.115/civicrm/mailing?reset=1
http://67.228.230.115/civicrm/member?reset=1
http://67.228.230.115/civicrm/event?reset=1
http://67.228.230.115/civicrm/admin?reset=1
http://67.228.230.115/civicrm/logout?reset=1
http://67.228.230.115/civicrm/contact/add?ct=Individual&reset=1
http://67.228.230.115/civicrm/contact/add?ct=Organization&reset=1
http://67.228.230.115/civicrm/contact/add?ct=Household&reset=1
http://67.228.230.115/civicrm/activity?action=add&reset=1&context=standalone
http://67.228.230.115/civicrm/group/add?reset=1
http://67.228.230.115/civicrm/user?reset=1

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: access denied in any page of civicrm admin
December 01, 2008, 03:06:00 am
Can you fix ip address to use domain (http://www.forniture-alberghiere.net), that might be the problem.

Kurund
Found this reply helpful? Support CiviCRM

businessbroker

  • Guest
Re: access denied in any page of civicrm admin
December 01, 2008, 03:19:01 am
yes, in this way is going, super thanks!
to adjust it, I'm gone here:
CiviCRM / Administer CiviCRM / Global Settings / Settings - Update Directory Path and URL
http://www.forniture-alberghiere.net/civicrm/admin/setting/updateConfigBackend
and I overwrite the old base url: http://67.228.230.115/
with this new base url: http://www.forniture-alberghiere.net
but when I click on save button, he come back on url:
http://67.228.230.115/civicrm/admin/setting/updateConfigBackend
and answer:
Access denied
You are not authorized to access this page.


also if i go here I have similar problem going here:
http://www.forniture-alberghiere.net/civicrm/admin/setting/url?reset=1
CiviCRM / Administer CiviCRM / Global Settings / Settings - Resource URLs

changing first part of in 2 urls ("CiviCRM Resource URLs" and "Image Upload URL"):
http://67.228.230.115
with
http://www.forniture-alberghiere.net

and when I save civicrm answer:
http://67.228.230.115/civicrm/admin/setting/url
Access denied
You are not authorized to access this page.
------
I was in the right place? How I can change it?

I have founeded that it is being installed drupal 6.6 with civicrm 2.1 all in one db, this problem could come from this detail?


I have also founed this text on Knowledgebase of drupalvaluehosting:
http://www.drupalvaluehosting.com/members/knowledgebase.php?action=displayarticle&catid=1&id=1
Here is an important tip shared by one of our esteemed customer:

another unrelated note thought you might want to know, because your system using PHP 5.2, there is a known bug in drupal that people need to fix (for sites with established database):
in the session.inc file people will need to add this line:
register_shutdown_function('session_write_close');
otherwise, the user will be able to login but not able to do any admin or editing, perhaps the system was confused with old session info etc.
-------
it could be useful tosovle my problem?
If it is useful, why they don't do it for me when installing drupal and civicrm?
« Last Edit: December 07, 2008, 05:07:27 pm by businessbroker »

businessbroker

  • Guest
Re: access denied in any page of civicrm admin
January 18, 2009, 04:16:45 pm
I have reinstalled drupal 6.9 and civicrm 2.2 alpha by myselfs and for now is going all right about this "Access Denied" alert, ye!

Russell Mann

  • I’m new here
  • *
  • Posts: 5
  • Karma: 0
  • CiviCRM version: 3.4.4
  • CMS version: Drupal 6.22
  • MySQL version: 5.1.57
  • PHP version: 5.3.3
Re: [solved] access denied in any page of civicrm admin
July 05, 2011, 03:30:52 pm
I'm having this same problem in Drupal 6.20 + CiviCRM 3.4.2 (also 6.22+3.4.4, and any variation of versions).  I see it's "solved" but I'm having a hard time figuring out from this forum what the solution is.  Thanks in advance for some clarity!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • [solved] access denied in any page of civicrm admin

This forum was archived on 2017-11-26.