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

Install scripts should check wheter the JSON module is installed

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.2
    • Fix Version/s: 3.2
    • Labels:
      None

      Description

      The function json_encode - which is provided by PHPs JSON-module - is used various times in the AJAX modules.

      Due to the install-script not checking whether this module is installed, civicrm may show various errors and disfunctions during operation. I suggest to check for the json-module in the same way that we check for mysql.

      Attached is a patch which applies to recent SVN-HEAD.

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              torotil Roman Zimmermann
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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