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) »
  • "Access Denied" to CiviCRM home on login
Pages: [1]

Author Topic: "Access Denied" to CiviCRM home on login  (Read 4705 times)

seaweasel

  • Guest
"Access Denied" to CiviCRM home on login
August 26, 2008, 03:09:02 pm
Both myself and site users have been experiencing a curious bug when logging into Drupal/CiviCRM. A lot of the time (but not always), an Access Denied (you are not authorized to view this page) error appears when clicking on CiviCRM home/dashboard (which has been renamed to "Database").

This is normally solved by logging out and logging in again, which is a nuisance, however I just found that even this seems to have stopped working and I can't access CiviCRM at all (I've checked the Drupal access and I've permission to use all aspects of CiviCRM). I've just tried logging in with another browser in case it's a cookie thing however the same thing is happening.

What was a bit of an annoyance is now getting more serious so I could do with suggestions as to how to troubleshoot this.

The details of the installation are below, if more information is required, please let me know. Any help would be greatly appreciated.

Windows Server 2003
Apache 2.2.6
MySQL 5.0.45
PHP 5.2.5
Drupal 5.9
CiviCRM 1.9

ctarascio

  • I post frequently
  • ***
  • Posts: 334
  • Karma: 30
    • American Friends Service Committee
  • CiviCRM version: 4.1.3
  • CMS version: Drupal 6.26
  • MySQL version: 5.5.20
  • PHP version: 5.3.13
Re: "Access Denied" to CiviCRM home on login
August 27, 2008, 06:45:05 am
Hi,
   Try clearing out the Drupal sessions table and see if that helps.

Cynthia

Eileen

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4195
  • Karma: 218
    • Fuzion
Re: "Access Denied" to CiviCRM home on login
August 28, 2008, 12:19:55 pm
I had a similar error related to apache redirect. In some cases I would log into htttp://sitename.com but was not logged into http://www.sitename.com

Changing the redirect fixed it. I can find more details if you think this is on the right track.
Make today the day you step up to support CiviCRM and all the amazing organisations that are using it to improve our world - http://civicrm.org/contribute

seaweasel

  • Guest
Re: "Access Denied" to CiviCRM home on login
August 28, 2008, 02:31:40 pm
Thanks guys. I hadn't managed to clear the sessions table as yet but I just tried Eileen's suggestion and that seems to have sorted it. Much appreciated.

jalama

  • I post frequently
  • ***
  • Posts: 176
  • Karma: 22
    • Rooty Hollow LLC
  • CiviCRM version: 3.3.5
  • CMS version: Drupal 6 and 7
  • MySQL version: 5.1
  • PHP version: 5.2.5 and 5.3
Re: "Access Denied" to CiviCRM home on login
September 16, 2008, 06:23:00 am
for the purpose of completion, you can fix this in a Drupal install by editing the default .htaccess file, lines 77 & 78.  I imagine the sama would work for Joomla, but haven't tested it

 
Code: [Select]
# RewriteCond %{HTTP_HOST} ^example\.com$ [NC]
  # RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]
 
http://www.rootyhollow.com

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • "Access Denied" to CiviCRM home on login

This forum was archived on 2017-11-26.