WordPress.org

Make WordPress Core

Opened 8 years ago

Closed 8 years ago

Last modified 5 years ago

#2109 closed defect (bug) (fixed)

crash on windows box in the file editor

Reported by: Denis-de-Bernardy Owned by:
Milestone: Priority: normal
Severity: normal Version: 2.0
Component: Administration Keywords:
Focuses: Cc:

Description

when you try to save a non-writable file:

Warning: fopen(c:\Inetpub\wwwroot\semiologic2/index.php) [function.fopen]: failed to open stream: Permission denied in c:\Inetpub\wwwroot\semiologic2\wp-admin\templates.php on line 44

Warning: fwrite(): supplied argument is not a valid stream resource in c:\Inetpub\wwwroot\semiologic2\wp-admin\templates.php on line 45

Warning: fclose(): supplied argument is not a valid stream resource in c:\Inetpub\wwwroot\semiologic2\wp-admin\templates.php on line 46

Warning: Cannot modify header information - headers already sent by (output started at c:\Inetpub\wwwroot\semiologic2\wp-admin\templates.php:44) in c:\Inetpub\wwwroot\semiologic2\wp-admin\templates.php on line 47

Change History (1)

comment:1 ryan8 years ago

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

(In [3335]) Add error checking to file save. fixes #2109

Note: See TracTickets for help on using tickets.