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

Smarty related error: Call to undefined function module_exists() @ Navigation.php

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Blocker
    • Resolution: Duplicate
    • Affects Version/s: 3.0.1
    • Fix Version/s: None
    • Component/s: CiviMail
    • Labels:
      None

      Description

      Only when I enable Smarty
      define( 'CIVICRM_MAIL_SMARTY', 1 );
      I get following error from command line:

      wget -O - -q -t 1 'http://.../civimail.cronjob.php?name=...&pass=...&key=...'

      Fatal error: Call to undefined function module_exists() in .../CRM/Core/BAO/Navigation.php on line 464

      If I do mailing test from web, then it works and sends mail.

      Any ideas?

      I run my Civicrm with Drupal.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              ragnarkurm ragnar kurm
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: