Theme Editor not allowing modify of Theme Files
-
Hello,
I am of course not a programmer yet I am familiar enough with HTML. Having been a user of WordPress for some time now (it rocks), I am stumped on why I cannot edit the Theme’s sidebar.php with the Theme Editor.
I am using the latest WP version and I am using WordPress Default 1.6 by Michael Heilemann. In other words, nothing but the header ‘logo picture’ has been modified to explain the issue.
Just to see if the Theme Editor would work (in general) I opened the Theme Editor, clicked on the sidebar.php page on the right and tried to “Uncomment” the default “About the Author”.
Example:
<!– Author information is disabled per default. Uncomment and fill in your details if you want to use it.
- <h2>Author</h2>
<p>A little something about you, the author. Nothing lengthy, just an overview.</p> - <h2>Author</h2>
<p>A little something about you, the author. Nothing lengthy, just an overview.</p>
–>
I removed the <!– and the –> ONLYIt gives me the following (and very brief) error:
PHP Warning: fopen (C:\Inetpub\AB\blog/wp-content/themes/default/sidebar.php) [function fopen]: failed to open stream: Permission denied in C:\Inetpub\AB\blog\wp-admin\theme-editor.php on line 58 PHP Warning: fwrite(): supplied argument is not a valid stream resource in C:\Inetpub\AB\blog\wp-admin\theme-editor.php on line 59 PHP Warning: fclose(): supplied argument is not a valid resource stream in C:\Inetpub\AB\blog\wp-admin\theme-editor.php on line 60
Then it redirects and goes back to the Theme Editor, shows me the sidebar.php and back to the default of
<!– Author information is disabled per default. Uncomment and fill in your details if you want to use it.
–>
I verified my server permissions and I supposedly have FULL permissions over WP and the server (i.e. write, etc)
Any ideas why the Theme Editor is electing to be defiant?
I know I can download the sidebar.php file, open it in notepad, edit the page, save and upload the new sidebar.php in the same place, overwriting what was there .. but I would like to figure out why I cannot use the Theme Editor.
Thank you all in advance for any feedback and help.
Regards,
A. Turner
- <h2>Author</h2>
- The topic ‘Theme Editor not allowing modify of Theme Files’ is closed to new replies.