Thing is, is to briefly and quickly test if the situation is resolved. If it does not fix the situation, then restore and carry on.

Another thing to try is to work with a brand new installation on the same server then "piece-by-piece" build up to your current store and identify what action causes the problem to occur if the obvious actions that have been described don't fix it.