Editing WP in "theme-compat" directory

aamcle

Registered Member
Joined
Feb 1, 2010
Messages
92
Reaction score
2
I set up a static page but I want to edit some details, I don't seem to be able to do it through the control pannel .

The items are in files in the "theme-compat" directory notably I want to take out the "comments closed" text on a static page.

I've opened the file in Plesk and can edit it but not save, it's owned by apache not me I need to sort out the permissions.
But Plesk doesn't seem to enable me to re-set the the rights.


Error Message:-

Unable to edit file /httpdocs/wordpress/wp-includes/theme-compat/comments1.php: filemng failed: cp: cannot create regular file `/var/www/vhosts/classicamber.co.uk/httpdocs/wordpress/wp-includes/theme-compat/comments.php': Permission denied
filemng: Error occured during /bin/cp command.
So how do I successfully change permissions and edit the file? Is this the best way to do the job?


Thanks aamcle
 
most hosts have things set up so that the folder will pass down
and override the permissions.

so it is likely that the folder contents are not set to be 'writeable'
so you may have to temporarily set the entire 'themes' folder to
777 do your edit and then set the folder back to what it was before.

R-
 
Found it

newbi issue; there is an Editor in wp and it worked.

aamcle
 
sorry, assumed that you were using wp's editing capabilities :p
 
Back
Top