<?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>抽筋儿的话语权 &#187; php</title>
	<atom:link href="http://www.xuchi.name/blog/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xuchi.name/blog</link>
	<description>努力做一个有情调的人。“调”字读二声。</description>
	<lastBuildDate>Wed, 08 Sep 2010 02:43:48 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Cannot modify header information问题的解决方法</title>
		<link>http://www.xuchi.name/blog/2008/04/cannot-modify-header-information/</link>
		<comments>http://www.xuchi.name/blog/2008/04/cannot-modify-header-information/#comments</comments>
		<pubDate>Tue, 29 Apr 2008 03:26:06 +0000</pubDate>
		<dc:creator>抽筋儿</dc:creator>
				<category><![CDATA[我尝试]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.xuchi.name/blog/?p=80</guid>
		<description><![CDATA[昨晚升级WordPress 2.5.1 ，记事本编辑了wp-config-sample.php为wp-config.php，结果登录管理页面/wp-admin/时遭遇如下问题：
Warning: Cannot modify header information &#8211; headers already sent by  ……
搜索“Cannot modify header information”得到一票解决方法，简单说就是拿记事本编辑的php文件不是UTF-8（无BOM）编码的，更改php文件还是用Notepad++(这是一款主页上抵制北京奥*运的软件，囧)或UltraEdit靠谱。

切换编码后保存，再上传就可以解决问题。

	标签: blog, php, WordPress

	相关日志：
	
	本命年 (4)
	关于独立架站的域名设定 (2)
	非常时期非常规访问方法 (1)
	这俩Idea如何？ (8)
	记载 (4)


]]></description>
			<content:encoded><![CDATA[<p>昨晚升级WordPress 2.5.1 ，记事本编辑了wp-config-sample.php为wp-config.php，结果登录管理页面/wp-admin/时遭遇如下问题：</p>
<p><strong>Warning: Cannot modify header information &#8211; headers already sent by  ……</strong></p>
<p>搜索“<a title="Google:Cannot modify header information" href="http://www.google.cn/search?client=pub-5322016286177578&amp;forid=1&amp;prog=aff&amp;ie=UTF-8&amp;oe=UTF-8&amp;hl=zh-CN&amp;q=Cannot%20modify%20header%20information" target="_blank">Cannot modify header information</a>”得到一票解决方法，简单说就是<strong>拿记事本编辑的php文件不是UTF-8（无BOM）编码</strong>的，更改php文件还是用<a title="Notepad Plus" href="http://notepad-plus.sourceforge.net/" target="_blank">Notepad++</a>(<span style="color: #888888;">这是一款主页上抵制北京奥*运的软件，囧</span>)或UltraEdit靠谱。</p>
<p><img class="aligncenter size-full wp-image-81" title="notepad-plus" src="http://www.xuchi.name/blog/wp-content/uploads/2008/04/notepad-plus.gif" alt="切换编码" width="272" height="323" /></p>
<p>切换编码后保存，再上传就可以解决问题。</p>

	标签: <a href="http://www.xuchi.name/blog/tag/blog/" title="blog" rel="tag nofollow">blog</a>, <a href="http://www.xuchi.name/blog/tag/php/" title="php" rel="tag nofollow">php</a>, <a href="http://www.xuchi.name/blog/tag/wordpress/" title="WordPress" rel="tag nofollow">WordPress</a><br />

	<br /><h4>相关日志：</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.xuchi.name/blog/2008/02/chinese-new-year/" title="本命年 (2008-02-08)">本命年</a> (4)</li>
	<li><a href="http://www.xuchi.name/blog/2007/04/about-domain/" title="关于独立架站的域名设定 (2007-04-10)">关于独立架站的域名设定</a> (2)</li>
	<li><a href="http://www.xuchi.name/blog/2007/03/unnormaly-way-to-view-blogspot/" title="非常时期非常规访问方法 (2007-03-20)">非常时期非常规访问方法</a> (1)</li>
	<li><a href="http://www.xuchi.name/blog/2007/04/two-great-ideas/" title="这俩Idea如何？ (2007-04-13)">这俩Idea如何？</a> (8)</li>
	<li><a href="http://www.xuchi.name/blog/2007/03/mark-it/" title="记载 (2007-03-27)">记载</a> (4)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.xuchi.name/blog/2008/04/cannot-modify-header-information/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
