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

civicrm-version.txt reads 1.3.4543 Drupal PHP4 module for drupal (4.6.5)

    Details

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

      Description

      When cvicrm_module is moved to the drupal modules directory the following error
      Parse error is recieved:
      Parse error: parse error, unexpected '.', expecting '(' in /home/yevotas/public_html/drupal/modules/civicrm/civicrm.module on line 135
      Originally line 134 as I went through and //numbered several lines to help with
      the debugging.

      Lines 130 - 138 are as follows:

      //130
      $output .= '<li>' . t('create or administer location types (e.g. home, work, school...) at %1.', array('%1' => l(t('civicrm') . ' >> ' . t('admin') . ' >> ' . t('location types'), 'civicrm/admin/locationType'))) . '</li>';
      //134
      $output .= '<li>' . t('create or administer activity types (e.g. house meeting, intake interview...) at %1.', array('%1' => l(t('civicrm') . ' >> ' . t('admin') . ' >> ' . t('activity types'), 'civicrm/admin/civicrm/admin/activityType'))) . '</li>';
      //138

      I don't see anything out of the ordinary that might cause the error, do you?

      I even comented out all of the $output lines with // and got the same error message.
      so I am doubtful that this is the actual place of the error.

      I figure that for someone who knows the module, this should be quite quick
      to resolve as it is just a syntax issue..... On the other hand sometimes that
      could take a couple of hours.

      Scott

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              satovey Scott A Tovey
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 minutes
                2m
                Remaining:
                Remaining Estimate - 2 minutes
                2m
                Logged:
                Time Spent - Not Specified
                Not Specified