症状 ZenCartのサーバ移転の際に、DBは文字化けなく、移行出来たのですが、サイトや管理画面上の出力に、文字化けが出たので、その解決策です。 解決方法 以下の通り修正します。 修正する箇所 /includes/classes/db/mysql/query_factory.phpの35行目あたり /includes/classes/db/mysql/query_factory.php if ($zf_pconnect != ‘false’) { $this->link = @mysql_connect($zf_host, $zf_user, $zf_password, true); } else { // pconnect disabled … leaving it as “connect” here instead of “pconnect” $this->link = @mysql_
zencartでオリジナルのページを追加する。 page_2とかpage_3というのはあるけど、もっと増やしたりする方法。 EZページじゃいまいち自由度が足りないし、多言語対応もできない。 http://example.com/index.php?main_page=hoge というページを作りたい場合・・・ includes\filename.phpに追記 define('FILENAME_DEFINE_HOGE', 'define_hoge.php'); define('FILENAME_HOGE', 'hoge'); 新規作成 \includes\templates\MY_TEMPLATE\templates\tpl_hoge_default.php 中身 <div id="mainContents"?> <?php require($define_page); ?>
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く