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 CiviContribute (Moderator: Donald Lobo) »
  • Lots of Access Denied pages for user/1
Pages: [1]

Author Topic: Lots of Access Denied pages for user/1  (Read 690 times)

steveplatz

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 4.2
  • CMS version: Drupal 7.17
  • MySQL version: 5.1.65
  • PHP version: 5.3.17
Lots of Access Denied pages for user/1
December 03, 2012, 05:33:50 am
I am not able to make any configuration changes to my contribution pages at /civicrm/admin/contribute?reset=1. I simply get an access denied page. I am getting logged out whenever I try to make changes, which is of course why I'm getting denied; but I can't for the life of me find anyone else reporting this and it is rendering my installation unusable. I hope I am providing enough information to troubleshoot this. Here are some example steps on my site:

  • login (user/1)
  • navigate to /civicrm/admin/contribute?reset=1
  • click on eg. Drupal_root.org/civicrm/admin/contribute/settings?reset=1&action=update&id=1

I will get logged out every time, for any attempted configuration change.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Lots of Access Denied pages for user/1
December 03, 2012, 05:56:31 am
Check if your URL is dropping or adding www when you switch pages, because if it is, that's a different domain name and then you're not logged in.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

steveplatz

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 4.2
  • CMS version: Drupal 7.17
  • MySQL version: 5.1.65
  • PHP version: 5.3.17
Re: Lots of Access Denied pages for user/1
December 03, 2012, 08:38:52 am
Indeed, it is dropping the www. Do you have any suggestions for this?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Lots of Access Denied pages for user/1
December 03, 2012, 08:40:44 am
First of all, set the domain name as you prefer it in sites/default/civicrm.settings.php. Scroll down until you find the domain name setting.

Second, look in .htaccess in the top level of your site. Read through it and you will find a section there how to set your site to only use one or the other, i.e. with or without www. This is a Drupal feature. :)
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

steveplatz

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 4.2
  • CMS version: Drupal 7.17
  • MySQL version: 5.1.65
  • PHP version: 5.3.17
Re: Lots of Access Denied pages for user/1
December 03, 2012, 09:33:01 am
Thanks, the domain name was set in sites/default/civicrm.settings.php to NOT use the www, so I uncommented the appropriate RewriteCond and RewriteRule in my .htaccess. I should have checked there to begin with!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviContribute (Moderator: Donald Lobo) »
  • Lots of Access Denied pages for user/1

This forum was archived on 2017-11-26.