#2109 closed defect (bug) (fixed)
crash on windows box in the file editor
| Reported by: | Denis-de-Bernardy | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 2.0 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [3335]) Add error checking to file save. fixes #2109