[wp-trac] [WordPress Trac] #10181: Warnings after post/page save

WordPress Trac wp-trac at lists.automattic.com
Mon Jun 15 20:44:27 GMT 2009


#10181: Warnings after post/page save
----------------------------+-----------------------------------------------
 Reporter:  Viper007Bond    |       Owner:                
     Type:  defect (bug)    |      Status:  new           
 Priority:  normal          |   Milestone:  Future Release
Component:  Administration  |     Version:  2.8           
 Severity:  blocker         |    Keywords:  has-patch     
----------------------------+-----------------------------------------------
 Inside the autosave box and after I save/publish a post or page, I get the
 following:

 {{{
 Warning: fopen(/var/www/hosted/finalgear.com/htdocs/.htaccess)
 [function.fopen]: failed to open stream: Operation not permitted in
 /var/www/hosted/finalgear.com/htdocs/wordpress/wp-admin/includes/misc.php
 on line 75

 Warning: fwrite(): supplied argument is not a valid stream resource in
 /var/www/hosted/finalgear.com/htdocs/wordpress/wp-admin/includes/misc.php
 on line 84
 }}}

 The second error message is repeated a few dozen times. Looks like it's
 trying to write to the `.htaccess` file every single time something is
 saved (which doesn't make sense).

 Regardless, attached patch should silence the errors.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10181>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list