WordPress.org

Forums

Error when trying to update theme files (1 post)

  1. aaron2100
    Member
    Posted 8 years ago #

    Whenever I try to edit ANY of the theme files, I get this error message:

    Warning: fopen(E:\inetpub\vhosts\sovhuman.com\httpdocs\wordpress/wp-content/themes/default/archive.php): failed to open stream: Permission denied in E:\inetpub\vhosts\sovhuman.com\httpdocs\wordpress\wp-admin\theme-editor.php on line 58

    Warning: fwrite(): supplied argument is not a valid stream resource in E:\inetpub\vhosts\sovhuman.com\httpdocs\wordpress\wp-admin\theme-editor.php on line 59

    Warning: fclose(): supplied argument is not a valid stream resource in E:\inetpub\vhosts\sovhuman.com\httpdocs\wordpress\wp-admin\theme-editor.php on line 60

    Warning: Cannot modify header information - headers already sent by (output started at E:\inetpub\vhosts\sovhuman.com\httpdocs\wordpress\wp-admin\theme-editor.php:58) in E:\inetpub\vhosts\sovhuman.com\httpdocs\wordpress\wp-admin\theme-editor.php on line 69

    This is the first time I have tried to edit these files. Really, all I need to do at the moment is to put google adsense on the sidebar, so any help with that would be great too. I am trying to paste the adsense code into the sidebar.php file, but I can't update the changes. Will that work anyway? I don't know much about HTML code, so I am sort of stumbling with how to put the ads in. I did get them into my posts though with adsense deluxe.

    Thanks,
    Aaron

Topic Closed

This topic has been closed to new replies.

About this Topic