Comment to 'Can't apply upgrade because too many files(60%) were modified in Persons and Protean module'
  • Thank you Baloo but this was already checked. That is why I am asking what to check next....

    • so I quote Anton L:

      1. Go to Studio -> Settings -> Site Settings and enable 'Force auto-update, even if some files were modified' setting.

      2. Edit inc/classes/BxDolInstallerUtils.php file, find the following line

      define('BX_FORCE_AUTOUPDATE_MAX_CHANGED_FILES_PERCENT', 0.05);

      and replace 0.05 with 0.99

      3. Apply update from Studio -> Dashboard -> Version section.

      NOTE!!! All your customizations will be overwritten in this case and most of them are corrupted. You may use this way if you are sure that all your changes aren't needed and can be restored.

      • Thank you Baloo , I knew that this setting exist but I couldn't remember where. I will use it next time if needed since it is easier then my solution as I described....

        so I quote Anton L:

        1. Go to Studio -> Settings -> Site Settings and enable 'Force auto-update, even if some files were modified' setting.

        2. Edit inc/classes/BxDolInstallerUtils.php file, find the following line

        define('BX_FORCE_AUTOUPDATE_MAX_CHANGED_FILES_PERCENT', 0.05);

        and replace 0.05 with 0.99

        3. Apply update from Studio -> Dashboard -> Version section.

        NOTE!!! All your customizations will be overwritten in this case and most of them are corrupted. You may use this way if you are sure that all your changes aren't needed and can be restored.