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

Server 500 fail when user without enough permissions is used to run cron jobs

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.1.1
    • Fix Version/s: 4.1.6
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      I just did a 4.1.1 installation under Drupal 6. When I went to setup a limitted user to just run the cron job I was presented with a 500 error. This lead me to the following error in the log files

      [11-Mar-2012 08:41:17] PHP Fatal error: Call to undefined function module_exists() in ...sites/all/modules/civicrm/CRM/Core/BAO/Navigation.php on line 587

      Eventually I realized this was just a permissions issue, but because this didn't express as a permissions issue earlier, it sent me down a bad debugging path, and I'm sure will trip up other people.

        Attachments

          Activity

            People

            • Assignee:
              eileen Eileen McNaughton
              Reporter:
              sdague Sean Dague
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: