[wp-trac] Re: [WordPress Trac] #5586: Auto installer for themes and plugins

WordPress Trac wp-trac at lists.automattic.com
Wed Mar 19 00:57:19 GMT 2008


#5586: Auto installer for themes and plugins
----------------------------------------------------+-----------------------
 Reporter:  lawrencejob                             |        Owner:  ryan 
     Type:  enhancement                             |       Status:  new  
 Priority:  normal                                  |    Milestone:  2.5  
Component:  Administration                          |      Version:  2.3.1
 Severity:  blocker                                 |   Resolution:       
 Keywords:  installer theme plugin ftp zip updater  |  
----------------------------------------------------+-----------------------
Comment (by DD32):

 > attachment 5586.12.diff added.

  * Typo in the ftpext class
  * Safe mode kicks in and prevents opening of the file if its using /tmp/

 Errors like this:
 {{{
 Warning: fopen(): SAFE MODE Restriction in effect. The script whose uid is
 10205 is not allowed to
 access /tmp/wpupdateWI7gv2 owned by uid 48 in
 /var/www/vhosts/.../httpdocs/wp-
 admin/includes/file.php on line 206
 Warning: fopen(/tmp/wpupdateWI7gv2): failed to open stream: Permission
 denied in
 /var/www/vhosts/.../httpdocs/wp-admin/includes/file.php on line 206
 }}}

 This will cause the pdate page to read as "Download Failed" because its
 failed to find a useable directory.

 In cases like that, The blog owner can define {{{WP_TEMP_DIR}}} to point
 to a directory where PHP CAN write files. (Note: It checks to see if it
 can write to /wp-content/ and uses that before it relies on the systems
 directory, or /tmp/)

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5586#comment:72>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list