Forums

theme editor: "failed to open stream: Permission denied" (3 posts)

  1. toastednoodle
    Member
    Posted 1 year ago #

    Hi, I'm trying to edit a theme and I can't do anything about it. I just installed wordpress yesterday and I'm trying to modify the theme to imitate an existing website. This is what comes up whenever I click on "update file" in the wordpress theme editor:

    Warning: fopen(C:\Inetpub\vhosts\g1blvd.com\httpdocs\wordpress/wp-content/themes/default/rtl.css) [function.fopen]: failed to open stream: Permission denied in C:\Inetpub\vhosts\g1blvd.com\httpdocs\wordpress\wp-admin\theme-editor.php on line 60

    Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\vhosts\g1blvd.com\httpdocs\wordpress\wp-admin\theme-editor.php:60) in C:\Inetpub\vhosts\g1blvd.com\httpdocs\wordpress\wp-admin\theme-editor.php on line 75

    I've changed the permissons for the rtl.css file on my hard drive to Full Control for Everyone, and reuploaded the file onto my server, but to no avail.

    I believe there are actually two problems - for the second, theme-editor.php has no line 60, and from what I've gathered it's an issue of spaces before and after the <?php and >. I've gone through the file and cannot find these spaces (I've highlighted, deleted, everything).

    I'm not an expert in this at all so any help would be hugely appreciated!

  2. esmi
    Theme Diva & Forum Moderator
    Posted 1 year ago #

  3. toastednoodle
    Member
    Posted 1 year ago #

    I've already gone through and deleted all the spaces (there were none, anyway). My problem is actually identical to this one: http://wordpress.org/support/topic/391415?replies=9

Topic Closed

This topic has been closed to new replies.

About this Topic