I recently updated an MSM installation from 2.3 to 2.4. A few weeks after upgrading and updating all of my add-ons, my template files stopped synchronizing with the EE database files. This was just last week.
The only major change I made was to set up a new MSM site and start to build a small JQuery mobile page after starting with HTML Boilerplate and the 320 and Up framework. I don’t see how any of these pieces would have broken EE’s ability to synchronize my flat files, but it appears that problems started sometime after I created the new site.
Here’s a detailed account of what I tried and the oddities I am encountering.
1. I update an existing flat file and save it to the server on EngineHosting. The changes fail to show up in my rendered template.
2. Clear the cache multiple times to no avail.
3. Check my template through the ExpressionEngine CP and notice the changes I made to the flat file do not match the template in the database.
4. Attempt to Synchronize Templates in the template manager repeatedly in several of my 6 MSM sites. Sometimes a green check mark shows up, falsely indicating synchronization, sometimes not. Always, if I click away from that screen and click back, the files remain unsynchronized. They are also grayed out when files are listed, apparently indicating lack of synchronization.
5. Check the Basepath to Template File Directory and verify that they have not changed since each MSM site was set up. Double-check with the EE docs to make sure they are set correctly.
6. Attempt to save unsynchronized files by opening the files in the CP and checking that all the settings are correct. Nothing appears to have changed.
7. Notice a failure in the CP after a template is saved. The rounded corner styling and most CP button functionality fails and the list of files fails to reappear. I have attached a screenshot. I’m using Chrome, so I check Safari and don’t get this same result. I disable ad-block plus and Ghostery in Chrome and it doesn’t help. The main problem—failed synchronization—is the same in Safari.
8. Check EE message board for possible bug report or similar complaint. I find a bug where, if PHP is turned on in a template, it won’t synchronize. Go back and check a number of templates to verify that PHP is still turned off. It is.