• A little background: I tried modifying the CSS within the theme-editor, and for some reason, my changes weren’t showing up, so I uploaded the corrected .css file as a new theme. Now the changes show, but I seem to have killed theme-editor.php.

    I get this error message:

    “Fatal error: Failed opening required ‘admin-header.php’ (include_path=’.:/usr/share/pear’) in [me]/wordpress/wp-admin/theme-editor.php on line 69”

    Any ideas? It worked fine until I uploaded the new theme. I have no idea what “.:/usr/share/pear” is.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’d back out of it and remove the newly uploaded theme and see if the problem goes away. Then, while you are in your FTP client, go into your Themes directory and under each theme, set your permissions to 666 for every *.css and *.php file that is contained within a theme folder. That way, you can edit them right there in the WP console, which apparently you were unable to do.

    Also, for some reason, I’ve been having refresh issues with Firefox lately. Not all the time, just sporadically. So clearing out your cache might help. It may be that the changes DID stick, you were just looking at a stale page.

    Hope this helps a bit.

    Thread Starter fshk

    (@fshk)

    Thanks… I changed the permissions and cleared the cache, but I’m still getting the same error. (It’s not really a huge deal, since I can still modify the files, but it would be nice to be able to do it within the WP interface.)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘theme-editor error’ is closed to new replies.