<?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>【ZenCart】カスタマイズメモ &#187; ZenCart</title>
	<atom:link href="http://zencart.memoblog.net/tag/zencart/feed/" rel="self" type="application/rss+xml" />
	<link>http://zencart.memoblog.net</link>
	<description>ZenCartの設置やカスタマイズ、使い方、制作方法etc.</description>
	<lastBuildDate>Fri, 29 Oct 2010 07:44:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>原因不明のInternal Server Errorが「ご注文の確定」ボタンクリックで発生。</title>
		<link>http://zencart.memoblog.net/2008/12/09/%e5%8e%9f%e5%9b%a0%e4%b8%8d%e6%98%8e%e3%81%aeinternal-server-error%e3%81%8c%e3%80%8c%e3%81%94%e6%b3%a8%e6%96%87%e3%81%ae%e7%a2%ba%e5%ae%9a%e3%80%8d%e3%83%9c%e3%82%bf%e3%83%b3%e3%82%af%e3%83%aa/</link>
		<comments>http://zencart.memoblog.net/2008/12/09/%e5%8e%9f%e5%9b%a0%e4%b8%8d%e6%98%8e%e3%81%aeinternal-server-error%e3%81%8c%e3%80%8c%e3%81%94%e6%b3%a8%e6%96%87%e3%81%ae%e7%a2%ba%e5%ae%9a%e3%80%8d%e3%83%9c%e3%82%bf%e3%83%b3%e3%82%af%e3%83%aa/#comments</comments>
		<pubDate>Tue, 09 Dec 2008 12:33:24 +0000</pubDate>
		<dc:creator>みやざわ</dc:creator>
				<category><![CDATA[エラー]]></category>
		<category><![CDATA[Internal Server Error]]></category>
		<category><![CDATA[ZenCart]]></category>

		<guid isPermaLink="false">http://zencart.memoblog.net/?p=25</guid>
		<description><![CDATA[Internal Server Errorが発生。以前は問題なく注文完了していたのが、注文プロセス最後の「ご注文の確定」ボタンをクリックすると、エラー。
実際のところ、注文は完了していて、顧客と管理者にもご注文確認メールは届き、管理画面にも新しい注文としてエントリーされている。

管理画面の「セッション管理の設定」をいろいろ変えてみたが変化なし（すべての組み合わせは試せていない）。
ブラウザのキャッシュを空にして再起動は何度も試すが変化なし。
WindowsのInternetExploror、MacのSafari、Firefox 3でも同様。
データベースのsessionテーブルの中身を削除したが変化なし。
原因となりそうなテンプレート（tpl_checkout_confirmation_default.php、tpl_checkout_success_default.php、tpl_time_out_default.php）を入れ替えたが変化なし。
.htaccess、php.iniともに特に変わった記述なし。
SSL（共有SSL）を使わない設定にしても変化なし。
同じサーバ上、同じデータベースに同じバージョンのZenCartが稼働しており、こちらは問題なし。
Googleで検索してもほとんど情報なし。ZenCart本家のBBSで、DBを入れ直したら来た、という書き込みあり（古いスレッドだが）

ここまでくると、再インストールするしかないのだろうか。しかし原因が分かっていないのはスッキリしないし、再発防止もできない。
サーバ情報）

Zen Cart: 1.3.0.2-l10n-jp-3

PHP バージョン: 4.3.9 (Zendのバージョン: 1.3.0)
MySQL: 4.0.27-Max
HTTP サーバ: Apache/2.0.52 (Red Hat)

サーバOS: Linux 2.6.9-78.0.8.ELsmp 

]]></description>
			<content:encoded><![CDATA[<p>Internal Server Errorが発生。以前は問題なく注文完了していたのが、注文プロセス最後の「ご注文の確定」ボタンをクリックすると、エラー。</p>
<p>実際のところ、注文は完了していて、顧客と管理者にもご注文確認メールは届き、管理画面にも新しい注文としてエントリーされている。</p>
<ol>
<li>管理画面の「セッション管理の設定」をいろいろ変えてみたが変化なし（すべての組み合わせは試せていない）。</li>
<li>ブラウザのキャッシュを空にして再起動は何度も試すが変化なし。</li>
<li>WindowsのInternetExploror、MacのSafari、Firefox 3でも同様。</li>
<li>データベースのsessionテーブルの中身を削除したが変化なし。</li>
<li>原因となりそうなテンプレート（tpl_checkout_confirmation_default.php、tpl_checkout_success_default.php、tpl_time_out_default.php）を入れ替えたが変化なし。</li>
<li>.htaccess、php.iniともに特に変わった記述なし。</li>
<li>SSL（共有SSL）を使わない設定にしても変化なし。</li>
<li>同じサーバ上、同じデータベースに同じバージョンのZenCartが稼働しており、こちらは問題なし。</li>
<li>Googleで検索してもほとんど情報なし。ZenCart本家のBBSで、DBを入れ直したら来た、という書き込みあり（古いスレッドだが）</li>
</ol>
<p>ここまでくると、再インストールするしかないのだろうか。しかし原因が分かっていないのはスッキリしないし、再発防止もできない。</p>
<p>サーバ情報）</p>
<ul>
<li><strong>Zen Cart:<span style="font-weight: normal"> 1.3.0.2-l10n-jp-3</span><br />
</strong></li>
<li><strong>PHP バージョン: </strong>4.3.9 (Zendのバージョン: 1.3.0)</li>
<li><strong>MySQL:</strong> 4.0.27-Max</li>
<li><strong><strong>HTTP サーバ: </strong><span style="font-weight: normal">Apache/2.0.52 (Red Hat)</span><br />
</strong></li>
<li><strong>サーバOS: </strong>Linux 2.6.9-78.0.8.ELsmp </li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://zencart.memoblog.net/2008/12/09/%e5%8e%9f%e5%9b%a0%e4%b8%8d%e6%98%8e%e3%81%aeinternal-server-error%e3%81%8c%e3%80%8c%e3%81%94%e6%b3%a8%e6%96%87%e3%81%ae%e7%a2%ba%e5%ae%9a%e3%80%8d%e3%83%9c%e3%82%bf%e3%83%b3%e3%82%af%e3%83%aa/feed/</wfw:commentRss>
		<slash:comments>138</slash:comments>
		</item>
		<item>
		<title>PHP5に移行してログイン出来なくなったら。</title>
		<link>http://zencart.memoblog.net/2008/11/26/php5%e3%81%ab%e7%a7%bb%e8%a1%8c%e3%81%97%e3%81%a6%e3%83%ad%e3%82%b0%e3%82%a4%e3%83%b3%e5%87%ba%e6%9d%a5%e3%81%aa%e3%81%8f%e3%81%aa%e3%81%a3%e3%81%9f%e3%82%89%e3%80%82/</link>
		<comments>http://zencart.memoblog.net/2008/11/26/php5%e3%81%ab%e7%a7%bb%e8%a1%8c%e3%81%97%e3%81%a6%e3%83%ad%e3%82%b0%e3%82%a4%e3%83%b3%e5%87%ba%e6%9d%a5%e3%81%aa%e3%81%8f%e3%81%aa%e3%81%a3%e3%81%9f%e3%82%89%e3%80%82/#comments</comments>
		<pubDate>Wed, 26 Nov 2008 08:51:24 +0000</pubDate>
		<dc:creator>みやざわ</dc:creator>
				<category><![CDATA[ZenCart カスタマイズ]]></category>
		<category><![CDATA[エラー]]></category>
		<category><![CDATA[Fatal error]]></category>
		<category><![CDATA[PHP5]]></category>
		<category><![CDATA[session]]></category>
		<category><![CDATA[ZenCart]]></category>
		<category><![CDATA[ログイン]]></category>
		<category><![CDATA[管理画面]]></category>

		<guid isPermaLink="false">http://zencart.memoblog.net/?p=23</guid>
		<description><![CDATA[以前はログインできていたZenCartの管理画面に、以下のようなエラーが出てログインできなくなった。
Fatal error: Call to a member function Execute() on a non-object in /○○○○/public_html/zencart/includes/functions/strict_sessions.php on line 66
考えられる要因は、使用しているレンタルサーバがPHP4 → PHP5 に強制的に切り替わったこと。
上記エラーで調べたところ下記の対処法を発見。
includes/functions/strict_sessions.php の55行目
&#8212;
【修正前】
function _sess_write($key, $val) {
global $db;
global $SESS_LIFE
【修正後】
function _sess_write($key, $val) {
// The following is only to work around a PHP 5.2.0 bug:
global $db; if (!is_object($db)) {
//PHP 5.2.0 bug workaround …
$db = new queryFactory();
$db-&#62;connect(DB_SERVER, DB_SERVER_USERNAME, DB_SERVER_PASSWORD, DB_DATABASE, USE_PCONNECT, false);
}
global [...]]]></description>
			<content:encoded><![CDATA[<p>以前は<strong>ログイン</strong>できていた<strong>ZenCart</strong>の<strong>管理画面</strong>に、以下のようなエラーが出てログインできなくなった。<br />
Fatal error: Call to a member function Execute() on a non-object in /○○○○/public_html/zencart/includes/functions/strict_sessions.php on line 66</p>
<p>考えられる要因は、使用しているレンタルサーバがPHP4 → <strong>PHP5</strong> に強制的に切り替わったこと。<br />
上記エラーで調べたところ下記の対処法を発見。</p>
<p>includes/functions/strict_sessions.php の55行目<br />
&#8212;</p>
<p>【修正前】<br />
function _sess_write($key, $val) {<br />
global $db;<br />
global $SESS_LIFE</p>
<p>【修正後】<br />
function _sess_write($key, $val) {<br />
// The following is only to work around a PHP 5.2.0 bug:<br />
global $db; if (!is_object($db)) {<br />
//PHP 5.2.0 bug workaround …<br />
$db = new queryFactory();<br />
$db-&gt;connect(DB_SERVER, DB_SERVER_USERNAME, DB_SERVER_PASSWORD, DB_DATABASE, USE_PCONNECT, false);<br />
}<br />
global $SESS_LIFE;</p>
<p>&#8212;</p>
<p>エラーに遭遇した環境：バージョン）</p>
<ul>
<li>ZenCart 1.3.0.2-l10n-jp-2</li>
<li>MySQL 4.0.24</li>
<li><strong> </strong> PHP 5.2.6</li>
</ul>
<p>参考サイト）</p>
<ul>
<li><a rel="bookmark" href="http://bgs-works.com/blog/?p=8">php5の環境でzen cartをインストールすると出るエラー</a> NIPPON MODE BGS WORKS (2008/1/25)<a rel="bookmark" href="http://bgs-works.com/blog/?p=8"><br />
</a></li>
<li><a href="http://www.minnadenet.com/blog/2008/08/zencart.html" target="_blank">ZenCartでログイン画面に入れない </a>みんなでねっと！のブログ(2008/8/25)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://zencart.memoblog.net/2008/11/26/php5%e3%81%ab%e7%a7%bb%e8%a1%8c%e3%81%97%e3%81%a6%e3%83%ad%e3%82%b0%e3%82%a4%e3%83%b3%e5%87%ba%e6%9d%a5%e3%81%aa%e3%81%8f%e3%81%aa%e3%81%a3%e3%81%9f%e3%82%89%e3%80%82/feed/</wfw:commentRss>
		<slash:comments>110</slash:comments>
		</item>
		<item>
		<title>注文確認メールに挿入されるcopyrightを変更。</title>
		<link>http://zencart.memoblog.net/2008/11/19/%e6%b3%a8%e6%96%87%e7%a2%ba%e8%aa%8d%e3%83%a1%e3%83%bc%e3%83%ab%e3%81%ab%e6%8c%bf%e5%85%a5%e3%81%95%e3%82%8c%e3%82%8bcopyright%e3%82%92%e5%a4%89%e6%9b%b4%e3%80%82/</link>
		<comments>http://zencart.memoblog.net/2008/11/19/%e6%b3%a8%e6%96%87%e7%a2%ba%e8%aa%8d%e3%83%a1%e3%83%bc%e3%83%ab%e3%81%ab%e6%8c%bf%e5%85%a5%e3%81%95%e3%82%8c%e3%82%8bcopyright%e3%82%92%e5%a4%89%e6%9b%b4%e3%80%82/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 03:14:52 +0000</pubDate>
		<dc:creator>みやざわ</dc:creator>
				<category><![CDATA[ZenCart カスタマイズ]]></category>
		<category><![CDATA[copyright]]></category>
		<category><![CDATA[ZenCart]]></category>
		<category><![CDATA[メール]]></category>

		<guid isPermaLink="false">http://zencart.memoblog.net/?p=21</guid>
		<description><![CDATA[includes/languages/japanese/email_extras.php
をコピーして
includes/languages/japanese/テンプレート名のフォルダ/email_extras.php
に移動する。
29行目「EMAIL_FOOTER_COPYRIGHT」の項目を書き換える。ソース上の改行はそのまま反映される。
]]></description>
			<content:encoded><![CDATA[<p>includes/languages/japanese/<span style="color: #ff6600">email_extras.php</span></p>
<p>をコピーして</p>
<p>includes/languages/japanese/テンプレート名のフォルダ/email_extras.php</p>
<p>に移動する。</p>
<p>29行目「<span style="color: #ff6600">EMAIL_FOOTER_COPYRIGHT</span>」の項目を書き換える。ソース上の改行はそのまま反映される。</p>
]]></content:encoded>
			<wfw:commentRss>http://zencart.memoblog.net/2008/11/19/%e6%b3%a8%e6%96%87%e7%a2%ba%e8%aa%8d%e3%83%a1%e3%83%bc%e3%83%ab%e3%81%ab%e6%8c%bf%e5%85%a5%e3%81%95%e3%82%8c%e3%82%8bcopyright%e3%82%92%e5%a4%89%e6%9b%b4%e3%80%82/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>合計から消費税の表示を消すには。</title>
		<link>http://zencart.memoblog.net/2008/11/19/%e5%90%88%e8%a8%88%e3%81%8b%e3%82%89%e6%b6%88%e8%b2%bb%e7%a8%8e%e3%81%ae%e8%a1%a8%e7%a4%ba%e3%82%92%e6%b6%88%e3%81%99%e3%81%ab%e3%81%af%e3%80%82/</link>
		<comments>http://zencart.memoblog.net/2008/11/19/%e5%90%88%e8%a8%88%e3%81%8b%e3%82%89%e6%b6%88%e8%b2%bb%e7%a8%8e%e3%81%ae%e8%a1%a8%e7%a4%ba%e3%82%92%e6%b6%88%e3%81%99%e3%81%ab%e3%81%af%e3%80%82/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 02:01:18 +0000</pubDate>
		<dc:creator>みやざわ</dc:creator>
				<category><![CDATA[未分類]]></category>
		<category><![CDATA[ZenCart]]></category>
		<category><![CDATA[消費税]]></category>
		<category><![CDATA[税率]]></category>

		<guid isPermaLink="false">http://zencart.memoblog.net/?p=19</guid>
		<description><![CDATA[ZenCart管理画面 &#62; 地域・税率設定 &#62; 税率設定
にて、税率を 0% にすると、カートの合計欄から消費税の設定が消える。
これをしないと、商品登録で「消費税なし」にしても、消費税が追加されてしまう。
]]></description>
			<content:encoded><![CDATA[<p>ZenCart管理画面 &gt; 地域・税率設定 &gt; 税率設定</p>
<p>にて、税率を <span style="color: #ff6600">0%</span> にすると、カートの合計欄から消費税の設定が消える。</p>
<p>これをしないと、商品登録で「消費税なし」にしても、消費税が追加されてしまう。</p>
]]></content:encoded>
			<wfw:commentRss>http://zencart.memoblog.net/2008/11/19/%e5%90%88%e8%a8%88%e3%81%8b%e3%82%89%e6%b6%88%e8%b2%bb%e7%a8%8e%e3%81%ae%e8%a1%a8%e7%a4%ba%e3%82%92%e6%b6%88%e3%81%99%e3%81%ab%e3%81%af%e3%80%82/feed/</wfw:commentRss>
		<slash:comments>146</slash:comments>
		</item>
		<item>
		<title>送料定額 + 送料無料の設定</title>
		<link>http://zencart.memoblog.net/2008/11/14/%e9%80%81%e6%96%99%e5%ae%9a%e9%a1%8d-%e9%80%81%e6%96%99%e7%84%a1%e6%96%99%e3%81%ae%e8%a8%ad%e5%ae%9a/</link>
		<comments>http://zencart.memoblog.net/2008/11/14/%e9%80%81%e6%96%99%e5%ae%9a%e9%a1%8d-%e9%80%81%e6%96%99%e7%84%a1%e6%96%99%e3%81%ae%e8%a8%ad%e5%ae%9a/#comments</comments>
		<pubDate>Fri, 14 Nov 2008 08:43:54 +0000</pubDate>
		<dc:creator>みやざわ</dc:creator>
				<category><![CDATA[未分類]]></category>
		<category><![CDATA[ZenCart]]></category>
		<category><![CDATA[カスタマイズ]]></category>
		<category><![CDATA[モジュール]]></category>
		<category><![CDATA[代金引換]]></category>
		<category><![CDATA[定額]]></category>
		<category><![CDATA[実査法]]></category>
		<category><![CDATA[無料]]></category>
		<category><![CDATA[送料]]></category>
		<category><![CDATA[配送料]]></category>

		<guid isPermaLink="false">http://zencart.memoblog.net/?p=17</guid>
		<description><![CDATA[【送料の例】お買い上げ金額 5,000円以上無料、5,000円未満は定額600円。代引き手数料420円。
【方法】実査法を使う
【解説】
管理画面＞モジュール＞配送
にて「実査法」をモジュールインストールして編集

「料金リスト」に
4999:600,
と入力。コンマまで含める。
管理画面＞モジュール＞注文合計
にて「代金引換手数料」をモジュールインストールして編集
「COD Fee for TABLE」に
00:420,
と入力。コンマまで含める。
※あらかじめモジュール＞代金引換をモジュールインストールしておく。

以上
]]></description>
			<content:encoded><![CDATA[<p>【送料の例】お買い上げ金額 5,000円以上無料、5,000円未満は定額600円。代引き手数料420円。</p>
<p>【方法】実査法を使う</p>
<p>【解説】<br />
管理画面＞モジュール＞配送<br />
にて「<strong>実査法</strong>」をモジュールインストールして編集</p>
<ol>
<li>「<strong>料金リスト</strong>」に<br />
<span style="color: #339966">4999:600,</span><br />
と入力。コンマまで含める。</li>
<li>管理画面＞モジュール＞注文合計<br />
にて「代金引換手数料」をモジュールインストールして編集</li>
<li>「<strong>COD Fee for TABLE</strong>」に<br />
<span style="color: #339966">00:420,</span><br />
と入力。コンマまで含める。<br />
※あらかじめモジュール＞代金引換をモジュールインストールしておく。</li>
</ol>
<p>以上</p>
]]></content:encoded>
			<wfw:commentRss>http://zencart.memoblog.net/2008/11/14/%e9%80%81%e6%96%99%e5%ae%9a%e9%a1%8d-%e9%80%81%e6%96%99%e7%84%a1%e6%96%99%e3%81%ae%e8%a8%ad%e5%ae%9a/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ZenCartで「注文手続きへ」でタイムアウトになる時。</title>
		<link>http://zencart.memoblog.net/2008/11/14/zencart%e3%81%a7%e3%80%8c%e6%b3%a8%e6%96%87%e6%89%8b%e7%b6%9a%e3%81%8d%e3%81%b8%e3%80%8d%e3%81%a7%e3%82%bf%e3%82%a4%e3%83%a0%e3%82%a2%e3%82%a6%e3%83%88%e3%81%ab%e3%81%aa%e3%82%8b%e6%99%82%e3%80%82/</link>
		<comments>http://zencart.memoblog.net/2008/11/14/zencart%e3%81%a7%e3%80%8c%e6%b3%a8%e6%96%87%e6%89%8b%e7%b6%9a%e3%81%8d%e3%81%b8%e3%80%8d%e3%81%a7%e3%82%bf%e3%82%a4%e3%83%a0%e3%82%a2%e3%82%a6%e3%83%88%e3%81%ab%e3%81%aa%e3%82%8b%e6%99%82%e3%80%82/#comments</comments>
		<pubDate>Fri, 14 Nov 2008 04:02:03 +0000</pubDate>
		<dc:creator>みやざわ</dc:creator>
				<category><![CDATA[ZenCart カスタマイズ]]></category>
		<category><![CDATA[timeout]]></category>
		<category><![CDATA[ZenCart]]></category>
		<category><![CDATA[クッキー]]></category>
		<category><![CDATA[セッション]]></category>
		<category><![CDATA[タイムアウト]]></category>
		<category><![CDATA[管理画面]]></category>

		<guid isPermaLink="false">http://zencart.memoblog.net/?p=15</guid>
		<description><![CDATA[買い物かごに商品を入れたあと、「注文手続きへ」のボタンをクリックした時（〜/index.php?main_page=checkout_shipping）にてタイムアウトになる時の対処法。
ZenCartの管理画面 ＞ 一般設定 ＞ セッション管理の設定

クッキー利用を必須にする : False
IPアドレスチェック : True
セッション再発行 : True

以上
参考サイト：
チカッパ！ &#8211; 助け合い掲示板
]]></description>
			<content:encoded><![CDATA[<p>買い物かごに商品を入れたあと、「注文手続きへ」のボタンをクリックした時（〜/index.php?main_page=checkout_shipping）にて<strong>タイムアウト</strong>になる時の対処法。</p>
<p>ZenCartの管理画面 ＞ 一般設定 ＞ セッション管理の設定</p>
<ul>
<li>クッキー利用を必須にする : False</li>
<li>IPアドレスチェック : True</li>
<li>セッション再発行 : True</li>
</ul>
<p>以上</p>
<p>参考サイト：<br />
<a href="https://user.chicappa.jp/bbs/?e=log&amp;tid=109&amp;lid=376" target="_blank">チカッパ！ &#8211; 助け合い掲示板</a></p>
]]></content:encoded>
			<wfw:commentRss>http://zencart.memoblog.net/2008/11/14/zencart%e3%81%a7%e3%80%8c%e6%b3%a8%e6%96%87%e6%89%8b%e7%b6%9a%e3%81%8d%e3%81%b8%e3%80%8d%e3%81%a7%e3%82%bf%e3%82%a4%e3%83%a0%e3%82%a2%e3%82%a6%e3%83%88%e3%81%ab%e3%81%aa%e3%82%8b%e6%99%82%e3%80%82/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

