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 »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • [solved] "You are not authorized to access this page."
Pages: [1]

Author Topic: [solved] "You are not authorized to access this page."  (Read 3325 times)

fm

  • I post occasionally
  • **
  • Posts: 80
  • Karma: 1
[solved] "You are not authorized to access this page."
July 26, 2010, 07:35:26 pm
After a mishap, I had to restore the civicrm database on my drupal installation. The civicrm data is held in a separate database from that of Drupal. Many things seemed to pick up right where they'd left off before the mishap, except ...

when I try to edit Event records from the user-1 account, I receive the following message: Please login to continue. You are not authorized to access this page. I've looked at the permissions in Drupal and the administrator (user-1) explicitly has permission to edit civicrm Events.

[I've split this second issue into a new thread as it now seems unrelated to the issue above, which has been solved.]

The civicrm dashboard is a white screen except for the printer icon in the top left corner. This error message is appearing on my Drupal admin page when I back out of the civicrm dashboard to the previously viewed admin page: user error: Smarty error: [in CRM/common/dashboard.tpl line 54]: [plugin] unknown tag - 'crmKey' (core.load_plugins.php, line 118) in ~/sites/all/modules/civicrm/packages/Smarty/Smarty.class.php on line 1093.

How do I correct these issues and get civicrm running smoothly again?
« Last Edit: July 29, 2010, 02:01:01 pm by fm »

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: "You are not authorized to access this page."
July 27, 2010, 01:25:29 am
Be sure to check the domain name. Sometimes you will be in www.site.com and click to a page on site.com. If your login was on www.site.com then you are NOT logged in on site.com because that is considered a different domain name.
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.

fm

  • I post occasionally
  • **
  • Posts: 80
  • Karma: 1
Re: "You are not authorized to access this page."
July 27, 2010, 07:56:54 am
Okay, we're making progress. That apparently solved the first issue. I really appreciate the assistance, much obliged.

The dashboard issue remains unaffected. Any ideas about that?

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: "You are not authorized to access this page."
July 28, 2010, 12:47:50 am
Not sure, but I would remove all template files from sites/default/files/civicrm/templates (or something like that) and try to reset the domain settings also via civicrm/admin/setting/updateConfigBackend&reset=1 or even manually in the DB by setting config_backend in table civicrm_domain to NULL.

Those are the ideas I could suggest.
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.

fm

  • I post occasionally
  • **
  • Posts: 80
  • Karma: 1
Re: "You are not authorized to access this page."
July 28, 2010, 09:02:16 am
I just tried your suggestions, but they didn't solve the dashboard issue. Thank you for the suggestions, though.

Anything else?

Edit: I'm going to mark this thread solved (the first issue was legitimately resolved) and open a new thread for this second issue. Thank you for your help, hershel.
« Last Edit: July 29, 2010, 01:57:42 pm by fm »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • [solved] "You are not authorized to access this page."

This forum was archived on 2017-11-26.