<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>DEAN LEE:/DEV/BLOG &#187; error</title>
	<atom:link href="http://www.deanlee.cn/tag/error/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.deanlee.cn</link>
	<description>mount /dev/brain &#124;&#124; tail -f /var/log/thoughts &#62;&#62; /pub/www</description>
	<lastBuildDate>Fri, 03 Sep 2010 04:03:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>WordPress 2.5 Error on Windows IIS:Undefined index: PATH_INFO</title>
		<link>http://www.deanlee.cn/wordpress/wordpress-25-error-on-windows-iis-undefined-index-path_info/</link>
		<comments>http://www.deanlee.cn/wordpress/wordpress-25-error-on-windows-iis-undefined-index-path_info/#comments</comments>
		<pubDate>Thu, 24 Apr 2008 04:11:37 +0000</pubDate>
		<dc:creator>Dean Lee</dc:creator>
				<category><![CDATA[wordpress]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[IIS]]></category>
		<category><![CDATA[PATH_INFO]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://www.deanlee.cn/windows/wordpress-25-error-on-windows-iisundefined-index-path_info-3/</guid>
		<description><![CDATA[After upgrading to WordPress version 2.5 on Windows IIS,you may get the following errors: Notice: Undefined index: PATH_INFO in (path)\wp-settings.php on line 74 Notice: Undefined index: PATH_INFO in (path)\wp-settings.php on line 77 to solve this problem,open file wp-settings.php,goto line 71 and replace the following code: if ( $_SERVER['PATH_INFO'] == $_SERVER['SCRIPT_NAME'] ) $_SERVER['REQUEST_URI'] = $_SERVER['PATH_INFO']; else [...]


Related posts:<ol><li><a href='http://www.deanlee.cn/wordpress/boost-wordpress-performance-on-windows-iis/' rel='bookmark' title='Permanent Link: Boost your WordPress performance on Windows IIS 6 with FastCGI and eAccelerator in 5 minutes'>Boost your WordPress performance on Windows IIS 6 with FastCGI and eAccelerator in 5 minutes</a></li><li><a href='http://www.deanlee.cn/wordpress/url-rewriting-for-wordpress-under-iis/' rel='bookmark' title='Permanent Link: wp_url_rewriting:URL Rewriting for WordPress under IIS (V 2.1)'>wp_url_rewriting:URL Rewriting for WordPress under IIS (V 2.1)</a></li><li><a href='http://www.deanlee.cn/wordpress/updatedfckeditor-for-wordpress-version-22/' rel='bookmark' title='Permanent Link: Updated:FCKEditor for wordpress version 2.2'>Updated:FCKEditor for wordpress version 2.2</a></li></ol>]]></description>
			<content:encoded><![CDATA[<p>After upgrading to WordPress version 2.5 on Windows IIS,you may get the following errors:</p>
<pre>
Notice: Undefined index: PATH_INFO in (path)\wp-settings.php on line 74
Notice: Undefined index: PATH_INFO in (path)\wp-settings.php on line 77 </pre>
<p>to solve this problem,open file wp-settings.php,goto line 71 and replace the following code:</p>
<pre class="prettyprint">
if ( $_SERVER['PATH_INFO'] == $_SERVER['SCRIPT_NAME'] )
	$_SERVER['REQUEST_URI'] = $_SERVER['PATH_INFO'];
else
	$_SERVER['REQUEST_URI'] = $_SERVER['SCRIPT_NAME'] . $_SERVER['PATH_INFO'];</pre>
<p>with:</p>
<pre class="prettyprint">
if (empty($_SERVER['PATH_INFO']))
	$_SERVER['REQUEST_URI'] = substr($_SERVER['SCRIPT_NAME'], 0, strrpos($_SERVER['SCRIPT_NAME'], '/')) . '/';
else if ( $_SERVER['PATH_INFO'] == $_SERVER['SCRIPT_NAME'] )
	$_SERVER['REQUEST_URI'] = $_SERVER['PATH_INFO'];
else
	$_SERVER['REQUEST_URI'] = $_SERVER['SCRIPT_NAME'] . $_SERVER['PATH_INFO'];</pre>
<p>this will resolve that issue,Your can also download an already modified version of wp-setting.php <a href="http://www.deanlee.cn/downloads/wp-settings.zip">from here</a>.</p>
<img src="http://www.deanlee.cn/?ak_action=api_record_view&id=410&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.deanlee.cn/wordpress/boost-wordpress-performance-on-windows-iis/' rel='bookmark' title='Permanent Link: Boost your WordPress performance on Windows IIS 6 with FastCGI and eAccelerator in 5 minutes'>Boost your WordPress performance on Windows IIS 6 with FastCGI and eAccelerator in 5 minutes</a></li><li><a href='http://www.deanlee.cn/wordpress/url-rewriting-for-wordpress-under-iis/' rel='bookmark' title='Permanent Link: wp_url_rewriting:URL Rewriting for WordPress under IIS (V 2.1)'>wp_url_rewriting:URL Rewriting for WordPress under IIS (V 2.1)</a></li><li><a href='http://www.deanlee.cn/wordpress/updatedfckeditor-for-wordpress-version-22/' rel='bookmark' title='Permanent Link: Updated:FCKEditor for wordpress version 2.2'>Updated:FCKEditor for wordpress version 2.2</a></li></ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.deanlee.cn/wordpress/wordpress-25-error-on-windows-iis-undefined-index-path_info/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
