<?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/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>nrg-blog</title>
	<atom:link href="http://nrglog.net/blog/feed" rel="self" type="application/rss+xml" />
	<link>http://nrglog.net/blog</link>
	<description>アナログな記憶のデジタルな記録</description>
	<lastBuildDate>Sat, 13 Jun 2009 12:36:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://nrglog.net/blog/feed" />
		<item>
		<title>WordPress2.8自動アップグレード-XREAサーバでのトラブル対処</title>
		<link>http://nrglog.net/blog/archives/2009/06/wordpress2-8-ja-auto-upgrade-xrea-trouble.html</link>
		<comments>http://nrglog.net/blog/archives/2009/06/wordpress2-8-ja-auto-upgrade-xrea-trouble.html#comments</comments>
		<pubDate>Sat, 13 Jun 2009 10:03:08 +0000</pubDate>
		<dc:creator>shion</dc:creator>
				<category><![CDATA[未分類]]></category>

		<guid isPermaLink="false">http://nrglog.net/blog/?p=23</guid>
		<description><![CDATA[昨日、当ブログの記事を書こうと管理画面にログインすると自動アップグレードの通知が出ていた。
とりあえず何も考えずに自動アップグレードしてみたが、エラーが出たのでその対処をメモ書きしておく。
WordPress2.8日本語 [...]]]></description>
			<content:encoded><![CDATA[<p>昨日、当ブログの記事を書こうと管理画面にログインすると自動アップグレードの通知が出ていた。</p>
<p>とりあえず何も考えずに自動アップグレードしてみたが、エラーが出たのでその対処をメモ書きしておく。</p>
<p>WordPress2.8日本語版の基本的なアップグレード方法はこちら。</p>
<ul>
<li> 管理パネル/ツール/アップグレード &#8211; WordPress Codex 日本語版<br />
<a href="http://wpdocs.sourceforge.jp/Tools_Upgrade_SubPanel" target="_blank">http://wpdocs.sourceforge.jp/Tools_Upgrade_SubPanel</a></li>
</ul>
<p>まず、アップグレードの前にデータベースとすべてのWordPressファイルを<strong>バックアップ</strong>することをお勧め。</p>
<p>XREAの場合は管理画面のデータベースから使用しているDBの[保存]ボタンを押すだけ。</p>
<p>WordPressファイルはFTPで接続してフォルダごとダウンロードするか、SSHでログインしてtarで固めてしまうのも簡単でよい。</p>
<blockquote><p>tar cvf wordpress_backup.tar wordpress/</p></blockquote>
<p>バックアップが終わればWordPress管理画面での実行作業。今回は2.8-jaの自動インストールを実行を選んだ。</p>
<p>次に接続情報の入力。ホスト名にはFTP等での接続先(XREAの場合、sXXX.xrea.com等)、ID/PASSはFTP接続で使用するもの。</p>
<p>接続形式はできるならセキュアな<strong>FTP(SSL)</strong>をお勧め。XREAでは問題無く接続できた。</p>
<p>開始ボタンを押すとアップグレードが開始されるが、一回目は失敗。</p>
<p>ググって調べると解決策が有り。「wp-config.php」にFTPの定数宣言を3行追加する。</p>
<ul>
<li>chibiegg日誌 » WordPressの自動アップデートエラーについて<br />
<a href="http://blog.chibiegg.net/2009/02/24_20_259.htm" target="_blank">http://blog.chibiegg.net/2009/02/24_20_259.htm</a></li>
<li>wp-config.php の編集 &#8211; WordPress Codex 日本語版<br />
<a href="http://wpdocs.sourceforge.jp/wp-config.php_%E3%81%AE%E7%B7%A8%E9%9B%86" target="_blank">http://wpdocs.sourceforge.jp/wp-config.php_%E3%81%AE%E7%B7%A8%E9%9B%86</a></li>
</ul>
<blockquote>
<pre>define('FTP_BASE', '/path/to/wordpress/');
define('FTP_CONTENT_DIR', '/path/to/wordpress/wp-content/');
define('FTP_PLUGIN_DIR', '/path/to/wordpress/wp-conten<span>t</span>/plugins/');</pre>
</blockquote>
<p>パス記入のポイントは「フルパス」で記入すること。XREAなら下記のような形式になる。</p>
<blockquote><p>/virtual/ユーザー名/public_html/wordpress</p></blockquote>
<p>上記記入後、再度実行すると、今度は「ファイルをコピーできませんでした」と出て2回目のエラー。</p>
<p>これはXREAではPHPが<strong>セーフモード</strong>で動いている為に起こるエラー。</p>
<p>対処方法は、<code>wp-admin/</code> ディレクトリに下記を書いた <strong>.htaccess</strong> ファイルを設置する。</p>
<blockquote>
<pre>&lt;Files update-core.php&gt;
AddHandler application/x-httpd-phpcgi .php
&lt;/Files&gt;</pre>
</blockquote>
<ul>
<li>セーフモードによる制限と対処方法 &#8211; WordPress Codex 日本語版<br />
<a href="http://wpdocs.sourceforge.jp/%E3%82%BB%E3%83%BC%E3%83%95%E3%83%A2%E3%83%BC%E3%83%89%E3%81%AB%E3%82%88%E3%82%8B%E5%88%B6%E9%99%90%E3%81%A8%E5%AF%BE%E5%87%A6%E6%96%B9%E6%B3%95#.E3.82.B3.E3.82.A2.E3.82.A2.E3.83.83.E3.83.97.E3.82.B0.E3.83.AC.E3.83.BC.E3.83.89" target="_blank">http://wpdocs.sourceforge.jp/%E3%82%BB%E3%83%BC%E3%83%95%E3%83%A2%E3%83%BC%E3%83%89%E3%81%AB%E3%82%88%E3%82%8B%E5%88%B6%E9%99%90%E3%81%A8%E5%AF%BE%E5%87%A6%E6%96%B9%E6%B3%95#.E3.82.B3.E3.82.A2.E3.82.A2.E3.83.83.E3.83.97.E3.82.B0.E3.83.AC.E3.83.BC.E3.83.89</a></li>
</ul>
<p>これで再度実行することで無事、WordPress 2.8日本語版にアップグレード完了。</p>
<p>ウィジェットが変わったみたいなので、少し使い方を研究してみようと思う。</p>
]]></content:encoded>
			<wfw:commentRss>http://nrglog.net/blog/archives/2009/06/wordpress2-8-ja-auto-upgrade-xrea-trouble.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://nrglog.net/blog/archives/2009/06/wordpress2-8-ja-auto-upgrade-xrea-trouble.html" />
	</item>
		<item>
		<title>WordPress → mixi 同時投稿テスト</title>
		<link>http://nrglog.net/blog/archives/2009/05/wp-to-mixi-sync.html</link>
		<comments>http://nrglog.net/blog/archives/2009/05/wp-to-mixi-sync.html#comments</comments>
		<pubDate>Thu, 28 May 2009 15:43:41 +0000</pubDate>
		<dc:creator>shion</dc:creator>
				<category><![CDATA[未分類]]></category>

		<guid isPermaLink="false">http://nrglog.net/blog/?p=16</guid>
		<description><![CDATA[外部ブログからの同時投稿テストです。
Wp-MixiPublisher 1.0.0 RC2 +e　使用。
]]></description>
			<content:encoded><![CDATA[<p>外部ブログからの同時投稿テストです。</p>
<p>Wp-MixiPublisher 1.0.0 RC2 +e　使用。</p>
]]></content:encoded>
			<wfw:commentRss>http://nrglog.net/blog/archives/2009/05/wp-to-mixi-sync.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://nrglog.net/blog/archives/2009/05/wp-to-mixi-sync.html" />
	</item>
		<item>
		<title>blog再開します</title>
		<link>http://nrglog.net/blog/archives/2009/05/blog_restart.html</link>
		<comments>http://nrglog.net/blog/archives/2009/05/blog_restart.html#comments</comments>
		<pubDate>Tue, 26 May 2009 14:56:54 +0000</pubDate>
		<dc:creator>shion</dc:creator>
				<category><![CDATA[未分類]]></category>

		<guid isPermaLink="false">http://nrglog.net/blog/2009/05/blog%e5%86%8d%e9%96%8b%e3%81%97%e3%81%be%e3%81%99.html</guid>
		<description><![CDATA[サーバ移転時に過去の記事のデータがバックアップできなかったので、心機一転ゼロからの再スタートです。
それほど重要な内容の記事もなかったので、まぁいいかなと。
ついでにWordPressもアップデートしてみました。
割とい [...]]]></description>
			<content:encoded><![CDATA[<p>サーバ移転時に過去の記事のデータがバックアップできなかったので、心機一転ゼロからの再スタートです。<br />
それほど重要な内容の記事もなかったので、まぁいいかなと。<br />
ついでにWordPressもアップデートしてみました。<br />
割といい感じです。</p>
<p>というわけで、またぼちぼちと更新していきます。</p>
]]></content:encoded>
			<wfw:commentRss>http://nrglog.net/blog/archives/2009/05/blog_restart.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://nrglog.net/blog/archives/2009/05/blog_restart.html" />
	</item>
	</channel>
</rss>
