Make WordPress Core

Opened 16 years ago

Closed 16 years ago

#8852 closed defect (bug) (invalid)

theme-editor.php fopen AND modify header

Reported by: nathanielrenouf's profile nathanielrenouf Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description

I have installed WP 7.2 on a Windows Server running the correct version of PHP and setup the DB on the correct version of MySQL. Site works fine and all admin works fine except when using the editor on.

Edit Themes --> button --> Update File

Error gives:

Warning: fopen(d:\inetpub\wwwroot\traceysimmonds.com\html\blog/wp-content/themes/bluemod/pagebar.css) [function.fopen]: failed to open stream: Permission denied in d:\inetpub\wwwroot\traceysimmonds.com\html\blog\wp-admin\theme-editor.php on line 55

Warning: Cannot modify header information - headers already sent by (output started at d:\inetpub\wwwroot\traceysimmonds.com\html\blog\wp-admin\theme-editor.php:55) in d:\inetpub\wwwroot\traceysimmonds.com\html\blog\wp-admin\theme-editor.php on line 70

theme-editor.php is set to 777 or the Windows equivalent.

I have posted this on the WP main forum and had no response. Searched Google and cannot find a solution.

Can you assist?

Many thanks

Change History (5)

#1 follow-up: @azaozz
16 years ago

  • Milestone 2.7.1 deleted
  • Resolution set to invalid
  • Status changed from new to closed
  • Version 2.7 deleted

The file you're trying to edit is /wp-content/themes/bluemod/pagebar.css. This has to be writable by the web server not theme-editor.php. Also the server has to be configured properly to let you edit files.

#2 in reply to: ↑ 1 @nathanielrenouf
16 years ago

  • Priority changed from high to normal
  • Resolution invalid deleted
  • Severity changed from major to normal
  • Status changed from closed to reopened

Replying to azaozz:

The file you're trying to edit is /wp-content/themes/bluemod/pagebar.css. This has to be writable by the web server not theme-editor.php. Also the server has to be configured properly to let you edit files.

Those files are writeable too, I checked that already.
Do you have a list of files that should be writeable?
Can you expand on the configuration of the server?

I build web servers so am aware of what permissions are required for Windows servers and everything looks fine to me.

#3 @nathanielrenouf
16 years ago

  • Resolution set to fixed
  • Status changed from reopened to closed

Just to update you that the issue is resolved. As I suspected my ISP needs to modify permissions directly, nothing I can do remote, for files to be writeable.

Thanks.

#4 @DD32
16 years ago

  • Resolution fixed deleted
  • Status changed from closed to reopened

#5 @DD32
16 years ago

  • Resolution set to invalid
  • Status changed from reopened to closed
Note: See TracTickets for help on using tickets.