• Whenever i try to edit a file in my theme, i get this error:

    Warning: fopen(c:\Sites\Single18\joshy07\webroot\blog/wp-content/themes/coffee/style.css): failed to open stream: Permission denied in c:\Sites\Single18\joshy07\webroot\blog\wp-admin\theme-editor.php on line 55

    Warning: fwrite(): supplied argument is not a valid stream resource in c:\Sites\Single18\joshy07\webroot\blog\wp-admin\theme-editor.php on line 56

    Warning: fclose(): supplied argument is not a valid stream resource in c:\Sites\Single18\joshy07\webroot\blog\wp-admin\theme-editor.php on line 57

    Warning: Cannot modify header information – headers already sent by (output started at c:\Sites\Single18\joshy07\webroot\blog\wp-admin\theme-editor.php:55) in c:\Sites\Single18\joshy07\webroot\blog\wp-admin\theme-editor.php on line 58

    is this something to do with the permisions? If so, what should i fix.
    Thanks
    SquishyB

Viewing 1 replies (of 1 total)
  • Yes, it certainly looks like a permissions error. If you are able to read theme-editor.php, around line 55 – 58 you will likely see the name of the file ( or dir) that needs exec permissions granted.

    I just went through a bunch of this, and actually blanket changed permissions to 755 until I had what I needed, then had to go back and reset perms on non essential files, which is really bad practice 😉

Viewing 1 replies (of 1 total)
  • The topic ‘Editing Theme File’ is closed to new replies.