Ok – Fixed. I re-uploaded via Filezilla over top of my style.css with the one from the original installation. That worked. Must have been corrupted somehow.
Strange.
There’s definately something up here. I had the same problem, just editing the Default theme.
I copied and pasted my style sheet over the Default stylesheet, saved and bam, The requested theme does not exist.
So I read a few of these posts. Updated my permissions to 777, although I noticed a while ago I haven’t needed to do this with recent WPs.
Any way I tried deleting the stylesheet and uploading via FTP instead of in admin. That didn’t work.
So I deleted itagain. Went to the themes tab. Clicked on the default Theme. It was flashing with an alert that said something like a new them has been activated or something.
It also said the stylesheet was missing. So anyway i had the feeling something had changed since this alert had appeared. I uploaded the stylesheet via FTP and this time it worked.
Your stylesheet.css probably had something like this at the top:
/*
Theme Name: Theme Name
Theme URI: http://www.whitehouse.org
Description: Theme Description
Version: 2.0.8
Author: Author Name
Author URI: http://www.whitehouse.org
*/
If you remove or edit this information, WordPress can’t detect what theme it is and it generates this error.
The solution is to restore the original style.css (or wherever the lines that look like the ones above were), select a different theme from the appearance menu, activate it, then re-activate your original theme. It seemed to work for me.
-Nick
http://www.PsychoticResumes.com
I have another solution. If you get this problem from a file you edited on your local system, and then uploaded, you can copy and paste the changes to the file into the wordpress editor, on the dashboard. Submiting the changes through the wordpress editor seems to work better, that FTPing files you edited on other machines, at times. I think it must have to do with how endlines are treated or something. If you have really messed up the files so bad you can’t even get to the dashboard editor, try backing up the files you changed, and then unzipping the original wordpress theme to overwrite the theme. Then you can use the dashboard editor to put you changes back into the theme. (The unzipping works the same as reinstalling the wordpress theme. If you can uninstall reintall it through the dashboard, that is probably easier.)
Besure to have a copy of all the files you changed in the theme, because they will get over written.