[wp-trac] [WordPress Trac] #8848: ACP: fatal error when a plugin issues chdir()

WordPress Trac wp-trac at lists.automattic.com
Tue Jan 13 11:41:58 GMT 2009


#8848: ACP: fatal error when a plugin issues chdir()
---------------------------------+------------------------------------------
 Reporter:  vladimir_kolesnikov  |       Owner:  anonymous
     Type:  defect (bug)         |      Status:  new      
 Priority:  normal               |   Milestone:  2.7.1    
Component:  Administration       |     Version:           
 Severity:  normal               |    Keywords:  has-patch
---------------------------------+------------------------------------------
 {{{
 Warning: require(./admin-footer.php): failed to open stream: No such file
 or directory in /wp-admin/index.php on line 44
 Fatal error: require(): Failed opening required './admin-footer.php'
 (include_path='.:/usr/local/lib/php') in /wp-admin/index.php on line 44
 }}}

 This happens when a plugin for some reason chdir()s to another directory
 and WP then fails to find the file.

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


More information about the wp-trac mailing list