正誤表
312ページ 設定ファイル config.php 「$magic_code」の追加(2刷にて修正予定)
// config.php
// db
$db_host = 'localhost';
$db_user = 'root';
$db_password = '';
$db_name = 'ec';
// web
$site_name = 'Sample EC';
$site_domain = 'sample-ec.com';
$site_url = 'http://www.sample-ec.com';
$item_image_dir = '/var/www/sample-ec.com/htdocs/image/item/';
$item_image_url = '/image/item/';
// mail
$support_mail = 'support@sample-ec.com';
$order_confirm_mail = 'order_confirm@sample-ec.com';
?>
↓
// config.php
// db
$db_host = 'localhost';
$db_user = 'root';
$db_password = '';
$db_name = 'ec';
// web
$site_name = 'Sample EC';
$site_domain = 'sample-ec.com';
$site_url = 'http://www.sample-ec.com';
$item_image_dir = '/var/www/sample-ec.com/htdocs/image/item/';
$item_image_url = '/image/item/';
// mail
$support_mail = 'support@sample-ec.com';
$order_confirm_mail = 'order_confirm@sample-ec.com';
// system
$magic_code = 'i love miyuki';
?>
312ページ プログラムのインストール方法 スクリプトダウンローどURLの追加(2刷にて修正予定)
本著で使われているシステムのおおまかなインストール方法を説明します。
↓
本著で使われているシステムのおおまかなインストール方法を説明します。
最新版のスクリプトは、
http://sample-ec.com/download/
から取得してください。
57ページの表を下記に差し替えて下さい(2刷にて修正予定)
| カテゴリ会員テーブル category |
| 項目 |
フィールド名 |
種別 |
照合順序 |
NULL |
デフォルト値 |
その他 |
主要 |
一意性 |
インデックス |
全文 |
| カテゴリID |
category_id |
int(11) |
|
いいえ |
|
auto_increment |
○ |
|
|
|
|
| 親カテゴリID |
parent_id |
int(11) |
|
いいえ |
0 |
|
|
|
○ |
|
|
| 種類 |
type |
int(11) |
|
いいえ |
0 |
|
|
|
○ |
|
|
| カテゴリ名 |
category_name |
varchar(64) |
utf8_general_ci |
いいえ |
|
|
|
|
|
|
|
| 状態 |
state |
int(11) |
|
いいえ |
0 |
|
|
|
○ |
|
|