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

updateConfigBackend does not update a couple of config_backend variable

    Details

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

      Description

      Hi,

      I was running the http://gp.local/civicrm/admin/setting/updateConfigBackend?reset=1 script locally after taking a mysqldump of a production server.

      Don't understand all the intricacies, but it seems unable to update configAndLogDir which causes it to loop on pages which say stuff similar to this.

      "We could not write /var/cache/civi.31/ukgr/en_US/ConfigAndLog/Config.IDS.ini. Have you moved your site directory or server?

      Please fix the setting by running the update config script"

      Temporary solution is to manually update the configAndLogDir variable. Then I get the messages to go to the path page, etc., and there I can try and remember what I should set all those variabes to

      Real solution is I imagine, update updateConfigBackend.php to also set the configAndLogDir variable based on the CIVICRM_TEMPLATE_COMPILEDIR or something similar, no?

      Michael

        Attachments

          Activity

            People

            • Assignee:
              lobo Donald A. Lobo
              Reporter:
              michaelmcandrew Michael McAndrew
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: