[wp-trac] [WordPress Trac] #10132: IIS fatal error at
menu-header.php line 118
WordPress Trac
wp-trac at lists.automattic.com
Fri Jun 12 20:24:08 GMT 2009
#10132: IIS fatal error at menu-header.php line 118
---------------------------+------------------------------------------------
Reporter: creativenadir | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Unassigned
Component: General | Version: 2.8
Severity: blocker | Keywords:
---------------------------+------------------------------------------------
After performing a new installation of 2.8-IIS release on machine running
PHP under IIS' FastCGI, cannot access wp-admin pages; returns error
"open_basedir restriction in effect..." and implicates line 118 of wp-
admin/menu-header.php. Checking php.ini, I ensured that safe mode was
off, commented-out the open_basedir parameter, and restarted IIS to no
avail.
On a whim, I replaced line 118 with its 2.7.1 version, and the problem
disappeared! Moreover, after it began working, I returned line 118 to its
previous version and it continued to work without error from then on.
Version 2.8:
{{{
if ( ( ('index.php' != $sub_item[2]) && file_exists(WP_PLUGIN_DIR .
"/{$sub_item[2]}") ) || ! empty($menu_hook) ) {
}}}
to Version 2.7.1:
{{{
if ( ( file_exists(WP_PLUGIN_DIR . "/{$sub_item[2]}") && ('index.php' !=
$sub_item[2]) ) || ! empty($menu_hook) ) {
}}}
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10132>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list