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) »
  • Authorization required for dashlets
Pages: [1]

Author Topic: Authorization required for dashlets  (Read 3016 times)

Erik Brouwer

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
  • Project manager / Functional consultant
  • CiviCRM version: 4.5
  • CMS version: drupal 7
Authorization required for dashlets
March 17, 2011, 07:47:39 am
Last week we changed two things on our server and network with CiviCRM:
  • Civi users used to access Civi through the default Drupal login mechanism but now they automatically login with their LDAP account.
  • We upgraded our server from php 5.2 to php 5.3.

All works well in CiviCRM, but one thing: the Civi dashlets give an authorization error:

Authorization Required

This server could not verify that you are authorized to access the document requested. Either you supplied the wrong credentials (e.g., bad password), or your browser doesn't understand how to supply the credentials required.
Apache/2.2.14 (Ubuntu) Server at insitetest Port 80


Any suggestions as to what we can do to solve this? This problem did not occur before and when I log in with admin rights through a seperate URL they function properly as well.

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: Authorization required for dashlets
March 17, 2011, 10:40:48 am

erik:

easiest and quickest might be to get on irc and ping kurund :)

seems like some permissioning / caching issues?

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

davyivins

  • I post occasionally
  • **
  • Posts: 119
  • Karma: 2
    • PURCO SA
  • CiviCRM version: 4.5
  • CMS version: Drupal 6.33
  • MySQL version: 5.5.34
  • PHP version: 5.4.33
Re: Authorization required for dashlets
April 09, 2012, 02:08:23 am
I'm having the same problem. While setting up a new CiviCRM 4.1.1 instal (Drupal6) I messed up the import of contacts. So I deleted them all (except myself as the current user). Since them am getting the same error.

Could you post the solution here?
There are times I love technology...and then there are times I *love* technology :-)

Erik Brouwer

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
  • Project manager / Functional consultant
  • CiviCRM version: 4.5
  • CMS version: drupal 7
Re: Authorization required for dashlets
April 09, 2012, 03:39:31 am
Hi, I'm afraid we didn`t solve it because given the local circumstances, it didn`t have enough priority. You should probably take Lobo`s advise and contact Kurund on Irc: http://webchat.freenode.net/?channels=#civicrm

davyivins

  • I post occasionally
  • **
  • Posts: 119
  • Karma: 2
    • PURCO SA
  • CiviCRM version: 4.5
  • CMS version: Drupal 6.33
  • MySQL version: 5.5.34
  • PHP version: 5.4.33
Re: Authorization required for dashlets
April 09, 2012, 04:03:04 am
Thanks Eric - will try Kurund. If I get an answer I'll add it here.
There are times I love technology...and then there are times I *love* technology :-)

dbenton

  • I’m new here
  • *
  • Posts: 9
  • Karma: 0
  • CiviCRM version: 4.0
  • CMS version: Drupal 7
  • MySQL version: 5.1
  • PHP version: 5.2
Re: Authorization required for dashlets
May 15, 2012, 08:05:50 pm
Any resolution on this, davyivins? I have just set up a dev server and am seeing this issue (on dev but not prod). I'm using drush to sync the database and git to keep files in line. Users are logging in through Drupal.

davyivins

  • I post occasionally
  • **
  • Posts: 119
  • Karma: 2
    • PURCO SA
  • CiviCRM version: 4.5
  • CMS version: Drupal 6.33
  • MySQL version: 5.5.34
  • PHP version: 5.4.33
Re: Authorization required for dashlets
May 19, 2012, 04:06:02 am
Regret no. I was very early in my dev so I reinstalled and reimported the contacts problem went away. 
There are times I love technology...and then there are times I *love* technology :-)

fen

  • I post frequently
  • ***
  • Posts: 216
  • Karma: 13
    • CivicActions
  • CiviCRM version: 3.3-4.3
  • CMS version: Drupal 6/7
  • MySQL version: 5.1/5.5
  • PHP version: 5.3/5.4
Re: Authorization required for dashlets
May 13, 2013, 01:29:01 pm
I see this issue on my dev server but not in my sandbox.  I see this in the logs:
Code: [Select]
[Mon May 13 12:26:34 2013] [error] [client ##.##.##,##] user  not found: /civicrm/dashlet/activity
[Mon May 13 12:26:35 2013] [error] [client ##.##.##,##] user  not found: /civicrm/dashlet/blog
Seems to be a missing user?  I don't think I configured one for my sandbox any differently...

lcdweb

  • Forum Godess / God
  • I live on this forum
  • *****
  • Posts: 1620
  • Karma: 116
    • www.lcdservices.biz
  • CiviCRM version: many versions...
  • CMS version: Joomla/Drupal
  • MySQL version: 5.1+
  • PHP version: 5.2+
Re: Authorization required for dashlets
June 21, 2013, 10:42:08 am
just ran into this when moving to a new server as well. anyone find a solution?
I'm not getting anything in the civi or apache logs to work with.
support CiviCRM through 'make it happen' initiatives!
http://civicrm.org/mih

fen

  • I post frequently
  • ***
  • Posts: 216
  • Karma: 13
    • CivicActions
  • CiviCRM version: 3.3-4.3
  • CMS version: Drupal 6/7
  • MySQL version: 5.1/5.5
  • PHP version: 5.3/5.4
Re: Authorization required for dashlets
June 21, 2013, 11:15:50 am
@lcdweb - so sorry I didn't post my solution earlier.  Don't know in what thread/forum I found the suggestion, but I completely removed and re-installed CiviCRM in place following the instructions here:

http://wiki.civicrm.org/confluence/display/CRMDOC32/Moving+an+Existing+Installation+to+a+New+Server+or+Location

...and it worked!  Hell if I know why.

marshcast

  • I’m new here
  • *
  • Posts: 16
  • Karma: 0
  • CiviCRM version: 4.3
  • CMS version: wordpress 3.4
  • MySQL version: mysql 5.5
  • PHP version: php5 5
Re: Authorization required for dashlets
August 07, 2014, 08:05:08 am
Just for info, I found that from this doumentation page:

Quote
http://wiki.civicrm.org/confluence/display/CRMDOC32/Moving+an+Existing+Installation+to+a+New+Server+or+Location

the problem was fixed by going to the "rebuild the menu's" uri at:

Quote
http://<drupal_site>/index.php?q=civicrm/menu/rebuild&reset=1

There are a few url's towards the end of the procedure in the documentation page for rebuilding parts of the DB in drupal. May be worth trying those before starting all over again.

Good luck :)

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Authorization required for dashlets

This forum was archived on 2017-11-26.