[wp-trac] Re: [WordPress Trac] #10132: PHP Warning at menu-header.php line 118

WordPress Trac wp-trac at lists.automattic.com
Tue Jun 16 11:39:57 GMT 2009


#10132: PHP Warning at menu-header.php line 118
-----------------------------------------------+----------------------------
 Reporter:  creativenadir                      |        Owner:          
     Type:  defect (bug)                       |       Status:  reopened
 Priority:  high                               |    Milestone:  2.8.1   
Component:  Administration                     |      Version:  2.8     
 Severity:  major                              |   Resolution:          
 Keywords:  early has-patch reporter-feedback  |  
-----------------------------------------------+----------------------------

Comment(by peaceablewhale):

 I have uploaded a patch that uses @file_exists to fix the problem. Tested
 it with PHP 5.2.9-2 NTS on IIS 7.5 via FastCGI.

 By the way, the PHP Warning in full is:

 PHP Warning: file_exists() [function.file-exists]: open_basedir
 restriction in effect. File(C:\wwwroot\wordpress/wp-content/plugins/edit-
 tags.php?taxonomy=post_tag) is not within the allowed path(s):
 (C:\wwwroot) in C:\wwwroot\wordpress\wp-admin\menu-header.php on line 118

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10132#comment:15>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list