Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-3298

Drupal non-admin users get error message 'We could not find a contact id.'

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      I get an error 'We could not find a contact id.' at the top of the CiviCRM pages when I am either logged in as a regular user (ie not admin) or an anonymous user.
      The message is generated in civicrm/CRM/Contact/Page/View/DashBoard.php, in preProcess().
      Getting the $uid from global $user might fix the problem but I am not sure: it's intermittent as there seems to be some caching going on.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              joachim Joachim Noreiko
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: