• I’ve edited my style.css numerous times before in 2.5.1 Now I’m getting this error.

    I tried copying the style.css again from a backup – and it gives this error.

    There is no ampersand in my title.

    I’ve done nothing to change permissions on any files. This just started today on it’s own. I’m using Grid Focus Public2 Theme. I’ve tried to remove the 2 from the title – no dice.

    Here’s the first bit of code:

    /*
    Theme Name: Grid Focus Public
    Theme URI: http://5thirtyone.com/
    Description: Grid aligned left w/ full content + images
    Version: 1.0
    Author: Derek Punsalan
    Author URI: http://is.derekpunsalan.com/

    Notes: Inspired and created for minimalist, content focused blogs
    or websites. Customize, edit, poke, prod, and adapt to your own
    style. Please leave credit where credit is due so that others may
    find the source for your site and adapt a suitable version for their
    own website.
    */

    Anyone?

    http://www.aimforawesome.com

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter aimforawesome

    (@aimforawesome)

    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.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘The requested theme does not exist error in 2.5.1’ is closed to new replies.