I know there have been numerous old posts with a similar problem, but none were exactly what I'm experiencing, and no solutions have helped.
I created a custom theme (called MyTheme) which has been working fine. Today for no reason the site had reverted to the TwentyTen theme, and when I went to Appearance to put it back to my custom theme, my Theme was not showing up. I checked via FTP and it's still there in the /themes folder, and the stylesheet is fine - no corruption, but to be safe I re-uploaded all the themes's files. This made no difference.
So I created a new folder called /default and uploaded all of my custom theme's files to that one, went to Appearance, and chose it.
This worked and now my site is back looking correct again, but I'm concerned about the original custom theme, still located in the themes folder, that isn't showing up, and concerned that this might happen again.
Does anyone know how this might have happened, how to fix it, and/or how to prevent it happening again?