Notice (8) : Undefined index: native_type [CORE/Cake/Model/Datasource/Database/Postgres.php , line 758 ]Code Context $this -> map [ $index ++] = array( $table , $name , $column [ 'native_type' ]);
} else {
$this -> map [ $index ++] = array( 0 , $column [ 'name' ], $column [ 'native_type' ]);
$results = object(PDOStatement) {
queryString => 'SELECT
item_info.* AS item_info,
bunrui1.* AS bunrui1,
bunrui2.* AS bunrui2,
itemcode.* AS itemcode,
maker.mk_rate AS mk_rate,
maker.mk_rate5 AS mk_rate5,
maker.mk_name AS mk_name,
maker.mk_stocking_rate AS mk_stocking_rate,
maker.mk_search_hit AS mk_search_hit,
maker.mk_show_price AS mk_show_price,
maker.mk_rate_yahoo AS mk_rate_yahoo,
catalog.* AS catalog
FROM
item_info AS item_info
left JOIN bunrui2_info AS bunrui2 ON (item_info.i_category_code2 = bunrui2.b2_code)
left JOIN bunrui1_info AS bunrui1 ON (item_info.i_category_code1 = bunrui1.b1_code)
left JOIN itemcode_info AS itemcode ON (item_info.i_item_code = itemcode.ic_code)
left JOIN maker_info AS maker ON (item_info.i_maker_code = maker.mk_code)
left JOIN catalog_info AS catalog ON (item_info.i_catalog_code = catalog.cl_code)
WHERE i_identity = 103498 ORDER BY item_info.i_identity ASC LIMIT 1'
}
$numFields = (int) 155
$index = (int) 101
$j = (int) 100
$column = array(
'pgsql:oid' => (int) 1042,
'pgsql:table_oid' => (int) 27359,
'name' => 'i_product_category',
'len' => (int) -1,
'precision' => (int) 104,
'pdo_type' => (int) 2
) Postgres::resultSet() - CORE/Cake/Model/Datasource/Database/Postgres.php, line 758
DboSource::fetchRow() - CORE/Cake/Model/Datasource/DboSource.php, line 632
DboSource::fetchAll() - CORE/Cake/Model/Datasource/DboSource.php, line 678
DboSource::query() - CORE/Cake/Model/Datasource/DboSource.php, line 609
Model::query() - CORE/Cake/Model/Model.php, line 3470
Item::getItemCalc() - APP/Model/Item.php, line 1409
pc_list_price_arr - /home/uniform1.com/htdocs/webroot/require/common_usual.php, line 2414
require_once - /home/common_pc_shops/htdocs/search_result.php, line 243
require_once - /home/common_pc_shops/htdocs/mod_rewrite.php, line 44
[main] - /home/m891.com/htdocs/mod_rewrite.php, line 3 Notice (8) : Undefined index: native_type [CORE/Cake/Model/Datasource/Database/Postgres.php , line 758 ]Code Context $this -> map [ $index ++] = array( $table , $name , $column [ 'native_type' ]);
} else {
$this -> map [ $index ++] = array( 0 , $column [ 'name' ], $column [ 'native_type' ]);
$results = object(PDOStatement) {
queryString => 'SELECT
item_info.* AS item_info,
bunrui1.* AS bunrui1,
bunrui2.* AS bunrui2,
itemcode.* AS itemcode,
maker.mk_rate AS mk_rate,
maker.mk_rate5 AS mk_rate5,
maker.mk_name AS mk_name,
maker.mk_stocking_rate AS mk_stocking_rate,
maker.mk_search_hit AS mk_search_hit,
maker.mk_show_price AS mk_show_price,
maker.mk_rate_yahoo AS mk_rate_yahoo,
catalog.* AS catalog
FROM
item_info AS item_info
left JOIN bunrui2_info AS bunrui2 ON (item_info.i_category_code2 = bunrui2.b2_code)
left JOIN bunrui1_info AS bunrui1 ON (item_info.i_category_code1 = bunrui1.b1_code)
left JOIN itemcode_info AS itemcode ON (item_info.i_item_code = itemcode.ic_code)
left JOIN maker_info AS maker ON (item_info.i_maker_code = maker.mk_code)
left JOIN catalog_info AS catalog ON (item_info.i_catalog_code = catalog.cl_code)
WHERE i_identity = 103498 ORDER BY item_info.i_identity ASC LIMIT 1'
}
$numFields = (int) 155
$index = (int) 102
$j = (int) 101
$column = array(
'pgsql:oid' => (int) 700,
'pgsql:table_oid' => (int) 27359,
'name' => 'i_point_rate',
'len' => (int) 4,
'precision' => (int) -1,
'pdo_type' => (int) 2
) Postgres::resultSet() - CORE/Cake/Model/Datasource/Database/Postgres.php, line 758
DboSource::fetchRow() - CORE/Cake/Model/Datasource/DboSource.php, line 632
DboSource::fetchAll() - CORE/Cake/Model/Datasource/DboSource.php, line 678
DboSource::query() - CORE/Cake/Model/Datasource/DboSource.php, line 609
Model::query() - CORE/Cake/Model/Model.php, line 3470
Item::getItemCalc() - APP/Model/Item.php, line 1409
pc_list_price_arr - /home/uniform1.com/htdocs/webroot/require/common_usual.php, line 2414
require_once - /home/common_pc_shops/htdocs/search_result.php, line 243
require_once - /home/common_pc_shops/htdocs/mod_rewrite.php, line 44
[main] - /home/m891.com/htdocs/mod_rewrite.php, line 3 Notice (8) : Undefined index: native_type [CORE/Cake/Model/Datasource/Database/Postgres.php , line 758 ]Code Context $this -> map [ $index ++] = array( $table , $name , $column [ 'native_type' ]);
} else {
$this -> map [ $index ++] = array( 0 , $column [ 'name' ], $column [ 'native_type' ]);
$results = object(PDOStatement) {
queryString => 'SELECT
item_info.* AS item_info,
bunrui1.* AS bunrui1,
bunrui2.* AS bunrui2,
itemcode.* AS itemcode,
maker.mk_rate AS mk_rate,
maker.mk_rate5 AS mk_rate5,
maker.mk_name AS mk_name,
maker.mk_stocking_rate AS mk_stocking_rate,
maker.mk_search_hit AS mk_search_hit,
maker.mk_show_price AS mk_show_price,
maker.mk_rate_yahoo AS mk_rate_yahoo,
catalog.* AS catalog
FROM
item_info AS item_info
left JOIN bunrui2_info AS bunrui2 ON (item_info.i_category_code2 = bunrui2.b2_code)
left JOIN bunrui1_info AS bunrui1 ON (item_info.i_category_code1 = bunrui1.b1_code)
left JOIN itemcode_info AS itemcode ON (item_info.i_item_code = itemcode.ic_code)
left JOIN maker_info AS maker ON (item_info.i_maker_code = maker.mk_code)
left JOIN catalog_info AS catalog ON (item_info.i_catalog_code = catalog.cl_code)
WHERE i_identity = 103498 ORDER BY item_info.i_identity ASC LIMIT 1'
}
$numFields = (int) 155
$index = (int) 103
$j = (int) 102
$column = array(
'pgsql:oid' => (int) 700,
'pgsql:table_oid' => (int) 27359,
'name' => 'i_rate',
'len' => (int) 4,
'precision' => (int) -1,
'pdo_type' => (int) 2
) Postgres::resultSet() - CORE/Cake/Model/Datasource/Database/Postgres.php, line 758
DboSource::fetchRow() - CORE/Cake/Model/Datasource/DboSource.php, line 632
DboSource::fetchAll() - CORE/Cake/Model/Datasource/DboSource.php, line 678
DboSource::query() - CORE/Cake/Model/Datasource/DboSource.php, line 609
Model::query() - CORE/Cake/Model/Model.php, line 3470
Item::getItemCalc() - APP/Model/Item.php, line 1409
pc_list_price_arr - /home/uniform1.com/htdocs/webroot/require/common_usual.php, line 2414
require_once - /home/common_pc_shops/htdocs/search_result.php, line 243
require_once - /home/common_pc_shops/htdocs/mod_rewrite.php, line 44
[main] - /home/m891.com/htdocs/mod_rewrite.php, line 3 Notice (8) : Undefined index: native_type [CORE/Cake/Model/Datasource/Database/Postgres.php , line 758 ]Code Context $this -> map [ $index ++] = array( $table , $name , $column [ 'native_type' ]);
} else {
$this -> map [ $index ++] = array( 0 , $column [ 'name' ], $column [ 'native_type' ]);
$results = object(PDOStatement) {
queryString => 'SELECT
item_info.* AS item_info,
bunrui1.* AS bunrui1,
bunrui2.* AS bunrui2,
itemcode.* AS itemcode,
maker.mk_rate AS mk_rate,
maker.mk_rate5 AS mk_rate5,
maker.mk_name AS mk_name,
maker.mk_stocking_rate AS mk_stocking_rate,
maker.mk_search_hit AS mk_search_hit,
maker.mk_show_price AS mk_show_price,
maker.mk_rate_yahoo AS mk_rate_yahoo,
catalog.* AS catalog
FROM
item_info AS item_info
left JOIN bunrui2_info AS bunrui2 ON (item_info.i_category_code2 = bunrui2.b2_code)
left JOIN bunrui1_info AS bunrui1 ON (item_info.i_category_code1 = bunrui1.b1_code)
left JOIN itemcode_info AS itemcode ON (item_info.i_item_code = itemcode.ic_code)
left JOIN maker_info AS maker ON (item_info.i_maker_code = maker.mk_code)
left JOIN catalog_info AS catalog ON (item_info.i_catalog_code = catalog.cl_code)
WHERE i_identity = 103498 ORDER BY item_info.i_identity ASC LIMIT 1'
}
$numFields = (int) 155
$index = (int) 104
$j = (int) 103
$column = array(
'pgsql:oid' => (int) 700,
'pgsql:table_oid' => (int) 27359,
'name' => 'i_rate5',
'len' => (int) 4,
'precision' => (int) -1,
'pdo_type' => (int) 2
) Postgres::resultSet() - CORE/Cake/Model/Datasource/Database/Postgres.php, line 758
DboSource::fetchRow() - CORE/Cake/Model/Datasource/DboSource.php, line 632
DboSource::fetchAll() - CORE/Cake/Model/Datasource/DboSource.php, line 678
DboSource::query() - CORE/Cake/Model/Datasource/DboSource.php, line 609
Model::query() - CORE/Cake/Model/Model.php, line 3470
Item::getItemCalc() - APP/Model/Item.php, line 1409
pc_list_price_arr - /home/uniform1.com/htdocs/webroot/require/common_usual.php, line 2414
require_once - /home/common_pc_shops/htdocs/search_result.php, line 243
require_once - /home/common_pc_shops/htdocs/mod_rewrite.php, line 44
[main] - /home/m891.com/htdocs/mod_rewrite.php, line 3 Notice (8) : Undefined index: native_type [CORE/Cake/Model/Datasource/Database/Postgres.php , line 758 ]Code Context $this -> map [ $index ++] = array( $table , $name , $column [ 'native_type' ]);
} else {
$this -> map [ $index ++] = array( 0 , $column [ 'name' ], $column [ 'native_type' ]);
$results = object(PDOStatement) {
queryString => 'SELECT
item_info.* AS item_info,
bunrui1.* AS bunrui1,
bunrui2.* AS bunrui2,
itemcode.* AS itemcode,
maker.mk_rate AS mk_rate,
maker.mk_rate5 AS mk_rate5,
maker.mk_name AS mk_name,
maker.mk_stocking_rate AS mk_stocking_rate,
maker.mk_search_hit AS mk_search_hit,
maker.mk_show_price AS mk_show_price,
maker.mk_rate_yahoo AS mk_rate_yahoo,
catalog.* AS catalog
FROM
item_info AS item_info
left JOIN bunrui2_info AS bunrui2 ON (item_info.i_category_code2 = bunrui2.b2_code)
left JOIN bunrui1_info AS bunrui1 ON (item_info.i_category_code1 = bunrui1.b1_code)
left JOIN itemcode_info AS itemcode ON (item_info.i_item_code = itemcode.ic_code)
left JOIN maker_info AS maker ON (item_info.i_maker_code = maker.mk_code)
left JOIN catalog_info AS catalog ON (item_info.i_catalog_code = catalog.cl_code)
WHERE i_identity = 103498 ORDER BY item_info.i_identity ASC LIMIT 1'
}
$numFields = (int) 155
$index = (int) 105
$j = (int) 104
$column = array(
'pgsql:oid' => (int) 700,
'pgsql:table_oid' => (int) 27359,
'name' => 'i_rate_y',
'len' => (int) 4,
'precision' => (int) -1,
'pdo_type' => (int) 2
) Postgres::resultSet() - CORE/Cake/Model/Datasource/Database/Postgres.php, line 758
DboSource::fetchRow() - CORE/Cake/Model/Datasource/DboSource.php, line 632
DboSource::fetchAll() - CORE/Cake/Model/Datasource/DboSource.php, line 678
DboSource::query() - CORE/Cake/Model/Datasource/DboSource.php, line 609
Model::query() - CORE/Cake/Model/Model.php, line 3470
Item::getItemCalc() - APP/Model/Item.php, line 1409
pc_list_price_arr - /home/uniform1.com/htdocs/webroot/require/common_usual.php, line 2414
require_once - /home/common_pc_shops/htdocs/search_result.php, line 243
require_once - /home/common_pc_shops/htdocs/mod_rewrite.php, line 44
[main] - /home/m891.com/htdocs/mod_rewrite.php, line 3 Notice (8) : Undefined index: native_type [CORE/Cake/Model/Datasource/Database/Postgres.php , line 758 ]Code Context $this -> map [ $index ++] = array( $table , $name , $column [ 'native_type' ]);
} else {
$this -> map [ $index ++] = array( 0 , $column [ 'name' ], $column [ 'native_type' ]);
$results = object(PDOStatement) {
queryString => 'SELECT
item_info.* AS item_info,
bunrui1.* AS bunrui1,
bunrui2.* AS bunrui2,
itemcode.* AS itemcode,
maker.mk_rate AS mk_rate,
maker.mk_rate5 AS mk_rate5,
maker.mk_name AS mk_name,
maker.mk_stocking_rate AS mk_stocking_rate,
maker.mk_search_hit AS mk_search_hit,
maker.mk_show_price AS mk_show_price,
maker.mk_rate_yahoo AS mk_rate_yahoo,
catalog.* AS catalog
FROM
item_info AS item_info
left JOIN bunrui2_info AS bunrui2 ON (item_info.i_category_code2 = bunrui2.b2_code)
left JOIN bunrui1_info AS bunrui1 ON (item_info.i_category_code1 = bunrui1.b1_code)
left JOIN itemcode_info AS itemcode ON (item_info.i_item_code = itemcode.ic_code)
left JOIN maker_info AS maker ON (item_info.i_maker_code = maker.mk_code)
left JOIN catalog_info AS catalog ON (item_info.i_catalog_code = catalog.cl_code)
WHERE i_identity = 103498 ORDER BY item_info.i_identity ASC LIMIT 1'
}
$numFields = (int) 155
$index = (int) 106
$j = (int) 105
$column = array(
'pgsql:oid' => (int) 700,
'pgsql:table_oid' => (int) 27359,
'name' => 'i_stocking_rate',
'len' => (int) 4,
'precision' => (int) -1,
'pdo_type' => (int) 2
) Postgres::resultSet() - CORE/Cake/Model/Datasource/Database/Postgres.php, line 758
DboSource::fetchRow() - CORE/Cake/Model/Datasource/DboSource.php, line 632
DboSource::fetchAll() - CORE/Cake/Model/Datasource/DboSource.php, line 678
DboSource::query() - CORE/Cake/Model/Datasource/DboSource.php, line 609
Model::query() - CORE/Cake/Model/Model.php, line 3470
Item::getItemCalc() - APP/Model/Item.php, line 1409
pc_list_price_arr - /home/uniform1.com/htdocs/webroot/require/common_usual.php, line 2414
require_once - /home/common_pc_shops/htdocs/search_result.php, line 243
require_once - /home/common_pc_shops/htdocs/mod_rewrite.php, line 44
[main] - /home/m891.com/htdocs/mod_rewrite.php, line 3 Notice (8) : Undefined index: native_type [CORE/Cake/Model/Datasource/Database/Postgres.php , line 758 ]Code Context $this -> map [ $index ++] = array( $table , $name , $column [ 'native_type' ]);
} else {
$this -> map [ $index ++] = array( 0 , $column [ 'name' ], $column [ 'native_type' ]);
$results = object(PDOStatement) {
queryString => 'SELECT
item_info.* AS item_info,
bunrui1.* AS bunrui1,
bunrui2.* AS bunrui2,
itemcode.* AS itemcode,
maker.mk_rate AS mk_rate,
maker.mk_rate5 AS mk_rate5,
maker.mk_name AS mk_name,
maker.mk_stocking_rate AS mk_stocking_rate,
maker.mk_search_hit AS mk_search_hit,
maker.mk_show_price AS mk_show_price,
maker.mk_rate_yahoo AS mk_rate_yahoo,
catalog.* AS catalog
FROM
item_info AS item_info
left JOIN bunrui2_info AS bunrui2 ON (item_info.i_category_code2 = bunrui2.b2_code)
left JOIN bunrui1_info AS bunrui1 ON (item_info.i_category_code1 = bunrui1.b1_code)
left JOIN itemcode_info AS itemcode ON (item_info.i_item_code = itemcode.ic_code)
left JOIN maker_info AS maker ON (item_info.i_maker_code = maker.mk_code)
left JOIN catalog_info AS catalog ON (item_info.i_catalog_code = catalog.cl_code)
WHERE i_identity = 103498 ORDER BY item_info.i_identity ASC LIMIT 1'
}
$numFields = (int) 155
$index = (int) 114
$j = (int) 113
$column = array(
'pgsql:oid' => (int) 700,
'pgsql:table_oid' => (int) 27264,
'name' => 'b1_point_rate',
'len' => (int) 4,
'precision' => (int) -1,
'pdo_type' => (int) 2
) Postgres::resultSet() - CORE/Cake/Model/Datasource/Database/Postgres.php, line 758
DboSource::fetchRow() - CORE/Cake/Model/Datasource/DboSource.php, line 632
DboSource::fetchAll() - CORE/Cake/Model/Datasource/DboSource.php, line 678
DboSource::query() - CORE/Cake/Model/Datasource/DboSource.php, line 609
Model::query() - CORE/Cake/Model/Model.php, line 3470
Item::getItemCalc() - APP/Model/Item.php, line 1409
pc_list_price_arr - /home/uniform1.com/htdocs/webroot/require/common_usual.php, line 2414
require_once - /home/common_pc_shops/htdocs/search_result.php, line 243
require_once - /home/common_pc_shops/htdocs/mod_rewrite.php, line 44
[main] - /home/m891.com/htdocs/mod_rewrite.php, line 3 Notice (8) : Undefined index: native_type [CORE/Cake/Model/Datasource/Database/Postgres.php , line 758 ]Code Context $this -> map [ $index ++] = array( $table , $name , $column [ 'native_type' ]);
} else {
$this -> map [ $index ++] = array( 0 , $column [ 'name' ], $column [ 'native_type' ]);
$results = object(PDOStatement) {
queryString => 'SELECT
item_info.* AS item_info,
bunrui1.* AS bunrui1,
bunrui2.* AS bunrui2,
itemcode.* AS itemcode,
maker.mk_rate AS mk_rate,
maker.mk_rate5 AS mk_rate5,
maker.mk_name AS mk_name,
maker.mk_stocking_rate AS mk_stocking_rate,
maker.mk_search_hit AS mk_search_hit,
maker.mk_show_price AS mk_show_price,
maker.mk_rate_yahoo AS mk_rate_yahoo,
catalog.* AS catalog
FROM
item_info AS item_info
left JOIN bunrui2_info AS bunrui2 ON (item_info.i_category_code2 = bunrui2.b2_code)
left JOIN bunrui1_info AS bunrui1 ON (item_info.i_category_code1 = bunrui1.b1_code)
left JOIN itemcode_info AS itemcode ON (item_info.i_item_code = itemcode.ic_code)
left JOIN maker_info AS maker ON (item_info.i_maker_code = maker.mk_code)
left JOIN catalog_info AS catalog ON (item_info.i_catalog_code = catalog.cl_code)
WHERE i_identity = 103498 ORDER BY item_info.i_identity ASC LIMIT 1'
}
$numFields = (int) 155
$index = (int) 141
$j = (int) 140
$column = array(
'pgsql:oid' => (int) 700,
'pgsql:table_oid' => (int) 134940,
'name' => 'mk_rate',
'len' => (int) 4,
'precision' => (int) -1,
'pdo_type' => (int) 2
) Postgres::resultSet() - CORE/Cake/Model/Datasource/Database/Postgres.php, line 758
DboSource::fetchRow() - CORE/Cake/Model/Datasource/DboSource.php, line 632
DboSource::fetchAll() - CORE/Cake/Model/Datasource/DboSource.php, line 678
DboSource::query() - CORE/Cake/Model/Datasource/DboSource.php, line 609
Model::query() - CORE/Cake/Model/Model.php, line 3470
Item::getItemCalc() - APP/Model/Item.php, line 1409
pc_list_price_arr - /home/uniform1.com/htdocs/webroot/require/common_usual.php, line 2414
require_once - /home/common_pc_shops/htdocs/search_result.php, line 243
require_once - /home/common_pc_shops/htdocs/mod_rewrite.php, line 44
[main] - /home/m891.com/htdocs/mod_rewrite.php, line 3 Notice (8) : Undefined index: native_type [CORE/Cake/Model/Datasource/Database/Postgres.php , line 758 ]Code Context $this -> map [ $index ++] = array( $table , $name , $column [ 'native_type' ]);
} else {
$this -> map [ $index ++] = array( 0 , $column [ 'name' ], $column [ 'native_type' ]);
$results = object(PDOStatement) {
queryString => 'SELECT
item_info.* AS item_info,
bunrui1.* AS bunrui1,
bunrui2.* AS bunrui2,
itemcode.* AS itemcode,
maker.mk_rate AS mk_rate,
maker.mk_rate5 AS mk_rate5,
maker.mk_name AS mk_name,
maker.mk_stocking_rate AS mk_stocking_rate,
maker.mk_search_hit AS mk_search_hit,
maker.mk_show_price AS mk_show_price,
maker.mk_rate_yahoo AS mk_rate_yahoo,
catalog.* AS catalog
FROM
item_info AS item_info
left JOIN bunrui2_info AS bunrui2 ON (item_info.i_category_code2 = bunrui2.b2_code)
left JOIN bunrui1_info AS bunrui1 ON (item_info.i_category_code1 = bunrui1.b1_code)
left JOIN itemcode_info AS itemcode ON (item_info.i_item_code = itemcode.ic_code)
left JOIN maker_info AS maker ON (item_info.i_maker_code = maker.mk_code)
left JOIN catalog_info AS catalog ON (item_info.i_catalog_code = catalog.cl_code)
WHERE i_identity = 103498 ORDER BY item_info.i_identity ASC LIMIT 1'
}
$numFields = (int) 155
$index = (int) 142
$j = (int) 141
$column = array(
'pgsql:oid' => (int) 700,
'pgsql:table_oid' => (int) 134940,
'name' => 'mk_rate5',
'len' => (int) 4,
'precision' => (int) -1,
'pdo_type' => (int) 2
) Postgres::resultSet() - CORE/Cake/Model/Datasource/Database/Postgres.php, line 758
DboSource::fetchRow() - CORE/Cake/Model/Datasource/DboSource.php, line 632
DboSource::fetchAll() - CORE/Cake/Model/Datasource/DboSource.php, line 678
DboSource::query() - CORE/Cake/Model/Datasource/DboSource.php, line 609
Model::query() - CORE/Cake/Model/Model.php, line 3470
Item::getItemCalc() - APP/Model/Item.php, line 1409
pc_list_price_arr - /home/uniform1.com/htdocs/webroot/require/common_usual.php, line 2414
require_once - /home/common_pc_shops/htdocs/search_result.php, line 243
require_once - /home/common_pc_shops/htdocs/mod_rewrite.php, line 44
[main] - /home/m891.com/htdocs/mod_rewrite.php, line 3 Notice (8) : Undefined index: native_type [CORE/Cake/Model/Datasource/Database/Postgres.php , line 758 ]Code Context $this -> map [ $index ++] = array( $table , $name , $column [ 'native_type' ]);
} else {
$this -> map [ $index ++] = array( 0 , $column [ 'name' ], $column [ 'native_type' ]);
$results = object(PDOStatement) {
queryString => 'SELECT
item_info.* AS item_info,
bunrui1.* AS bunrui1,
bunrui2.* AS bunrui2,
itemcode.* AS itemcode,
maker.mk_rate AS mk_rate,
maker.mk_rate5 AS mk_rate5,
maker.mk_name AS mk_name,
maker.mk_stocking_rate AS mk_stocking_rate,
maker.mk_search_hit AS mk_search_hit,
maker.mk_show_price AS mk_show_price,
maker.mk_rate_yahoo AS mk_rate_yahoo,
catalog.* AS catalog
FROM
item_info AS item_info
left JOIN bunrui2_info AS bunrui2 ON (item_info.i_category_code2 = bunrui2.b2_code)
left JOIN bunrui1_info AS bunrui1 ON (item_info.i_category_code1 = bunrui1.b1_code)
left JOIN itemcode_info AS itemcode ON (item_info.i_item_code = itemcode.ic_code)
left JOIN maker_info AS maker ON (item_info.i_maker_code = maker.mk_code)
left JOIN catalog_info AS catalog ON (item_info.i_catalog_code = catalog.cl_code)
WHERE i_identity = 103498 ORDER BY item_info.i_identity ASC LIMIT 1'
}
$numFields = (int) 155
$index = (int) 144
$j = (int) 143
$column = array(
'pgsql:oid' => (int) 700,
'pgsql:table_oid' => (int) 134940,
'name' => 'mk_stocking_rate',
'len' => (int) 4,
'precision' => (int) -1,
'pdo_type' => (int) 2
) Postgres::resultSet() - CORE/Cake/Model/Datasource/Database/Postgres.php, line 758
DboSource::fetchRow() - CORE/Cake/Model/Datasource/DboSource.php, line 632
DboSource::fetchAll() - CORE/Cake/Model/Datasource/DboSource.php, line 678
DboSource::query() - CORE/Cake/Model/Datasource/DboSource.php, line 609
Model::query() - CORE/Cake/Model/Model.php, line 3470
Item::getItemCalc() - APP/Model/Item.php, line 1409
pc_list_price_arr - /home/uniform1.com/htdocs/webroot/require/common_usual.php, line 2414
require_once - /home/common_pc_shops/htdocs/search_result.php, line 243
require_once - /home/common_pc_shops/htdocs/mod_rewrite.php, line 44
[main] - /home/m891.com/htdocs/mod_rewrite.php, line 3 Notice (8) : Undefined index: native_type [CORE/Cake/Model/Datasource/Database/Postgres.php , line 758 ]Code Context $this -> map [ $index ++] = array( $table , $name , $column [ 'native_type' ]);
} else {
$this -> map [ $index ++] = array( 0 , $column [ 'name' ], $column [ 'native_type' ]);
$results = object(PDOStatement) {
queryString => 'SELECT
item_info.* AS item_info,
bunrui1.* AS bunrui1,
bunrui2.* AS bunrui2,
itemcode.* AS itemcode,
maker.mk_rate AS mk_rate,
maker.mk_rate5 AS mk_rate5,
maker.mk_name AS mk_name,
maker.mk_stocking_rate AS mk_stocking_rate,
maker.mk_search_hit AS mk_search_hit,
maker.mk_show_price AS mk_show_price,
maker.mk_rate_yahoo AS mk_rate_yahoo,
catalog.* AS catalog
FROM
item_info AS item_info
left JOIN bunrui2_info AS bunrui2 ON (item_info.i_category_code2 = bunrui2.b2_code)
left JOIN bunrui1_info AS bunrui1 ON (item_info.i_category_code1 = bunrui1.b1_code)
left JOIN itemcode_info AS itemcode ON (item_info.i_item_code = itemcode.ic_code)
left JOIN maker_info AS maker ON (item_info.i_maker_code = maker.mk_code)
left JOIN catalog_info AS catalog ON (item_info.i_catalog_code = catalog.cl_code)
WHERE i_identity = 103498 ORDER BY item_info.i_identity ASC LIMIT 1'
}
$numFields = (int) 155
$index = (int) 147
$j = (int) 146
$column = array(
'pgsql:oid' => (int) 700,
'pgsql:table_oid' => (int) 134940,
'name' => 'mk_rate_yahoo',
'len' => (int) 4,
'precision' => (int) -1,
'pdo_type' => (int) 2
) Postgres::resultSet() - CORE/Cake/Model/Datasource/Database/Postgres.php, line 758
DboSource::fetchRow() - CORE/Cake/Model/Datasource/DboSource.php, line 632
DboSource::fetchAll() - CORE/Cake/Model/Datasource/DboSource.php, line 678
DboSource::query() - CORE/Cake/Model/Datasource/DboSource.php, line 609
Model::query() - CORE/Cake/Model/Model.php, line 3470
Item::getItemCalc() - APP/Model/Item.php, line 1409
pc_list_price_arr - /home/uniform1.com/htdocs/webroot/require/common_usual.php, line 2414
require_once - /home/common_pc_shops/htdocs/search_result.php, line 243
require_once - /home/common_pc_shops/htdocs/mod_rewrite.php, line 44
[main] - /home/m891.com/htdocs/mod_rewrite.php, line 3 Notice (8) : compact() [function.compact ]: Undefined variable: subject [CORE/Cake/Utility/ObjectCollection.php , line 128 ]Code Context $result = null ;
foreach ( $list as $name ) {
$result = call_user_func_array (array( $this -> _loaded [ $name ], $callback ), compact ( 'subject' ) + $params );
$callback = 'afterRenderFile'
$params = array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/app/View/Layouts/default.ctp',
(int) 1 => '<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>
CakePHP: the rapid development php framework:
Errors </title>
<link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/><link rel="stylesheet" type="text/css" href="/css/cake.generic.css"/></head>
<body>
<div id="container">
<div id="header">
<h1><a href="http://cakephp.org">CakePHP: the rapid development php framework</a></h1>
</div>
<div id="content">
<h2>Database Error</h2>
<p class="error">
<strong>Error: </strong>
SQLSTATE[HY000]: General error: 7 no connection to the server</p>
<p class="notice">
<strong>SQL Query: </strong>
SELECT "setup_info"."s_identity" AS "setup_info__s_identity", "setup_info"."s_open" AS "setup_info__s_open", "setup_info"."s_send_price" AS "setup_info__s_send_price", "setup_info"."s_tax" AS "setup_info__s_tax", "setup_info"."s_notice_portable" AS "setup_info__s_notice_portable", "setup_info"."s_notice_sub1" AS "setup_info__s_notice_sub1", "setup_info"."s_notice_sub2" AS "setup_info__s_notice_sub2", "setup_info"."s_rate" AS "setup_info__s_rate", "setup_info"."s_rate5" AS "setup_info__s_rate5", "setup_info"."s_send_off" AS "setup_info__s_send_off", "setup_info"."s_basic_point_rate" AS "setup_info__s_basic_point_rate", "setup_info"."s_point_expiration" AS "setup_info__s_point_expiration" FROM "public"."setup_info" AS "setup_info" WHERE 1 = 1 LIMIT 1 </p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create app/View/Errors/pdo_error.ctp</p>
<h3>Stack Trace</h3>
<ul class="cake-stack-trace">
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/Model/Datasource/DboSource.php line 470</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">PDOStatement->execute()</a> <div id="file-excerpt-0" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $query </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_connection</span><span style="color: #007700">-></span><span style="color: #0000BB">prepare</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$prepareOptions</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">setFetchMode</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">FETCH_LAZY</span><span style="color: #007700">);</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$query</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$params</span><span style="color: #007700">)) {</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_results </span><span style="color: #007700">= </span><span style="color: #0000BB">$query</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Model/Datasource/DboSource.php line 436</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">DboSource->_execute()</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $options </span><span style="color: #007700">+= array(</span><span style="color: #DD0000">'log' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fullDebug</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $t </span><span style="color: #007700">= </span><span style="color: #0000BB">microtime</span><span style="color: #007700">(</span><span style="color: #0000BB">true</span><span style="color: #007700">);</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_result </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Model/Datasource/DboSource.php line 673</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">DboSource->execute()</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$cache </span><span style="color: #007700">&& (</span><span style="color: #0000BB">$cached </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getQueryCache</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$params</span><span style="color: #007700">)) !== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$cached</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, array(), </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/Model/Datasource/DboSource.php line 1184</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">DboSource->fetchAll()</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// Build SQL statement with the primary model, plus hasOne and belongsTo associations</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $query </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">buildAssociationQuery</span><span style="color: #007700">(</span><span style="color: #0000BB">$Model</span><span style="color: #007700">, </span><span style="color: #0000BB">$queryData</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $resultSet </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fetchAll</span><span style="color: #007700">(</span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$Model</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheQueries</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">unset(</span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Model/Model.php line 3038</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">DboSource->read()</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return array</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $results </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">()-></span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">resetAssociations</span><span style="color: #007700">();</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Model/Model.php line 3010</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Model->_readDataSource()</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-5" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">APP/Model/AppModel.php line 32</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Model->find()</a> <div id="file-excerpt-6" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #0000BB">$type </span><span style="color: #007700">= </span><span style="color: #DD0000">'first'</span><span style="color: #007700">, </span><span style="color: #0000BB">$query </span><span style="color: #007700">= [])</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $return </span><span style="color: #007700">= </span><span style="color: #0000BB">parent</span><span style="color: #007700">::</span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-6" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">APP/Model/Item.php line 19</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">AppModel->find()</a> <div id="file-excerpt-7" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/*掛率、消費税率取得*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $setup_info_data </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $setup_info </span><span style="color: #007700">= </span><span style="color: #0000BB">ClassRegistry</span><span style="color: #007700">::</span><span style="color: #0000BB">init</span><span style="color: #007700">(</span><span style="color: #DD0000">'setup_info'</span><span style="color: #007700">);</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $setup_info_data </span><span style="color: #007700">= </span><span style="color: #0000BB">$setup_info</span><span style="color: #007700">-></span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #DD0000">'first'</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $rs_setup_info </span><span style="color: #007700">= </span><span style="color: #0000BB">Hash</span><span style="color: #007700">::</span><span style="color: #0000BB">extract</span><span style="color: #007700">(</span><span style="color: #0000BB">$setup_info_data</span><span style="color: #007700">, </span><span style="color: #DD0000">'setup_info'</span><span style="color: #007700">);</span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Model/Item.php line 1380</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">Item->getSetupInfo()</a> <div id="file-excerpt-8" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $i_rate_y </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $i_stocking_rate </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $rs_setup_info </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $rs_setup_info </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getSetupInfo</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $item_tax </span><span style="color: #007700">= &</span><span style="color: #0000BB">$rs_setup_info</span><span style="color: #007700">[</span><span style="color: #DD0000">"s_tax"</span><span style="color: #007700">];</span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-9')">/home/uniform1.com/htdocs/webroot/require/common_usual.php line 2414</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">Item->getItemCalc()</a> <div id="file-excerpt-9" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> extract</span><span style="color: #007700">(</span><span style="color: #0000BB">$rs_item</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> App</span><span style="color: #007700">::</span><span style="color: #0000BB">uses</span><span style="color: #007700">(</span><span style="color: #DD0000">'Item'</span><span style="color: #007700">, </span><span style="color: #DD0000">'Model'</span><span style="color: #007700">); </span><span style="color: #FF8000">// userモデル呼び出し</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $item </span><span style="color: #007700">= new </span><span style="color: #0000BB">Item</span><span style="color: #007700">(); </span><span style="color: #FF8000">// itemモデルインスタンス作成タンス作成</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $ret </span><span style="color: #007700">= </span><span style="color: #0000BB">$item</span><span style="color: #007700">-></span><span style="color: #0000BB">getItemCalc</span><span style="color: #007700">(</span><span style="color: #0000BB">$i_identity</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $rs_calc_data </span><span style="color: #007700">= </span><span style="color: #0000BB">$item</span><span style="color: #007700">-></span><span style="color: #0000BB">data</span><span style="color: #007700">[</span><span style="color: #DD0000">'Item'</span><span style="color: #007700">];</span></span></code></pre></div> <div id="trace-args-9" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-10')">/home/common_pc_shops/htdocs/search_result.php line 243</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">pc_list_price_arr()</a> <div id="file-excerpt-10" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $rs_item </span><span style="color: #007700">= </span><span style="color: #0000BB">$rs</span><span style="color: #007700">[</span><span style="color: #0000BB">$i</span><span style="color: #007700">];</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $arr_price_list </span><span style="color: #007700">= </span><span style="color: #0000BB">pc_list_price_arr</span><span style="color: #007700">(</span><span style="color: #0000BB">$rs_item</span><span style="color: #007700">, </span><span style="color: #0000BB">$item_tax</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $basic_point_rate </span><span style="color: #007700">= !empty(</span><span style="color: #0000BB">$arr_price_list</span><span style="color: #007700">[</span><span style="color: #DD0000">'basic_point_rate'</span><span style="color: #007700">]) ? </span><span style="color: #0000BB">$arr_price_list</span><span style="color: #007700">[</span><span style="color: #DD0000">'basic_point_rate'</span><span style="color: #007700">] : </span><span style="color: #0000BB">1</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-10" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-11')">/home/common_pc_shops/htdocs/mod_rewrite.php line 44</a> → <a href="#" onclick="traceToggle(event, 'trace-args-11')">require_once(string)</a> <div id="file-excerpt-11" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $file_path </span><span style="color: #007700">= </span><span style="color: #0000BB">rtrim</span><span style="color: #007700">(</span><span style="color: #0000BB">$file_path</span><span style="color: #007700">, </span><span style="color: #DD0000">'?'</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">file_exists</span><span style="color: #007700">(</span><span style="color: #0000BB">$common_pc_shops_root </span><span style="color: #007700">. </span><span style="color: #0000BB">$file_path</span><span style="color: #007700">)) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">is_dir</span><span style="color: #007700">(</span><span style="color: #0000BB">$common_pc_shops_root </span><span style="color: #007700">. </span><span style="color: #0000BB">$file_path</span><span style="color: #007700">)) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">require_once(</span><span style="color: #0000BB">$common_pc_shops_root </span><span style="color: #007700">. </span><span style="color: #0000BB">$file_path</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">exit;</span></span></code></pre></div> <div id="trace-args-11" class="cake-code-dump" style="display: none;"><pre>'/home/common_pc_shops/htdocs/search_result.php'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">/home/m891.com/htdocs/mod_rewrite.php line 3</a> → <a href="#" onclick="traceToggle(event, 'trace-args-12')">require_once(string)</a> <div id="file-excerpt-12" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"><?php</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">require_once(</span><span style="color: #0000BB">$_SERVER</span><span style="color: #007700">[</span><span style="color: #DD0000">'DOCUMENT_ROOT'</span><span style="color: #007700">] . </span><span style="color: #DD0000">"/require/common.php"</span><span style="color: #007700">);</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">require_once(</span><span style="color: #0000BB">$common_pc_shops_root </span><span style="color: #007700">. </span><span style="color: #DD0000">"/mod_rewrite.php"</span><span style="color: #007700">);</span></span></code></span></pre></div> <div id="trace-args-12" class="cake-code-dump" style="display: none;"><pre>'/home/common_pc_shops/htdocs/mod_rewrite.php'</pre></div></li>
</ul>
<script type="text/javascript">
function traceToggle(event, id) {
var el = document.getElementById(id);
el.style.display = (el.style.display === 'block') ? 'none' : 'block';
event.preventDefault();
return false;
}
</script>
</div>
<div id="footer">
<a href="http://www.cakephp.org/" target="_blank" id="cake-powered"><img src="/img/cake.power.gif" alt="CakePHP: the rapid development php framework" border="0"/></a> <p>
CakePHP 2.9.3 </p>
</div>
</div>
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbb0cc-trace').style.display = (document.getElementById('cakeErr6642840dbb0cc-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: compact() [<a href='http://php.net/function.compact'>function.compact</a>]: Undefined variable: subject [<b>CORE/Cake/Utility/ObjectCollection.php</b>, line <b>128</b>]<div id="cakeErr6642840dbb0cc-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbb0cc-code').style.display = (document.getElementById('cakeErr6642840dbb0cc-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbb0cc-context').style.display = (document.getElementById('cakeErr6642840dbb0cc-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6642840dbb0cc-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$list </span><span style="color: #007700">as </span><span style="color: #0000BB">$name</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(array(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_loaded</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">], </span><span style="color: #0000BB">$callback</span><span style="color: #007700">), </span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'subject'</span><span style="color: #007700">) + </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span></pre><pre id="cakeErr6642840dbb0cc-context" class="cake-context" style="display: none;">$callback = 'beforeRenderFile'
$params = array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp'
)
$options = array(
'break' => false,
'breakOn' => false,
'collectReturn' => false,
'modParams' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp'
)
result => null
omitSubject => true
[protected] _name => 'View.beforeRenderFile'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Flash'
)
$result = null
$name = 'Html'</pre><pre class="stack-trace">compact - [internal], line ??
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - CORE/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
View::_render() - CORE/Cake/View/View.php, line 932
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
include - APP/View/Layouts/default.ctp, line 61
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::renderLayout() - CORE/Cake/View/View.php, line 546
View::render() - CORE/Cake/View/View.php, line 481
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 281
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127
[main] - [internal], line ??</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbb621-trace').style.display = (document.getElementById('cakeErr6642840dbb621-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: compact() [<a href='http://php.net/function.compact'>function.compact</a>]: Undefined variable: subject [<b>CORE/Cake/Utility/ObjectCollection.php</b>, line <b>128</b>]<div id="cakeErr6642840dbb621-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbb621-code').style.display = (document.getElementById('cakeErr6642840dbb621-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbb621-context').style.display = (document.getElementById('cakeErr6642840dbb621-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6642840dbb621-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$list </span><span style="color: #007700">as </span><span style="color: #0000BB">$name</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(array(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_loaded</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">], </span><span style="color: #0000BB">$callback</span><span style="color: #007700">), </span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'subject'</span><span style="color: #007700">) + </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span></pre><pre id="cakeErr6642840dbb621-context" class="cake-context" style="display: none;">$callback = 'beforeRenderFile'
$params = array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp'
)
$options = array(
'break' => false,
'breakOn' => false,
'collectReturn' => false,
'modParams' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp'
)
result => null
omitSubject => true
[protected] _name => 'View.beforeRenderFile'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Flash'
)
$result = null
$name = 'Flash'</pre><pre class="stack-trace">compact - [internal], line ??
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - CORE/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
View::_render() - CORE/Cake/View/View.php, line 932
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
include - APP/View/Layouts/default.ctp, line 61
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::renderLayout() - CORE/Cake/View/View.php, line 546
View::render() - CORE/Cake/View/View.php, line 481
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 281
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127
[main] - [internal], line ??</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbbf57-trace').style.display = (document.getElementById('cakeErr6642840dbbf57-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: compact() [<a href='http://php.net/function.compact'>function.compact</a>]: Undefined variable: subject [<b>CORE/Cake/Utility/ObjectCollection.php</b>, line <b>128</b>]<div id="cakeErr6642840dbbf57-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbbf57-code').style.display = (document.getElementById('cakeErr6642840dbbf57-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbbf57-context').style.display = (document.getElementById('cakeErr6642840dbbf57-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6642840dbbf57-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$list </span><span style="color: #007700">as </span><span style="color: #0000BB">$name</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(array(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_loaded</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">], </span><span style="color: #0000BB">$callback</span><span style="color: #007700">), </span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'subject'</span><span style="color: #007700">) + </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span></pre><pre id="cakeErr6642840dbbf57-context" class="cake-context" style="display: none;">$callback = 'afterRenderFile'
$params = array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp',
(int) 1 => '<table class="cake-sql-log" id="cakeSqlLog_17156352136642840dbbb357_94485005" summary="Cake SQL Log" cellspacing="0"><caption>(default) 10 queries took 460 ms</caption> <thead>
<tr><th>Nr</th><th>Query</th><th>Error</th><th>Affected</th><th>Num. rows</th><th>Took (ms)</th></tr>
</thead>
<tbody>
<tr><td>1</td><td>
SELECT
item_info.* AS item_info,
bunrui1.* AS bunrui1,
bunrui2.* AS bunrui2,
itemcode.* AS itemcode,
maker.mk_rate AS mk_rate,
maker.mk_rate5 AS mk_rate5,
maker.mk_name AS mk_name,
maker.mk_stocking_rate AS mk_stocking_rate,
maker.mk_search_hit AS mk_search_hit,
maker.mk_show_price AS mk_show_price,
maker.mk_rate_yahoo AS mk_rate_yahoo,
catalog.* AS catalog
FROM
item_info AS item_info
left JOIN bunrui2_info AS bunrui2 ON (item_info.i_category_code2 = bunrui2.b2_code)
left JOIN bunrui1_info AS bunrui1 ON (item_info.i_category_code1 = bunrui1.b1_code)
left JOIN itemcode_info AS itemcode ON (item_info.i_item_code = itemcode.ic_code)
left JOIN maker_info AS maker ON (item_info.i_maker_code = maker.mk_code)
left JOIN catalog_info AS catalog ON (item_info.i_catalog_code = catalog.cl_code)
WHERE i_identity = 103498 ORDER BY item_info.i_identity ASC LIMIT 1
</td><td></td><td style="text-align: right">1</td><td style="text-align: right">1</td><td style="text-align: right">8</td></tr>
</tbody></table>
'
)
$options = array(
'modParams' => (int) 1,
'break' => false,
'breakOn' => false,
'collectReturn' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp',
(int) 1 => '<table class="cake-sql-log" id="cakeSqlLog_17156352136642840dbbb357_94485005" summary="Cake SQL Log" cellspacing="0"><caption>(default) 10 queries took 460 ms</caption> <thead>
<tr><th>Nr</th><th>Query</th><th>Error</th><th>Affected</th><th>Num. rows</th><th>Took (ms)</th></tr>
</thead>
<tbody>
<tr><td>1</td><td>
SELECT
item_info.* AS item_info,
bunrui1.* AS bunrui1,
bunrui2.* AS bunrui2,
itemcode.* AS itemcode,
maker.mk_rate AS mk_rate,
maker.mk_rate5 AS mk_rate5,
maker.mk_name AS mk_name,
maker.mk_stocking_rate AS mk_stocking_rate,
maker.mk_search_hit AS mk_search_hit,
maker.mk_show_price AS mk_show_price,
maker.mk_rate_yahoo AS mk_rate_yahoo,
catalog.* AS catalog
FROM
item_info AS item_info
left JOIN bunrui2_info AS bunrui2 ON (item_info.i_category_code2 = bunrui2.b2_code)
left JOIN bunrui1_info AS bunrui1 ON (item_info.i_category_code1 = bunrui1.b1_code)
left JOIN itemcode_info AS itemcode ON (item_info.i_item_code = itemcode.ic_code)
left JOIN maker_info AS maker ON (item_info.i_maker_code = maker.mk_code)
left JOIN catalog_info AS catalog ON (item_info.i_catalog_code = catalog.cl_code)
WHERE i_identity = 103498 ORDER BY item_info.i_identity ASC LIMIT 1
</td><td></td><td style="text-align: right">1</td><td style="text-align: right">1</td><td style="text-align: right">8</td></tr>
</tbody></table>
'
)
result => null
modParams => (int) 1
omitSubject => true
[protected] _name => 'View.afterRenderFile'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Flash'
)
$result = null
$name = 'Html'</pre><pre class="stack-trace">compact - [internal], line ??
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - CORE/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
View::_render() - CORE/Cake/View/View.php, line 938
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
include - APP/View/Layouts/default.ctp, line 61
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::renderLayout() - CORE/Cake/View/View.php, line 546
View::render() - CORE/Cake/View/View.php, line 481
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 281
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127
[main] - [internal], line ??</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbc502-trace').style.display = (document.getElementById('cakeErr6642840dbc502-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: compact() [<a href='http://php.net/function.compact'>function.compact</a>]: Undefined variable: subject [<b>CORE/Cake/Utility/ObjectCollection.php</b>, line <b>128</b>]<div id="cakeErr6642840dbc502-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbc502-code').style.display = (document.getElementById('cakeErr6642840dbc502-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbc502-context').style.display = (document.getElementById('cakeErr6642840dbc502-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6642840dbc502-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$list </span><span style="color: #007700">as </span><span style="color: #0000BB">$name</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(array(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_loaded</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">], </span><span style="color: #0000BB">$callback</span><span style="color: #007700">), </span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'subject'</span><span style="color: #007700">) + </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span></pre><pre id="cakeErr6642840dbc502-context" class="cake-context" style="display: none;">$callback = 'afterRenderFile'
$params = array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp',
(int) 1 => '<table class="cake-sql-log" id="cakeSqlLog_17156352136642840dbbb357_94485005" summary="Cake SQL Log" cellspacing="0"><caption>(default) 10 queries took 460 ms</caption> <thead>
<tr><th>Nr</th><th>Query</th><th>Error</th><th>Affected</th><th>Num. rows</th><th>Took (ms)</th></tr>
</thead>
<tbody>
<tr><td>1</td><td>
SELECT
item_info.* AS item_info,
bunrui1.* AS bunrui1,
bunrui2.* AS bunrui2,
itemcode.* AS itemcode,
maker.mk_rate AS mk_rate,
maker.mk_rate5 AS mk_rate5,
maker.mk_name AS mk_name,
maker.mk_stocking_rate AS mk_stocking_rate,
maker.mk_search_hit AS mk_search_hit,
maker.mk_show_price AS mk_show_price,
maker.mk_rate_yahoo AS mk_rate_yahoo,
catalog.* AS catalog
FROM
item_info AS item_info
left JOIN bunrui2_info AS bunrui2 ON (item_info.i_category_code2 = bunrui2.b2_code)
left JOIN bunrui1_info AS bunrui1 ON (item_info.i_category_code1 = bunrui1.b1_code)
left JOIN itemcode_info AS itemcode ON (item_info.i_item_code = itemcode.ic_code)
left JOIN maker_info AS maker ON (item_info.i_maker_code = maker.mk_code)
left JOIN catalog_info AS catalog ON (item_info.i_catalog_code = catalog.cl_code)
WHERE i_identity = 103498 ORDER BY item_info.i_identity ASC LIMIT 1
</td><td></td><td style="text-align: right">1</td><td style="text-align: right">1</td><td style="text-align: right">8</td></tr>
</tbody></table>
'
)
$options = array(
'modParams' => (int) 1,
'break' => false,
'breakOn' => false,
'collectReturn' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp',
(int) 1 => '<table class="cake-sql-log" id="cakeSqlLog_17156352136642840dbbb357_94485005" summary="Cake SQL Log" cellspacing="0"><caption>(default) 10 queries took 460 ms</caption> <thead>
<tr><th>Nr</th><th>Query</th><th>Error</th><th>Affected</th><th>Num. rows</th><th>Took (ms)</th></tr>
</thead>
<tbody>
<tr><td>1</td><td>
SELECT
item_info.* AS item_info,
bunrui1.* AS bunrui1,
bunrui2.* AS bunrui2,
itemcode.* AS itemcode,
maker.mk_rate AS mk_rate,
maker.mk_rate5 AS mk_rate5,
maker.mk_name AS mk_name,
maker.mk_stocking_rate AS mk_stocking_rate,
maker.mk_search_hit AS mk_search_hit,
maker.mk_show_price AS mk_show_price,
maker.mk_rate_yahoo AS mk_rate_yahoo,
catalog.* AS catalog
FROM
item_info AS item_info
left JOIN bunrui2_info AS bunrui2 ON (item_info.i_category_code2 = bunrui2.b2_code)
left JOIN bunrui1_info AS bunrui1 ON (item_info.i_category_code1 = bunrui1.b1_code)
left JOIN itemcode_info AS itemcode ON (item_info.i_item_code = itemcode.ic_code)
left JOIN maker_info AS maker ON (item_info.i_maker_code = maker.mk_code)
left JOIN catalog_info AS catalog ON (item_info.i_catalog_code = catalog.cl_code)
WHERE i_identity = 103498 ORDER BY item_info.i_identity ASC LIMIT 1
</td><td></td><td style="text-align: right">1</td><td style="text-align: right">1</td><td style="text-align: right">8</td></tr>
</tbody></table>
'
)
result => null
modParams => (int) 1
omitSubject => true
[protected] _name => 'View.afterRenderFile'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Flash'
)
$result = null
$name = 'Flash'</pre><pre class="stack-trace">compact - [internal], line ??
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - CORE/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
View::_render() - CORE/Cake/View/View.php, line 938
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
include - APP/View/Layouts/default.ctp, line 61
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::renderLayout() - CORE/Cake/View/View.php, line 546
View::render() - CORE/Cake/View/View.php, line 481
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 281
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127
[main] - [internal], line ??</pre></div></pre><table class="cake-sql-log" id="cakeSqlLog_17156352136642840dbbb357_94485005" summary="Cake SQL Log" cellspacing="0"><caption>(default) 10 queries took 460 ms</caption> <thead>
<tr><th>Nr</th><th>Query</th><th>Error</th><th>Affected</th><th>Num. rows</th><th>Took (ms)</th></tr>
</thead>
<tbody>
<tr><td>1</td><td>
SELECT
item_info.* AS item_info,
bunrui1.* AS bunrui1,
bunrui2.* AS bunrui2,
itemcode.* AS itemcode,
maker.mk_rate AS mk_rate,
maker.mk_rate5 AS mk_rate5,
maker.mk_name AS mk_name,
maker.mk_stocking_rate AS mk_stocking_rate,
maker.mk_search_hit AS mk_search_hit,
maker.mk_show_price AS mk_show_price,
maker.mk_rate_yahoo AS mk_rate_yahoo,
catalog.* AS catalog
FROM
item_info AS item_info
left JOIN bunrui2_info AS bunrui2 ON (item_info.i_category_code2 = bunrui2.b2_code)
left JOIN bunrui1_info AS bunrui1 ON (item_info.i_category_code1 = bunrui1.b1_code)
left JOIN itemcode_info AS itemcode ON (item_info.i_item_code = itemcode.ic_code)
left JOIN maker_info AS maker ON (item_info.i_maker_code = maker.mk_code)
left JOIN catalog_info AS catalog ON (item_info.i_catalog_code = catalog.cl_code)
WHERE i_identity = 103498 ORDER BY item_info.i_identity ASC LIMIT 1
</td><td></td><td style="text-align: right">1</td><td style="text-align: right">1</td><td style="text-align: right">8</td></tr>
</tbody></table>
</body>
</html>
'
)
$options = array(
'modParams' => (int) 1,
'break' => false,
'breakOn' => false,
'collectReturn' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/app/View/Layouts/default.ctp',
(int) 1 => '<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>
CakePHP: the rapid development php framework:
Errors </title>
<link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/><link rel="stylesheet" type="text/css" href="/css/cake.generic.css"/></head>
<body>
<div id="container">
<div id="header">
<h1><a href="http://cakephp.org">CakePHP: the rapid development php framework</a></h1>
</div>
<div id="content">
<h2>Database Error</h2>
<p class="error">
<strong>Error: </strong>
SQLSTATE[HY000]: General error: 7 no connection to the server</p>
<p class="notice">
<strong>SQL Query: </strong>
SELECT "setup_info"."s_identity" AS "setup_info__s_identity", "setup_info"."s_open" AS "setup_info__s_open", "setup_info"."s_send_price" AS "setup_info__s_send_price", "setup_info"."s_tax" AS "setup_info__s_tax", "setup_info"."s_notice_portable" AS "setup_info__s_notice_portable", "setup_info"."s_notice_sub1" AS "setup_info__s_notice_sub1", "setup_info"."s_notice_sub2" AS "setup_info__s_notice_sub2", "setup_info"."s_rate" AS "setup_info__s_rate", "setup_info"."s_rate5" AS "setup_info__s_rate5", "setup_info"."s_send_off" AS "setup_info__s_send_off", "setup_info"."s_basic_point_rate" AS "setup_info__s_basic_point_rate", "setup_info"."s_point_expiration" AS "setup_info__s_point_expiration" FROM "public"."setup_info" AS "setup_info" WHERE 1 = 1 LIMIT 1 </p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create app/View/Errors/pdo_error.ctp</p>
<h3>Stack Trace</h3>
<ul class="cake-stack-trace">
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/Model/Datasource/DboSource.php line 470</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">PDOStatement->execute()</a> <div id="file-excerpt-0" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $query </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_connection</span><span style="color: #007700">-></span><span style="color: #0000BB">prepare</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$prepareOptions</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">setFetchMode</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">FETCH_LAZY</span><span style="color: #007700">);</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$query</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$params</span><span style="color: #007700">)) {</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_results </span><span style="color: #007700">= </span><span style="color: #0000BB">$query</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Model/Datasource/DboSource.php line 436</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">DboSource->_execute()</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $options </span><span style="color: #007700">+= array(</span><span style="color: #DD0000">'log' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fullDebug</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $t </span><span style="color: #007700">= </span><span style="color: #0000BB">microtime</span><span style="color: #007700">(</span><span style="color: #0000BB">true</span><span style="color: #007700">);</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_result </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Model/Datasource/DboSource.php line 673</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">DboSource->execute()</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$cache </span><span style="color: #007700">&& (</span><span style="color: #0000BB">$cached </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getQueryCache</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$params</span><span style="color: #007700">)) !== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$cached</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, array(), </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/Model/Datasource/DboSource.php line 1184</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">DboSource->fetchAll()</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// Build SQL statement with the primary model, plus hasOne and belongsTo associations</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $query </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">buildAssociationQuery</span><span style="color: #007700">(</span><span style="color: #0000BB">$Model</span><span style="color: #007700">, </span><span style="color: #0000BB">$queryData</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $resultSet </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fetchAll</span><span style="color: #007700">(</span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$Model</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheQueries</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">unset(</span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Model/Model.php line 3038</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">DboSource->read()</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return array</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $results </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">()-></span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">resetAssociations</span><span style="color: #007700">();</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Model/Model.php line 3010</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Model->_readDataSource()</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-5" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">APP/Model/AppModel.php line 32</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Model->find()</a> <div id="file-excerpt-6" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #0000BB">$type </span><span style="color: #007700">= </span><span style="color: #DD0000">'first'</span><span style="color: #007700">, </span><span style="color: #0000BB">$query </span><span style="color: #007700">= [])</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $return </span><span style="color: #007700">= </span><span style="color: #0000BB">parent</span><span style="color: #007700">::</span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-6" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">APP/Model/Item.php line 19</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">AppModel->find()</a> <div id="file-excerpt-7" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/*掛率、消費税率取得*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $setup_info_data </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $setup_info </span><span style="color: #007700">= </span><span style="color: #0000BB">ClassRegistry</span><span style="color: #007700">::</span><span style="color: #0000BB">init</span><span style="color: #007700">(</span><span style="color: #DD0000">'setup_info'</span><span style="color: #007700">);</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $setup_info_data </span><span style="color: #007700">= </span><span style="color: #0000BB">$setup_info</span><span style="color: #007700">-></span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #DD0000">'first'</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $rs_setup_info </span><span style="color: #007700">= </span><span style="color: #0000BB">Hash</span><span style="color: #007700">::</span><span style="color: #0000BB">extract</span><span style="color: #007700">(</span><span style="color: #0000BB">$setup_info_data</span><span style="color: #007700">, </span><span style="color: #DD0000">'setup_info'</span><span style="color: #007700">);</span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Model/Item.php line 1380</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">Item->getSetupInfo()</a> <div id="file-excerpt-8" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $i_rate_y </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $i_stocking_rate </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $rs_setup_info </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $rs_setup_info </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getSetupInfo</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $item_tax </span><span style="color: #007700">= &</span><span style="color: #0000BB">$rs_setup_info</span><span style="color: #007700">[</span><span style="color: #DD0000">"s_tax"</span><span style="color: #007700">];</span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-9')">/home/uniform1.com/htdocs/webroot/require/common_usual.php line 2414</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">Item->getItemCalc()</a> <div id="file-excerpt-9" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> extract</span><span style="color: #007700">(</span><span style="color: #0000BB">$rs_item</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> App</span><span style="color: #007700">::</span><span style="color: #0000BB">uses</span><span style="color: #007700">(</span><span style="color: #DD0000">'Item'</span><span style="color: #007700">, </span><span style="color: #DD0000">'Model'</span><span style="color: #007700">); </span><span style="color: #FF8000">// userモデル呼び出し</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $item </span><span style="color: #007700">= new </span><span style="color: #0000BB">Item</span><span style="color: #007700">(); </span><span style="color: #FF8000">// itemモデルインスタンス作成タンス作成</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $ret </span><span style="color: #007700">= </span><span style="color: #0000BB">$item</span><span style="color: #007700">-></span><span style="color: #0000BB">getItemCalc</span><span style="color: #007700">(</span><span style="color: #0000BB">$i_identity</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $rs_calc_data </span><span style="color: #007700">= </span><span style="color: #0000BB">$item</span><span style="color: #007700">-></span><span style="color: #0000BB">data</span><span style="color: #007700">[</span><span style="color: #DD0000">'Item'</span><span style="color: #007700">];</span></span></code></pre></div> <div id="trace-args-9" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-10')">/home/common_pc_shops/htdocs/search_result.php line 243</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">pc_list_price_arr()</a> <div id="file-excerpt-10" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $rs_item </span><span style="color: #007700">= </span><span style="color: #0000BB">$rs</span><span style="color: #007700">[</span><span style="color: #0000BB">$i</span><span style="color: #007700">];</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $arr_price_list </span><span style="color: #007700">= </span><span style="color: #0000BB">pc_list_price_arr</span><span style="color: #007700">(</span><span style="color: #0000BB">$rs_item</span><span style="color: #007700">, </span><span style="color: #0000BB">$item_tax</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $basic_point_rate </span><span style="color: #007700">= !empty(</span><span style="color: #0000BB">$arr_price_list</span><span style="color: #007700">[</span><span style="color: #DD0000">'basic_point_rate'</span><span style="color: #007700">]) ? </span><span style="color: #0000BB">$arr_price_list</span><span style="color: #007700">[</span><span style="color: #DD0000">'basic_point_rate'</span><span style="color: #007700">] : </span><span style="color: #0000BB">1</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-10" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-11')">/home/common_pc_shops/htdocs/mod_rewrite.php line 44</a> → <a href="#" onclick="traceToggle(event, 'trace-args-11')">require_once(string)</a> <div id="file-excerpt-11" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $file_path </span><span style="color: #007700">= </span><span style="color: #0000BB">rtrim</span><span style="color: #007700">(</span><span style="color: #0000BB">$file_path</span><span style="color: #007700">, </span><span style="color: #DD0000">'?'</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">file_exists</span><span style="color: #007700">(</span><span style="color: #0000BB">$common_pc_shops_root </span><span style="color: #007700">. </span><span style="color: #0000BB">$file_path</span><span style="color: #007700">)) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">is_dir</span><span style="color: #007700">(</span><span style="color: #0000BB">$common_pc_shops_root </span><span style="color: #007700">. </span><span style="color: #0000BB">$file_path</span><span style="color: #007700">)) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">require_once(</span><span style="color: #0000BB">$common_pc_shops_root </span><span style="color: #007700">. </span><span style="color: #0000BB">$file_path</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">exit;</span></span></code></pre></div> <div id="trace-args-11" class="cake-code-dump" style="display: none;"><pre>'/home/common_pc_shops/htdocs/search_result.php'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">/home/m891.com/htdocs/mod_rewrite.php line 3</a> → <a href="#" onclick="traceToggle(event, 'trace-args-12')">require_once(string)</a> <div id="file-excerpt-12" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"><?php</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">require_once(</span><span style="color: #0000BB">$_SERVER</span><span style="color: #007700">[</span><span style="color: #DD0000">'DOCUMENT_ROOT'</span><span style="color: #007700">] . </span><span style="color: #DD0000">"/require/common.php"</span><span style="color: #007700">);</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">require_once(</span><span style="color: #0000BB">$common_pc_shops_root </span><span style="color: #007700">. </span><span style="color: #DD0000">"/mod_rewrite.php"</span><span style="color: #007700">);</span></span></code></span></pre></div> <div id="trace-args-12" class="cake-code-dump" style="display: none;"><pre>'/home/common_pc_shops/htdocs/mod_rewrite.php'</pre></div></li>
</ul>
<script type="text/javascript">
function traceToggle(event, id) {
var el = document.getElementById(id);
el.style.display = (el.style.display === 'block') ? 'none' : 'block';
event.preventDefault();
return false;
}
</script>
</div>
<div id="footer">
<a href="http://www.cakephp.org/" target="_blank" id="cake-powered"><img src="/img/cake.power.gif" alt="CakePHP: the rapid development php framework" border="0"/></a> <p>
CakePHP 2.9.3 </p>
</div>
</div>
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbb0cc-trace').style.display = (document.getElementById('cakeErr6642840dbb0cc-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: compact() [<a href='http://php.net/function.compact'>function.compact</a>]: Undefined variable: subject [<b>CORE/Cake/Utility/ObjectCollection.php</b>, line <b>128</b>]<div id="cakeErr6642840dbb0cc-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbb0cc-code').style.display = (document.getElementById('cakeErr6642840dbb0cc-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbb0cc-context').style.display = (document.getElementById('cakeErr6642840dbb0cc-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6642840dbb0cc-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$list </span><span style="color: #007700">as </span><span style="color: #0000BB">$name</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(array(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_loaded</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">], </span><span style="color: #0000BB">$callback</span><span style="color: #007700">), </span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'subject'</span><span style="color: #007700">) + </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span></pre><pre id="cakeErr6642840dbb0cc-context" class="cake-context" style="display: none;">$callback = 'beforeRenderFile'
$params = array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp'
)
$options = array(
'break' => false,
'breakOn' => false,
'collectReturn' => false,
'modParams' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp'
)
result => null
omitSubject => true
[protected] _name => 'View.beforeRenderFile'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Flash'
)
$result = null
$name = 'Html'</pre><pre class="stack-trace">compact - [internal], line ??
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - CORE/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
View::_render() - CORE/Cake/View/View.php, line 932
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
include - APP/View/Layouts/default.ctp, line 61
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::renderLayout() - CORE/Cake/View/View.php, line 546
View::render() - CORE/Cake/View/View.php, line 481
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 281
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127
[main] - [internal], line ??</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbb621-trace').style.display = (document.getElementById('cakeErr6642840dbb621-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: compact() [<a href='http://php.net/function.compact'>function.compact</a>]: Undefined variable: subject [<b>CORE/Cake/Utility/ObjectCollection.php</b>, line <b>128</b>]<div id="cakeErr6642840dbb621-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbb621-code').style.display = (document.getElementById('cakeErr6642840dbb621-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbb621-context').style.display = (document.getElementById('cakeErr6642840dbb621-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6642840dbb621-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$list </span><span style="color: #007700">as </span><span style="color: #0000BB">$name</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(array(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_loaded</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">], </span><span style="color: #0000BB">$callback</span><span style="color: #007700">), </span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'subject'</span><span style="color: #007700">) + </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span></pre><pre id="cakeErr6642840dbb621-context" class="cake-context" style="display: none;">$callback = 'beforeRenderFile'
$params = array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp'
)
$options = array(
'break' => false,
'breakOn' => false,
'collectReturn' => false,
'modParams' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp'
)
result => null
omitSubject => true
[protected] _name => 'View.beforeRenderFile'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Flash'
)
$result = null
$name = 'Flash'</pre><pre class="stack-trace">compact - [internal], line ??
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - CORE/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
View::_render() - CORE/Cake/View/View.php, line 932
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
include - APP/View/Layouts/default.ctp, line 61
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::renderLayout() - CORE/Cake/View/View.php, line 546
View::render() - CORE/Cake/View/View.php, line 481
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 281
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127
[main] - [internal], line ??</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbbf57-trace').style.display = (document.getElementById('cakeErr6642840dbbf57-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: compact() [<a href='http://php.net/function.compact'>function.compact</a>]: Undefined variable: subject [<b>CORE/Cake/Utility/ObjectCollection.php</b>, line <b>128</b>]<div id="cakeErr6642840dbbf57-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbbf57-code').style.display = (document.getElementById('cakeErr6642840dbbf57-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbbf57-context').style.display = (document.getElementById('cakeErr6642840dbbf57-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6642840dbbf57-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$list </span><span style="color: #007700">as </span><span style="color: #0000BB">$name</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(array(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_loaded</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">], </span><span style="color: #0000BB">$callback</span><span style="color: #007700">), </span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'subject'</span><span style="color: #007700">) + </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span></pre><pre id="cakeErr6642840dbbf57-context" class="cake-context" style="display: none;">$callback = 'afterRenderFile'
$params = array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp',
(int) 1 => '<table class="cake-sql-log" id="cakeSqlLog_17156352136642840dbbb357_94485005" summary="Cake SQL Log" cellspacing="0"><caption>(default) 10 queries took 460 ms</caption> <thead>
<tr><th>Nr</th><th>Query</th><th>Error</th><th>Affected</th><th>Num. rows</th><th>Took (ms)</th></tr>
</thead>
<tbody>
<tr><td>1</td><td>
SELECT
item_info.* AS item_info,
bunrui1.* AS bunrui1,
bunrui2.* AS bunrui2,
itemcode.* AS itemcode,
maker.mk_rate AS mk_rate,
maker.mk_rate5 AS mk_rate5,
maker.mk_name AS mk_name,
maker.mk_stocking_rate AS mk_stocking_rate,
maker.mk_search_hit AS mk_search_hit,
maker.mk_show_price AS mk_show_price,
maker.mk_rate_yahoo AS mk_rate_yahoo,
catalog.* AS catalog
FROM
item_info AS item_info
left JOIN bunrui2_info AS bunrui2 ON (item_info.i_category_code2 = bunrui2.b2_code)
left JOIN bunrui1_info AS bunrui1 ON (item_info.i_category_code1 = bunrui1.b1_code)
left JOIN itemcode_info AS itemcode ON (item_info.i_item_code = itemcode.ic_code)
left JOIN maker_info AS maker ON (item_info.i_maker_code = maker.mk_code)
left JOIN catalog_info AS catalog ON (item_info.i_catalog_code = catalog.cl_code)
WHERE i_identity = 103498 ORDER BY item_info.i_identity ASC LIMIT 1
</td><td></td><td style="text-align: right">1</td><td style="text-align: right">1</td><td style="text-align: right">8</td></tr>
</tbody></table>
'
)
$options = array(
'modParams' => (int) 1,
'break' => false,
'breakOn' => false,
'collectReturn' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp',
(int) 1 => '<table class="cake-sql-log" id="cakeSqlLog_17156352136642840dbbb357_94485005" summary="Cake SQL Log" cellspacing="0"><caption>(default) 10 queries took 460 ms</caption> <thead>
<tr><th>Nr</th><th>Query</th><th>Error</th><th>Affected</th><th>Num. rows</th><th>Took (ms)</th></tr>
</thead>
<tbody>
<tr><td>1</td><td>
SELECT
item_info.* AS item_info,
bunrui1.* AS bunrui1,
bunrui2.* AS bunrui2,
itemcode.* AS itemcode,
maker.mk_rate AS mk_rate,
maker.mk_rate5 AS mk_rate5,
maker.mk_name AS mk_name,
maker.mk_stocking_rate AS mk_stocking_rate,
maker.mk_search_hit AS mk_search_hit,
maker.mk_show_price AS mk_show_price,
maker.mk_rate_yahoo AS mk_rate_yahoo,
catalog.* AS catalog
FROM
item_info AS item_info
left JOIN bunrui2_info AS bunrui2 ON (item_info.i_category_code2 = bunrui2.b2_code)
left JOIN bunrui1_info AS bunrui1 ON (item_info.i_category_code1 = bunrui1.b1_code)
left JOIN itemcode_info AS itemcode ON (item_info.i_item_code = itemcode.ic_code)
left JOIN maker_info AS maker ON (item_info.i_maker_code = maker.mk_code)
left JOIN catalog_info AS catalog ON (item_info.i_catalog_code = catalog.cl_code)
WHERE i_identity = 103498 ORDER BY item_info.i_identity ASC LIMIT 1
</td><td></td><td style="text-align: right">1</td><td style="text-align: right">1</td><td style="text-align: right">8</td></tr>
</tbody></table>
'
)
result => null
modParams => (int) 1
omitSubject => true
[protected] _name => 'View.afterRenderFile'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Flash'
)
$result = null
$name = 'Html'</pre><pre class="stack-trace">compact - [internal], line ??
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - CORE/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
View::_render() - CORE/Cake/View/View.php, line 938
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
include - APP/View/Layouts/default.ctp, line 61
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::renderLayout() - CORE/Cake/View/View.php, line 546
View::render() - CORE/Cake/View/View.php, line 481
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 281
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127
[main] - [internal], line ??</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbc502-trace').style.display = (document.getElementById('cakeErr6642840dbc502-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: compact() [<a href='http://php.net/function.compact'>function.compact</a>]: Undefined variable: subject [<b>CORE/Cake/Utility/ObjectCollection.php</b>, line <b>128</b>]<div id="cakeErr6642840dbc502-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbc502-code').style.display = (document.getElementById('cakeErr6642840dbc502-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbc502-context').style.display = (document.getElementById('cakeErr6642840dbc502-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6642840dbc502-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$list </span><span style="color: #007700">as </span><span style="color: #0000BB">$name</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(array(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_loaded</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">], </span><span style="color: #0000BB">$callback</span><span style="color: #007700">), </span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'subject'</span><span style="color: #007700">) + </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span></pre><pre id="cakeErr6642840dbc502-context" class="cake-context" style="display: none;">$callback = 'afterRenderFile'
$params = array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp',
(int) 1 => '<table class="cake-sql-log" id="cakeSqlLog_17156352136642840dbbb357_94485005" summary="Cake SQL Log" cellspacing="0"><caption>(default) 10 queries took 460 ms</caption> <thead>
<tr><th>Nr</th><th>Query</th><th>Error</th><th>Affected</th><th>Num. rows</th><th>Took (ms)</th></tr>
</thead>
<tbody>
<tr><td>1</td><td>
SELECT
item_info.* AS item_info,
bunrui1.* AS bunrui1,
bunrui2.* AS bunrui2,
itemcode.* AS itemcode,
maker.mk_rate AS mk_rate,
maker.mk_rate5 AS mk_rate5,
maker.mk_name AS mk_name,
maker.mk_stocking_rate AS mk_stocking_rate,
maker.mk_search_hit AS mk_search_hit,
maker.mk_show_price AS mk_show_price,
maker.mk_rate_yahoo AS mk_rate_yahoo,
catalog.* AS catalog
FROM
item_info AS item_info
left JOIN bunrui2_info AS bunrui2 ON (item_info.i_category_code2 = bunrui2.b2_code)
left JOIN bunrui1_info AS bunrui1 ON (item_info.i_category_code1 = bunrui1.b1_code)
left JOIN itemcode_info AS itemcode ON (item_info.i_item_code = itemcode.ic_code)
left JOIN maker_info AS maker ON (item_info.i_maker_code = maker.mk_code)
left JOIN catalog_info AS catalog ON (item_info.i_catalog_code = catalog.cl_code)
WHERE i_identity = 103498 ORDER BY item_info.i_identity ASC LIMIT 1
</td><td></td><td style="text-align: right">1</td><td style="text-align: right">1</td><td style="text-align: right">8</td></tr>
</tbody></table>
'
)
$options = array(
'modParams' => (int) 1,
'break' => false,
'breakOn' => false,
'collectReturn' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp',
(int) 1 => '<table class="cake-sql-log" id="cakeSqlLog_17156352136642840dbbb357_94485005" summary="Cake SQL Log" cellspacing="0"><caption>(default) 10 queries took 460 ms</caption> <thead>
<tr><th>Nr</th><th>Query</th><th>Error</th><th>Affected</th><th>Num. rows</th><th>Took (ms)</th></tr>
</thead>
<tbody>
<tr><td>1</td><td>
SELECT
item_info.* AS item_info,
bunrui1.* AS bunrui1,
bunrui2.* AS bunrui2,
itemcode.* AS itemcode,
maker.mk_rate AS mk_rate,
maker.mk_rate5 AS mk_rate5,
maker.mk_name AS mk_name,
maker.mk_stocking_rate AS mk_stocking_rate,
maker.mk_search_hit AS mk_search_hit,
maker.mk_show_price AS mk_show_price,
maker.mk_rate_yahoo AS mk_rate_yahoo,
catalog.* AS catalog
FROM
item_info AS item_info
left JOIN bunrui2_info AS bunrui2 ON (item_info.i_category_code2 = bunrui2.b2_code)
left JOIN bunrui1_info AS bunrui1 ON (item_info.i_category_code1 = bunrui1.b1_code)
left JOIN itemcode_info AS itemcode ON (item_info.i_item_code = itemcode.ic_code)
left JOIN maker_info AS maker ON (item_info.i_maker_code = maker.mk_code)
left JOIN catalog_info AS catalog ON (item_info.i_catalog_code = catalog.cl_code)
WHERE i_identity = 103498 ORDER BY item_info.i_identity ASC LIMIT 1
</td><td></td><td style="text-align: right">1</td><td style="text-align: right">1</td><td style="text-align: right">8</td></tr>
</tbody></table>
'
)
result => null
modParams => (int) 1
omitSubject => true
[protected] _name => 'View.afterRenderFile'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Flash'
)
$result = null
$name = 'Flash'</pre><pre class="stack-trace">compact - [internal], line ??
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - CORE/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
View::_render() - CORE/Cake/View/View.php, line 938
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
include - APP/View/Layouts/default.ctp, line 61
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::renderLayout() - CORE/Cake/View/View.php, line 546
View::render() - CORE/Cake/View/View.php, line 481
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 281
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127
[main] - [internal], line ??</pre></div></pre><table class="cake-sql-log" id="cakeSqlLog_17156352136642840dbbb357_94485005" summary="Cake SQL Log" cellspacing="0"><caption>(default) 10 queries took 460 ms</caption> <thead>
<tr><th>Nr</th><th>Query</th><th>Error</th><th>Affected</th><th>Num. rows</th><th>Took (ms)</th></tr>
</thead>
<tbody>
<tr><td>1</td><td>
SELECT
item_info.* AS item_info,
bunrui1.* AS bunrui1,
bunrui2.* AS bunrui2,
itemcode.* AS itemcode,
maker.mk_rate AS mk_rate,
maker.mk_rate5 AS mk_rate5,
maker.mk_name AS mk_name,
maker.mk_stocking_rate AS mk_stocking_rate,
maker.mk_search_hit AS mk_search_hit,
maker.mk_show_price AS mk_show_price,
maker.mk_rate_yahoo AS mk_rate_yahoo,
catalog.* AS catalog
FROM
item_info AS item_info
left JOIN bunrui2_info AS bunrui2 ON (item_info.i_category_code2 = bunrui2.b2_code)
left JOIN bunrui1_info AS bunrui1 ON (item_info.i_category_code1 = bunrui1.b1_code)
left JOIN itemcode_info AS itemcode ON (item_info.i_item_code = itemcode.ic_code)
left JOIN maker_info AS maker ON (item_info.i_maker_code = maker.mk_code)
left JOIN catalog_info AS catalog ON (item_info.i_catalog_code = catalog.cl_code)
WHERE i_identity = 103498 ORDER BY item_info.i_identity ASC LIMIT 1
</td><td></td><td style="text-align: right">1</td><td style="text-align: right">1</td><td style="text-align: right">8</td></tr>
</tbody></table>
</body>
</html>
'
)
result => null
modParams => (int) 1
omitSubject => true
[protected] _name => 'View.afterRenderFile'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Flash'
)
$result = null
$name = 'Html' compact - [internal], line ??
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - CORE/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
View::_render() - CORE/Cake/View/View.php, line 938
View::renderLayout() - CORE/Cake/View/View.php, line 546
View::render() - CORE/Cake/View/View.php, line 481
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 281
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127
[main] - [internal], line ?? Notice (8) : compact() [function.compact ]: Undefined variable: subject [CORE/Cake/Utility/ObjectCollection.php , line 128 ]Code Context $result = null ;
foreach ( $list as $name ) {
$result = call_user_func_array (array( $this -> _loaded [ $name ], $callback ), compact ( 'subject' ) + $params );
$callback = 'afterRenderFile'
$params = array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/app/View/Layouts/default.ctp',
(int) 1 => '<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>
CakePHP: the rapid development php framework:
Errors </title>
<link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/><link rel="stylesheet" type="text/css" href="/css/cake.generic.css"/></head>
<body>
<div id="container">
<div id="header">
<h1><a href="http://cakephp.org">CakePHP: the rapid development php framework</a></h1>
</div>
<div id="content">
<h2>Database Error</h2>
<p class="error">
<strong>Error: </strong>
SQLSTATE[HY000]: General error: 7 no connection to the server</p>
<p class="notice">
<strong>SQL Query: </strong>
SELECT "setup_info"."s_identity" AS "setup_info__s_identity", "setup_info"."s_open" AS "setup_info__s_open", "setup_info"."s_send_price" AS "setup_info__s_send_price", "setup_info"."s_tax" AS "setup_info__s_tax", "setup_info"."s_notice_portable" AS "setup_info__s_notice_portable", "setup_info"."s_notice_sub1" AS "setup_info__s_notice_sub1", "setup_info"."s_notice_sub2" AS "setup_info__s_notice_sub2", "setup_info"."s_rate" AS "setup_info__s_rate", "setup_info"."s_rate5" AS "setup_info__s_rate5", "setup_info"."s_send_off" AS "setup_info__s_send_off", "setup_info"."s_basic_point_rate" AS "setup_info__s_basic_point_rate", "setup_info"."s_point_expiration" AS "setup_info__s_point_expiration" FROM "public"."setup_info" AS "setup_info" WHERE 1 = 1 LIMIT 1 </p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create app/View/Errors/pdo_error.ctp</p>
<h3>Stack Trace</h3>
<ul class="cake-stack-trace">
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/Model/Datasource/DboSource.php line 470</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">PDOStatement->execute()</a> <div id="file-excerpt-0" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $query </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_connection</span><span style="color: #007700">-></span><span style="color: #0000BB">prepare</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$prepareOptions</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">setFetchMode</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">FETCH_LAZY</span><span style="color: #007700">);</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$query</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$params</span><span style="color: #007700">)) {</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_results </span><span style="color: #007700">= </span><span style="color: #0000BB">$query</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Model/Datasource/DboSource.php line 436</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">DboSource->_execute()</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $options </span><span style="color: #007700">+= array(</span><span style="color: #DD0000">'log' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fullDebug</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $t </span><span style="color: #007700">= </span><span style="color: #0000BB">microtime</span><span style="color: #007700">(</span><span style="color: #0000BB">true</span><span style="color: #007700">);</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_result </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Model/Datasource/DboSource.php line 673</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">DboSource->execute()</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$cache </span><span style="color: #007700">&& (</span><span style="color: #0000BB">$cached </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getQueryCache</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$params</span><span style="color: #007700">)) !== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$cached</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, array(), </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/Model/Datasource/DboSource.php line 1184</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">DboSource->fetchAll()</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// Build SQL statement with the primary model, plus hasOne and belongsTo associations</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $query </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">buildAssociationQuery</span><span style="color: #007700">(</span><span style="color: #0000BB">$Model</span><span style="color: #007700">, </span><span style="color: #0000BB">$queryData</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $resultSet </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fetchAll</span><span style="color: #007700">(</span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$Model</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheQueries</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">unset(</span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Model/Model.php line 3038</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">DboSource->read()</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return array</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $results </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">()-></span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">resetAssociations</span><span style="color: #007700">();</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Model/Model.php line 3010</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Model->_readDataSource()</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-5" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">APP/Model/AppModel.php line 32</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Model->find()</a> <div id="file-excerpt-6" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #0000BB">$type </span><span style="color: #007700">= </span><span style="color: #DD0000">'first'</span><span style="color: #007700">, </span><span style="color: #0000BB">$query </span><span style="color: #007700">= [])</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $return </span><span style="color: #007700">= </span><span style="color: #0000BB">parent</span><span style="color: #007700">::</span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-6" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">APP/Model/Item.php line 19</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">AppModel->find()</a> <div id="file-excerpt-7" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/*掛率、消費税率取得*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $setup_info_data </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $setup_info </span><span style="color: #007700">= </span><span style="color: #0000BB">ClassRegistry</span><span style="color: #007700">::</span><span style="color: #0000BB">init</span><span style="color: #007700">(</span><span style="color: #DD0000">'setup_info'</span><span style="color: #007700">);</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $setup_info_data </span><span style="color: #007700">= </span><span style="color: #0000BB">$setup_info</span><span style="color: #007700">-></span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #DD0000">'first'</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $rs_setup_info </span><span style="color: #007700">= </span><span style="color: #0000BB">Hash</span><span style="color: #007700">::</span><span style="color: #0000BB">extract</span><span style="color: #007700">(</span><span style="color: #0000BB">$setup_info_data</span><span style="color: #007700">, </span><span style="color: #DD0000">'setup_info'</span><span style="color: #007700">);</span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Model/Item.php line 1380</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">Item->getSetupInfo()</a> <div id="file-excerpt-8" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $i_rate_y </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $i_stocking_rate </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $rs_setup_info </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $rs_setup_info </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getSetupInfo</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $item_tax </span><span style="color: #007700">= &</span><span style="color: #0000BB">$rs_setup_info</span><span style="color: #007700">[</span><span style="color: #DD0000">"s_tax"</span><span style="color: #007700">];</span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-9')">/home/uniform1.com/htdocs/webroot/require/common_usual.php line 2414</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">Item->getItemCalc()</a> <div id="file-excerpt-9" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> extract</span><span style="color: #007700">(</span><span style="color: #0000BB">$rs_item</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> App</span><span style="color: #007700">::</span><span style="color: #0000BB">uses</span><span style="color: #007700">(</span><span style="color: #DD0000">'Item'</span><span style="color: #007700">, </span><span style="color: #DD0000">'Model'</span><span style="color: #007700">); </span><span style="color: #FF8000">// userモデル呼び出し</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $item </span><span style="color: #007700">= new </span><span style="color: #0000BB">Item</span><span style="color: #007700">(); </span><span style="color: #FF8000">// itemモデルインスタンス作成タンス作成</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $ret </span><span style="color: #007700">= </span><span style="color: #0000BB">$item</span><span style="color: #007700">-></span><span style="color: #0000BB">getItemCalc</span><span style="color: #007700">(</span><span style="color: #0000BB">$i_identity</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $rs_calc_data </span><span style="color: #007700">= </span><span style="color: #0000BB">$item</span><span style="color: #007700">-></span><span style="color: #0000BB">data</span><span style="color: #007700">[</span><span style="color: #DD0000">'Item'</span><span style="color: #007700">];</span></span></code></pre></div> <div id="trace-args-9" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-10')">/home/common_pc_shops/htdocs/search_result.php line 243</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">pc_list_price_arr()</a> <div id="file-excerpt-10" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $rs_item </span><span style="color: #007700">= </span><span style="color: #0000BB">$rs</span><span style="color: #007700">[</span><span style="color: #0000BB">$i</span><span style="color: #007700">];</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $arr_price_list </span><span style="color: #007700">= </span><span style="color: #0000BB">pc_list_price_arr</span><span style="color: #007700">(</span><span style="color: #0000BB">$rs_item</span><span style="color: #007700">, </span><span style="color: #0000BB">$item_tax</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $basic_point_rate </span><span style="color: #007700">= !empty(</span><span style="color: #0000BB">$arr_price_list</span><span style="color: #007700">[</span><span style="color: #DD0000">'basic_point_rate'</span><span style="color: #007700">]) ? </span><span style="color: #0000BB">$arr_price_list</span><span style="color: #007700">[</span><span style="color: #DD0000">'basic_point_rate'</span><span style="color: #007700">] : </span><span style="color: #0000BB">1</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-10" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-11')">/home/common_pc_shops/htdocs/mod_rewrite.php line 44</a> → <a href="#" onclick="traceToggle(event, 'trace-args-11')">require_once(string)</a> <div id="file-excerpt-11" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $file_path </span><span style="color: #007700">= </span><span style="color: #0000BB">rtrim</span><span style="color: #007700">(</span><span style="color: #0000BB">$file_path</span><span style="color: #007700">, </span><span style="color: #DD0000">'?'</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">file_exists</span><span style="color: #007700">(</span><span style="color: #0000BB">$common_pc_shops_root </span><span style="color: #007700">. </span><span style="color: #0000BB">$file_path</span><span style="color: #007700">)) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">is_dir</span><span style="color: #007700">(</span><span style="color: #0000BB">$common_pc_shops_root </span><span style="color: #007700">. </span><span style="color: #0000BB">$file_path</span><span style="color: #007700">)) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">require_once(</span><span style="color: #0000BB">$common_pc_shops_root </span><span style="color: #007700">. </span><span style="color: #0000BB">$file_path</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">exit;</span></span></code></pre></div> <div id="trace-args-11" class="cake-code-dump" style="display: none;"><pre>'/home/common_pc_shops/htdocs/search_result.php'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">/home/m891.com/htdocs/mod_rewrite.php line 3</a> → <a href="#" onclick="traceToggle(event, 'trace-args-12')">require_once(string)</a> <div id="file-excerpt-12" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"><?php</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">require_once(</span><span style="color: #0000BB">$_SERVER</span><span style="color: #007700">[</span><span style="color: #DD0000">'DOCUMENT_ROOT'</span><span style="color: #007700">] . </span><span style="color: #DD0000">"/require/common.php"</span><span style="color: #007700">);</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">require_once(</span><span style="color: #0000BB">$common_pc_shops_root </span><span style="color: #007700">. </span><span style="color: #DD0000">"/mod_rewrite.php"</span><span style="color: #007700">);</span></span></code></span></pre></div> <div id="trace-args-12" class="cake-code-dump" style="display: none;"><pre>'/home/common_pc_shops/htdocs/mod_rewrite.php'</pre></div></li>
</ul>
<script type="text/javascript">
function traceToggle(event, id) {
var el = document.getElementById(id);
el.style.display = (el.style.display === 'block') ? 'none' : 'block';
event.preventDefault();
return false;
}
</script>
</div>
<div id="footer">
<a href="http://www.cakephp.org/" target="_blank" id="cake-powered"><img src="/img/cake.power.gif" alt="CakePHP: the rapid development php framework" border="0"/></a> <p>
CakePHP 2.9.3 </p>
</div>
</div>
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbb0cc-trace').style.display = (document.getElementById('cakeErr6642840dbb0cc-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: compact() [<a href='http://php.net/function.compact'>function.compact</a>]: Undefined variable: subject [<b>CORE/Cake/Utility/ObjectCollection.php</b>, line <b>128</b>]<div id="cakeErr6642840dbb0cc-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbb0cc-code').style.display = (document.getElementById('cakeErr6642840dbb0cc-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbb0cc-context').style.display = (document.getElementById('cakeErr6642840dbb0cc-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6642840dbb0cc-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$list </span><span style="color: #007700">as </span><span style="color: #0000BB">$name</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(array(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_loaded</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">], </span><span style="color: #0000BB">$callback</span><span style="color: #007700">), </span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'subject'</span><span style="color: #007700">) + </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span></pre><pre id="cakeErr6642840dbb0cc-context" class="cake-context" style="display: none;">$callback = 'beforeRenderFile'
$params = array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp'
)
$options = array(
'break' => false,
'breakOn' => false,
'collectReturn' => false,
'modParams' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp'
)
result => null
omitSubject => true
[protected] _name => 'View.beforeRenderFile'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Flash'
)
$result = null
$name = 'Html'</pre><pre class="stack-trace">compact - [internal], line ??
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - CORE/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
View::_render() - CORE/Cake/View/View.php, line 932
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
include - APP/View/Layouts/default.ctp, line 61
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::renderLayout() - CORE/Cake/View/View.php, line 546
View::render() - CORE/Cake/View/View.php, line 481
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 281
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127
[main] - [internal], line ??</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbb621-trace').style.display = (document.getElementById('cakeErr6642840dbb621-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: compact() [<a href='http://php.net/function.compact'>function.compact</a>]: Undefined variable: subject [<b>CORE/Cake/Utility/ObjectCollection.php</b>, line <b>128</b>]<div id="cakeErr6642840dbb621-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbb621-code').style.display = (document.getElementById('cakeErr6642840dbb621-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbb621-context').style.display = (document.getElementById('cakeErr6642840dbb621-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6642840dbb621-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$list </span><span style="color: #007700">as </span><span style="color: #0000BB">$name</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(array(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_loaded</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">], </span><span style="color: #0000BB">$callback</span><span style="color: #007700">), </span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'subject'</span><span style="color: #007700">) + </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span></pre><pre id="cakeErr6642840dbb621-context" class="cake-context" style="display: none;">$callback = 'beforeRenderFile'
$params = array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp'
)
$options = array(
'break' => false,
'breakOn' => false,
'collectReturn' => false,
'modParams' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp'
)
result => null
omitSubject => true
[protected] _name => 'View.beforeRenderFile'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Flash'
)
$result = null
$name = 'Flash'</pre><pre class="stack-trace">compact - [internal], line ??
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - CORE/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
View::_render() - CORE/Cake/View/View.php, line 932
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
include - APP/View/Layouts/default.ctp, line 61
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::renderLayout() - CORE/Cake/View/View.php, line 546
View::render() - CORE/Cake/View/View.php, line 481
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 281
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127
[main] - [internal], line ??</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbbf57-trace').style.display = (document.getElementById('cakeErr6642840dbbf57-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: compact() [<a href='http://php.net/function.compact'>function.compact</a>]: Undefined variable: subject [<b>CORE/Cake/Utility/ObjectCollection.php</b>, line <b>128</b>]<div id="cakeErr6642840dbbf57-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbbf57-code').style.display = (document.getElementById('cakeErr6642840dbbf57-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbbf57-context').style.display = (document.getElementById('cakeErr6642840dbbf57-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6642840dbbf57-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$list </span><span style="color: #007700">as </span><span style="color: #0000BB">$name</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(array(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_loaded</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">], </span><span style="color: #0000BB">$callback</span><span style="color: #007700">), </span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'subject'</span><span style="color: #007700">) + </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span></pre><pre id="cakeErr6642840dbbf57-context" class="cake-context" style="display: none;">$callback = 'afterRenderFile'
$params = array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp',
(int) 1 => '<table class="cake-sql-log" id="cakeSqlLog_17156352136642840dbbb357_94485005" summary="Cake SQL Log" cellspacing="0"><caption>(default) 10 queries took 460 ms</caption> <thead>
<tr><th>Nr</th><th>Query</th><th>Error</th><th>Affected</th><th>Num. rows</th><th>Took (ms)</th></tr>
</thead>
<tbody>
<tr><td>1</td><td>
SELECT
item_info.* AS item_info,
bunrui1.* AS bunrui1,
bunrui2.* AS bunrui2,
itemcode.* AS itemcode,
maker.mk_rate AS mk_rate,
maker.mk_rate5 AS mk_rate5,
maker.mk_name AS mk_name,
maker.mk_stocking_rate AS mk_stocking_rate,
maker.mk_search_hit AS mk_search_hit,
maker.mk_show_price AS mk_show_price,
maker.mk_rate_yahoo AS mk_rate_yahoo,
catalog.* AS catalog
FROM
item_info AS item_info
left JOIN bunrui2_info AS bunrui2 ON (item_info.i_category_code2 = bunrui2.b2_code)
left JOIN bunrui1_info AS bunrui1 ON (item_info.i_category_code1 = bunrui1.b1_code)
left JOIN itemcode_info AS itemcode ON (item_info.i_item_code = itemcode.ic_code)
left JOIN maker_info AS maker ON (item_info.i_maker_code = maker.mk_code)
left JOIN catalog_info AS catalog ON (item_info.i_catalog_code = catalog.cl_code)
WHERE i_identity = 103498 ORDER BY item_info.i_identity ASC LIMIT 1
</td><td></td><td style="text-align: right">1</td><td style="text-align: right">1</td><td style="text-align: right">8</td></tr>
</tbody></table>
'
)
$options = array(
'modParams' => (int) 1,
'break' => false,
'breakOn' => false,
'collectReturn' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp',
(int) 1 => '<table class="cake-sql-log" id="cakeSqlLog_17156352136642840dbbb357_94485005" summary="Cake SQL Log" cellspacing="0"><caption>(default) 10 queries took 460 ms</caption> <thead>
<tr><th>Nr</th><th>Query</th><th>Error</th><th>Affected</th><th>Num. rows</th><th>Took (ms)</th></tr>
</thead>
<tbody>
<tr><td>1</td><td>
SELECT
item_info.* AS item_info,
bunrui1.* AS bunrui1,
bunrui2.* AS bunrui2,
itemcode.* AS itemcode,
maker.mk_rate AS mk_rate,
maker.mk_rate5 AS mk_rate5,
maker.mk_name AS mk_name,
maker.mk_stocking_rate AS mk_stocking_rate,
maker.mk_search_hit AS mk_search_hit,
maker.mk_show_price AS mk_show_price,
maker.mk_rate_yahoo AS mk_rate_yahoo,
catalog.* AS catalog
FROM
item_info AS item_info
left JOIN bunrui2_info AS bunrui2 ON (item_info.i_category_code2 = bunrui2.b2_code)
left JOIN bunrui1_info AS bunrui1 ON (item_info.i_category_code1 = bunrui1.b1_code)
left JOIN itemcode_info AS itemcode ON (item_info.i_item_code = itemcode.ic_code)
left JOIN maker_info AS maker ON (item_info.i_maker_code = maker.mk_code)
left JOIN catalog_info AS catalog ON (item_info.i_catalog_code = catalog.cl_code)
WHERE i_identity = 103498 ORDER BY item_info.i_identity ASC LIMIT 1
</td><td></td><td style="text-align: right">1</td><td style="text-align: right">1</td><td style="text-align: right">8</td></tr>
</tbody></table>
'
)
result => null
modParams => (int) 1
omitSubject => true
[protected] _name => 'View.afterRenderFile'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Flash'
)
$result = null
$name = 'Html'</pre><pre class="stack-trace">compact - [internal], line ??
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - CORE/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
View::_render() - CORE/Cake/View/View.php, line 938
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
include - APP/View/Layouts/default.ctp, line 61
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::renderLayout() - CORE/Cake/View/View.php, line 546
View::render() - CORE/Cake/View/View.php, line 481
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 281
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127
[main] - [internal], line ??</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbc502-trace').style.display = (document.getElementById('cakeErr6642840dbc502-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: compact() [<a href='http://php.net/function.compact'>function.compact</a>]: Undefined variable: subject [<b>CORE/Cake/Utility/ObjectCollection.php</b>, line <b>128</b>]<div id="cakeErr6642840dbc502-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbc502-code').style.display = (document.getElementById('cakeErr6642840dbc502-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbc502-context').style.display = (document.getElementById('cakeErr6642840dbc502-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6642840dbc502-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$list </span><span style="color: #007700">as </span><span style="color: #0000BB">$name</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(array(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_loaded</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">], </span><span style="color: #0000BB">$callback</span><span style="color: #007700">), </span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'subject'</span><span style="color: #007700">) + </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span></pre><pre id="cakeErr6642840dbc502-context" class="cake-context" style="display: none;">$callback = 'afterRenderFile'
$params = array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp',
(int) 1 => '<table class="cake-sql-log" id="cakeSqlLog_17156352136642840dbbb357_94485005" summary="Cake SQL Log" cellspacing="0"><caption>(default) 10 queries took 460 ms</caption> <thead>
<tr><th>Nr</th><th>Query</th><th>Error</th><th>Affected</th><th>Num. rows</th><th>Took (ms)</th></tr>
</thead>
<tbody>
<tr><td>1</td><td>
SELECT
item_info.* AS item_info,
bunrui1.* AS bunrui1,
bunrui2.* AS bunrui2,
itemcode.* AS itemcode,
maker.mk_rate AS mk_rate,
maker.mk_rate5 AS mk_rate5,
maker.mk_name AS mk_name,
maker.mk_stocking_rate AS mk_stocking_rate,
maker.mk_search_hit AS mk_search_hit,
maker.mk_show_price AS mk_show_price,
maker.mk_rate_yahoo AS mk_rate_yahoo,
catalog.* AS catalog
FROM
item_info AS item_info
left JOIN bunrui2_info AS bunrui2 ON (item_info.i_category_code2 = bunrui2.b2_code)
left JOIN bunrui1_info AS bunrui1 ON (item_info.i_category_code1 = bunrui1.b1_code)
left JOIN itemcode_info AS itemcode ON (item_info.i_item_code = itemcode.ic_code)
left JOIN maker_info AS maker ON (item_info.i_maker_code = maker.mk_code)
left JOIN catalog_info AS catalog ON (item_info.i_catalog_code = catalog.cl_code)
WHERE i_identity = 103498 ORDER BY item_info.i_identity ASC LIMIT 1
</td><td></td><td style="text-align: right">1</td><td style="text-align: right">1</td><td style="text-align: right">8</td></tr>
</tbody></table>
'
)
$options = array(
'modParams' => (int) 1,
'break' => false,
'breakOn' => false,
'collectReturn' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp',
(int) 1 => '<table class="cake-sql-log" id="cakeSqlLog_17156352136642840dbbb357_94485005" summary="Cake SQL Log" cellspacing="0"><caption>(default) 10 queries took 460 ms</caption> <thead>
<tr><th>Nr</th><th>Query</th><th>Error</th><th>Affected</th><th>Num. rows</th><th>Took (ms)</th></tr>
</thead>
<tbody>
<tr><td>1</td><td>
SELECT
item_info.* AS item_info,
bunrui1.* AS bunrui1,
bunrui2.* AS bunrui2,
itemcode.* AS itemcode,
maker.mk_rate AS mk_rate,
maker.mk_rate5 AS mk_rate5,
maker.mk_name AS mk_name,
maker.mk_stocking_rate AS mk_stocking_rate,
maker.mk_search_hit AS mk_search_hit,
maker.mk_show_price AS mk_show_price,
maker.mk_rate_yahoo AS mk_rate_yahoo,
catalog.* AS catalog
FROM
item_info AS item_info
left JOIN bunrui2_info AS bunrui2 ON (item_info.i_category_code2 = bunrui2.b2_code)
left JOIN bunrui1_info AS bunrui1 ON (item_info.i_category_code1 = bunrui1.b1_code)
left JOIN itemcode_info AS itemcode ON (item_info.i_item_code = itemcode.ic_code)
left JOIN maker_info AS maker ON (item_info.i_maker_code = maker.mk_code)
left JOIN catalog_info AS catalog ON (item_info.i_catalog_code = catalog.cl_code)
WHERE i_identity = 103498 ORDER BY item_info.i_identity ASC LIMIT 1
</td><td></td><td style="text-align: right">1</td><td style="text-align: right">1</td><td style="text-align: right">8</td></tr>
</tbody></table>
'
)
result => null
modParams => (int) 1
omitSubject => true
[protected] _name => 'View.afterRenderFile'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Flash'
)
$result = null
$name = 'Flash'</pre><pre class="stack-trace">compact - [internal], line ??
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - CORE/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
View::_render() - CORE/Cake/View/View.php, line 938
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
include - APP/View/Layouts/default.ctp, line 61
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::renderLayout() - CORE/Cake/View/View.php, line 546
View::render() - CORE/Cake/View/View.php, line 481
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 281
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127
[main] - [internal], line ??</pre></div></pre><table class="cake-sql-log" id="cakeSqlLog_17156352136642840dbbb357_94485005" summary="Cake SQL Log" cellspacing="0"><caption>(default) 10 queries took 460 ms</caption> <thead>
<tr><th>Nr</th><th>Query</th><th>Error</th><th>Affected</th><th>Num. rows</th><th>Took (ms)</th></tr>
</thead>
<tbody>
<tr><td>1</td><td>
SELECT
item_info.* AS item_info,
bunrui1.* AS bunrui1,
bunrui2.* AS bunrui2,
itemcode.* AS itemcode,
maker.mk_rate AS mk_rate,
maker.mk_rate5 AS mk_rate5,
maker.mk_name AS mk_name,
maker.mk_stocking_rate AS mk_stocking_rate,
maker.mk_search_hit AS mk_search_hit,
maker.mk_show_price AS mk_show_price,
maker.mk_rate_yahoo AS mk_rate_yahoo,
catalog.* AS catalog
FROM
item_info AS item_info
left JOIN bunrui2_info AS bunrui2 ON (item_info.i_category_code2 = bunrui2.b2_code)
left JOIN bunrui1_info AS bunrui1 ON (item_info.i_category_code1 = bunrui1.b1_code)
left JOIN itemcode_info AS itemcode ON (item_info.i_item_code = itemcode.ic_code)
left JOIN maker_info AS maker ON (item_info.i_maker_code = maker.mk_code)
left JOIN catalog_info AS catalog ON (item_info.i_catalog_code = catalog.cl_code)
WHERE i_identity = 103498 ORDER BY item_info.i_identity ASC LIMIT 1
</td><td></td><td style="text-align: right">1</td><td style="text-align: right">1</td><td style="text-align: right">8</td></tr>
</tbody></table>
</body>
</html>
'
)
$options = array(
'modParams' => (int) 1,
'break' => false,
'breakOn' => false,
'collectReturn' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/app/View/Layouts/default.ctp',
(int) 1 => '<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>
CakePHP: the rapid development php framework:
Errors </title>
<link href="/favicon.ico" type="image/x-icon" rel="icon"/><link href="/favicon.ico" type="image/x-icon" rel="shortcut icon"/><link rel="stylesheet" type="text/css" href="/css/cake.generic.css"/></head>
<body>
<div id="container">
<div id="header">
<h1><a href="http://cakephp.org">CakePHP: the rapid development php framework</a></h1>
</div>
<div id="content">
<h2>Database Error</h2>
<p class="error">
<strong>Error: </strong>
SQLSTATE[HY000]: General error: 7 no connection to the server</p>
<p class="notice">
<strong>SQL Query: </strong>
SELECT "setup_info"."s_identity" AS "setup_info__s_identity", "setup_info"."s_open" AS "setup_info__s_open", "setup_info"."s_send_price" AS "setup_info__s_send_price", "setup_info"."s_tax" AS "setup_info__s_tax", "setup_info"."s_notice_portable" AS "setup_info__s_notice_portable", "setup_info"."s_notice_sub1" AS "setup_info__s_notice_sub1", "setup_info"."s_notice_sub2" AS "setup_info__s_notice_sub2", "setup_info"."s_rate" AS "setup_info__s_rate", "setup_info"."s_rate5" AS "setup_info__s_rate5", "setup_info"."s_send_off" AS "setup_info__s_send_off", "setup_info"."s_basic_point_rate" AS "setup_info__s_basic_point_rate", "setup_info"."s_point_expiration" AS "setup_info__s_point_expiration" FROM "public"."setup_info" AS "setup_info" WHERE 1 = 1 LIMIT 1 </p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create app/View/Errors/pdo_error.ctp</p>
<h3>Stack Trace</h3>
<ul class="cake-stack-trace">
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-0')">CORE/Cake/Model/Datasource/DboSource.php line 470</a> → <a href="#" onclick="traceToggle(event, 'trace-args-0')">PDOStatement->execute()</a> <div id="file-excerpt-0" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">try {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $query </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_connection</span><span style="color: #007700">-></span><span style="color: #0000BB">prepare</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$prepareOptions</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $query</span><span style="color: #007700">-></span><span style="color: #0000BB">setFetchMode</span><span style="color: #007700">(</span><span style="color: #0000BB">PDO</span><span style="color: #007700">::</span><span style="color: #0000BB">FETCH_LAZY</span><span style="color: #007700">);</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">$query</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$params</span><span style="color: #007700">)) {</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_results </span><span style="color: #007700">= </span><span style="color: #0000BB">$query</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-0" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-1')">CORE/Cake/Model/Datasource/DboSource.php line 436</a> → <a href="#" onclick="traceToggle(event, 'trace-args-1')">DboSource->_execute()</a> <div id="file-excerpt-1" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $options </span><span style="color: #007700">+= array(</span><span style="color: #DD0000">'log' </span><span style="color: #007700">=> </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fullDebug</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $t </span><span style="color: #007700">= </span><span style="color: #0000BB">microtime</span><span style="color: #007700">(</span><span style="color: #0000BB">true</span><span style="color: #007700">);</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">_result </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-1" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-2')">CORE/Cake/Model/Datasource/DboSource.php line 673</a> → <a href="#" onclick="traceToggle(event, 'trace-args-2')">DboSource->execute()</a> <div id="file-excerpt-2" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$cache </span><span style="color: #007700">&& (</span><span style="color: #0000BB">$cached </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getQueryCache</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, </span><span style="color: #0000BB">$params</span><span style="color: #007700">)) !== </span><span style="color: #0000BB">false</span><span style="color: #007700">) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$cached</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">execute</span><span style="color: #007700">(</span><span style="color: #0000BB">$sql</span><span style="color: #007700">, array(), </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">$result</span><span style="color: #007700">) {</span></span></code></pre></div> <div id="trace-args-2" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-3')">CORE/Cake/Model/Datasource/DboSource.php line 1184</a> → <a href="#" onclick="traceToggle(event, 'trace-args-3')">DboSource->fetchAll()</a> <div id="file-excerpt-3" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// Build SQL statement with the primary model, plus hasOne and belongsTo associations</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $query </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">buildAssociationQuery</span><span style="color: #007700">(</span><span style="color: #0000BB">$Model</span><span style="color: #007700">, </span><span style="color: #0000BB">$queryData</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $resultSet </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">fetchAll</span><span style="color: #007700">(</span><span style="color: #0000BB">$query</span><span style="color: #007700">, </span><span style="color: #0000BB">$Model</span><span style="color: #007700">-></span><span style="color: #0000BB">cacheQueries</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">unset(</span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></pre></div> <div id="trace-args-3" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-4')">CORE/Cake/Model/Model.php line 3038</a> → <a href="#" onclick="traceToggle(event, 'trace-args-4')">DboSource->read()</a> <div id="file-excerpt-4" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">* @return array</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">protected function </span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $results </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getDataSource</span><span style="color: #007700">()-></span><span style="color: #0000BB">read</span><span style="color: #007700">(</span><span style="color: #0000BB">$this</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $this</span><span style="color: #007700">-></span><span style="color: #0000BB">resetAssociations</span><span style="color: #007700">();</span></span></code></pre></div> <div id="trace-args-4" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-5')">CORE/Cake/Model/Model.php line 3010</a> → <a href="#" onclick="traceToggle(event, 'trace-args-5')">Model->_readDataSource()</a> <div id="file-excerpt-5" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">return </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_readDataSource</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code></pre></div> <div id="trace-args-5" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-6')">APP/Model/AppModel.php line 32</a> → <a href="#" onclick="traceToggle(event, 'trace-args-6')">Model->find()</a> <div id="file-excerpt-6" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">public function </span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #0000BB">$type </span><span style="color: #007700">= </span><span style="color: #DD0000">'first'</span><span style="color: #007700">, </span><span style="color: #0000BB">$query </span><span style="color: #007700">= [])</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">{</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $return </span><span style="color: #007700">= </span><span style="color: #0000BB">parent</span><span style="color: #007700">::</span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #0000BB">$type</span><span style="color: #007700">, </span><span style="color: #0000BB">$query</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code></pre></div> <div id="trace-args-6" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-7')">APP/Model/Item.php line 19</a> → <a href="#" onclick="traceToggle(event, 'trace-args-7')">AppModel->find()</a> <div id="file-excerpt-7" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">/*掛率、消費税率取得*/</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $setup_info_data </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $setup_info </span><span style="color: #007700">= </span><span style="color: #0000BB">ClassRegistry</span><span style="color: #007700">::</span><span style="color: #0000BB">init</span><span style="color: #007700">(</span><span style="color: #DD0000">'setup_info'</span><span style="color: #007700">);</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $setup_info_data </span><span style="color: #007700">= </span><span style="color: #0000BB">$setup_info</span><span style="color: #007700">-></span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #DD0000">'first'</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $rs_setup_info </span><span style="color: #007700">= </span><span style="color: #0000BB">Hash</span><span style="color: #007700">::</span><span style="color: #0000BB">extract</span><span style="color: #007700">(</span><span style="color: #0000BB">$setup_info_data</span><span style="color: #007700">, </span><span style="color: #DD0000">'setup_info'</span><span style="color: #007700">);</span></span></code></pre></div> <div id="trace-args-7" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-8')">APP/Model/Item.php line 1380</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">Item->getSetupInfo()</a> <div id="file-excerpt-8" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $i_rate_y </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $i_stocking_rate </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $rs_setup_info </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $rs_setup_info </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getSetupInfo</span><span style="color: #007700">();</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $item_tax </span><span style="color: #007700">= &</span><span style="color: #0000BB">$rs_setup_info</span><span style="color: #007700">[</span><span style="color: #DD0000">"s_tax"</span><span style="color: #007700">];</span></span></code></pre></div> <div id="trace-args-8" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-9')">/home/uniform1.com/htdocs/webroot/require/common_usual.php line 2414</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">Item->getItemCalc()</a> <div id="file-excerpt-9" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> extract</span><span style="color: #007700">(</span><span style="color: #0000BB">$rs_item</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> App</span><span style="color: #007700">::</span><span style="color: #0000BB">uses</span><span style="color: #007700">(</span><span style="color: #DD0000">'Item'</span><span style="color: #007700">, </span><span style="color: #DD0000">'Model'</span><span style="color: #007700">); </span><span style="color: #FF8000">// userモデル呼び出し</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $item </span><span style="color: #007700">= new </span><span style="color: #0000BB">Item</span><span style="color: #007700">(); </span><span style="color: #FF8000">// itemモデルインスタンス作成タンス作成</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $ret </span><span style="color: #007700">= </span><span style="color: #0000BB">$item</span><span style="color: #007700">-></span><span style="color: #0000BB">getItemCalc</span><span style="color: #007700">(</span><span style="color: #0000BB">$i_identity</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $rs_calc_data </span><span style="color: #007700">= </span><span style="color: #0000BB">$item</span><span style="color: #007700">-></span><span style="color: #0000BB">data</span><span style="color: #007700">[</span><span style="color: #DD0000">'Item'</span><span style="color: #007700">];</span></span></code></pre></div> <div id="trace-args-9" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-10')">/home/common_pc_shops/htdocs/search_result.php line 243</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">pc_list_price_arr()</a> <div id="file-excerpt-10" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">}</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $rs_item </span><span style="color: #007700">= </span><span style="color: #0000BB">$rs</span><span style="color: #007700">[</span><span style="color: #0000BB">$i</span><span style="color: #007700">];</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $arr_price_list </span><span style="color: #007700">= </span><span style="color: #0000BB">pc_list_price_arr</span><span style="color: #007700">(</span><span style="color: #0000BB">$rs_item</span><span style="color: #007700">, </span><span style="color: #0000BB">$item_tax</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> $basic_point_rate </span><span style="color: #007700">= !empty(</span><span style="color: #0000BB">$arr_price_list</span><span style="color: #007700">[</span><span style="color: #DD0000">'basic_point_rate'</span><span style="color: #007700">]) ? </span><span style="color: #0000BB">$arr_price_list</span><span style="color: #007700">[</span><span style="color: #DD0000">'basic_point_rate'</span><span style="color: #007700">] : </span><span style="color: #0000BB">1</span><span style="color: #007700">;</span></span></code></pre></div> <div id="trace-args-10" class="cake-code-dump" style="display: none;"><pre></pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-11')">/home/common_pc_shops/htdocs/mod_rewrite.php line 44</a> → <a href="#" onclick="traceToggle(event, 'trace-args-11')">require_once(string)</a> <div id="file-excerpt-11" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $file_path </span><span style="color: #007700">= </span><span style="color: #0000BB">rtrim</span><span style="color: #007700">(</span><span style="color: #0000BB">$file_path</span><span style="color: #007700">, </span><span style="color: #DD0000">'?'</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (</span><span style="color: #0000BB">file_exists</span><span style="color: #007700">(</span><span style="color: #0000BB">$common_pc_shops_root </span><span style="color: #007700">. </span><span style="color: #0000BB">$file_path</span><span style="color: #007700">)) {</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (!</span><span style="color: #0000BB">is_dir</span><span style="color: #007700">(</span><span style="color: #0000BB">$common_pc_shops_root </span><span style="color: #007700">. </span><span style="color: #0000BB">$file_path</span><span style="color: #007700">)) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">require_once(</span><span style="color: #0000BB">$common_pc_shops_root </span><span style="color: #007700">. </span><span style="color: #0000BB">$file_path</span><span style="color: #007700">);</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">exit;</span></span></code></pre></div> <div id="trace-args-11" class="cake-code-dump" style="display: none;"><pre>'/home/common_pc_shops/htdocs/search_result.php'</pre></div></li>
<li><a href="#" onclick="traceToggle(event, 'file-excerpt-12')">/home/m891.com/htdocs/mod_rewrite.php line 3</a> → <a href="#" onclick="traceToggle(event, 'trace-args-12')">require_once(string)</a> <div id="file-excerpt-12" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"><?php</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">require_once(</span><span style="color: #0000BB">$_SERVER</span><span style="color: #007700">[</span><span style="color: #DD0000">'DOCUMENT_ROOT'</span><span style="color: #007700">] . </span><span style="color: #DD0000">"/require/common.php"</span><span style="color: #007700">);</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"></span><span style="color: #007700">require_once(</span><span style="color: #0000BB">$common_pc_shops_root </span><span style="color: #007700">. </span><span style="color: #DD0000">"/mod_rewrite.php"</span><span style="color: #007700">);</span></span></code></span></pre></div> <div id="trace-args-12" class="cake-code-dump" style="display: none;"><pre>'/home/common_pc_shops/htdocs/mod_rewrite.php'</pre></div></li>
</ul>
<script type="text/javascript">
function traceToggle(event, id) {
var el = document.getElementById(id);
el.style.display = (el.style.display === 'block') ? 'none' : 'block';
event.preventDefault();
return false;
}
</script>
</div>
<div id="footer">
<a href="http://www.cakephp.org/" target="_blank" id="cake-powered"><img src="/img/cake.power.gif" alt="CakePHP: the rapid development php framework" border="0"/></a> <p>
CakePHP 2.9.3 </p>
</div>
</div>
<pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbb0cc-trace').style.display = (document.getElementById('cakeErr6642840dbb0cc-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: compact() [<a href='http://php.net/function.compact'>function.compact</a>]: Undefined variable: subject [<b>CORE/Cake/Utility/ObjectCollection.php</b>, line <b>128</b>]<div id="cakeErr6642840dbb0cc-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbb0cc-code').style.display = (document.getElementById('cakeErr6642840dbb0cc-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbb0cc-context').style.display = (document.getElementById('cakeErr6642840dbb0cc-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6642840dbb0cc-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$list </span><span style="color: #007700">as </span><span style="color: #0000BB">$name</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(array(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_loaded</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">], </span><span style="color: #0000BB">$callback</span><span style="color: #007700">), </span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'subject'</span><span style="color: #007700">) + </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span></pre><pre id="cakeErr6642840dbb0cc-context" class="cake-context" style="display: none;">$callback = 'beforeRenderFile'
$params = array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp'
)
$options = array(
'break' => false,
'breakOn' => false,
'collectReturn' => false,
'modParams' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp'
)
result => null
omitSubject => true
[protected] _name => 'View.beforeRenderFile'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Flash'
)
$result = null
$name = 'Html'</pre><pre class="stack-trace">compact - [internal], line ??
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - CORE/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
View::_render() - CORE/Cake/View/View.php, line 932
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
include - APP/View/Layouts/default.ctp, line 61
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::renderLayout() - CORE/Cake/View/View.php, line 546
View::render() - CORE/Cake/View/View.php, line 481
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 281
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127
[main] - [internal], line ??</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbb621-trace').style.display = (document.getElementById('cakeErr6642840dbb621-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: compact() [<a href='http://php.net/function.compact'>function.compact</a>]: Undefined variable: subject [<b>CORE/Cake/Utility/ObjectCollection.php</b>, line <b>128</b>]<div id="cakeErr6642840dbb621-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbb621-code').style.display = (document.getElementById('cakeErr6642840dbb621-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbb621-context').style.display = (document.getElementById('cakeErr6642840dbb621-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6642840dbb621-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$list </span><span style="color: #007700">as </span><span style="color: #0000BB">$name</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(array(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_loaded</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">], </span><span style="color: #0000BB">$callback</span><span style="color: #007700">), </span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'subject'</span><span style="color: #007700">) + </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span></pre><pre id="cakeErr6642840dbb621-context" class="cake-context" style="display: none;">$callback = 'beforeRenderFile'
$params = array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp'
)
$options = array(
'break' => false,
'breakOn' => false,
'collectReturn' => false,
'modParams' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp'
)
result => null
omitSubject => true
[protected] _name => 'View.beforeRenderFile'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Flash'
)
$result = null
$name = 'Flash'</pre><pre class="stack-trace">compact - [internal], line ??
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - CORE/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
View::_render() - CORE/Cake/View/View.php, line 932
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
include - APP/View/Layouts/default.ctp, line 61
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::renderLayout() - CORE/Cake/View/View.php, line 546
View::render() - CORE/Cake/View/View.php, line 481
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 281
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127
[main] - [internal], line ??</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbbf57-trace').style.display = (document.getElementById('cakeErr6642840dbbf57-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: compact() [<a href='http://php.net/function.compact'>function.compact</a>]: Undefined variable: subject [<b>CORE/Cake/Utility/ObjectCollection.php</b>, line <b>128</b>]<div id="cakeErr6642840dbbf57-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbbf57-code').style.display = (document.getElementById('cakeErr6642840dbbf57-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbbf57-context').style.display = (document.getElementById('cakeErr6642840dbbf57-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6642840dbbf57-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$list </span><span style="color: #007700">as </span><span style="color: #0000BB">$name</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(array(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_loaded</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">], </span><span style="color: #0000BB">$callback</span><span style="color: #007700">), </span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'subject'</span><span style="color: #007700">) + </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span></pre><pre id="cakeErr6642840dbbf57-context" class="cake-context" style="display: none;">$callback = 'afterRenderFile'
$params = array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp',
(int) 1 => '<table class="cake-sql-log" id="cakeSqlLog_17156352136642840dbbb357_94485005" summary="Cake SQL Log" cellspacing="0"><caption>(default) 10 queries took 460 ms</caption> <thead>
<tr><th>Nr</th><th>Query</th><th>Error</th><th>Affected</th><th>Num. rows</th><th>Took (ms)</th></tr>
</thead>
<tbody>
<tr><td>1</td><td>
SELECT
item_info.* AS item_info,
bunrui1.* AS bunrui1,
bunrui2.* AS bunrui2,
itemcode.* AS itemcode,
maker.mk_rate AS mk_rate,
maker.mk_rate5 AS mk_rate5,
maker.mk_name AS mk_name,
maker.mk_stocking_rate AS mk_stocking_rate,
maker.mk_search_hit AS mk_search_hit,
maker.mk_show_price AS mk_show_price,
maker.mk_rate_yahoo AS mk_rate_yahoo,
catalog.* AS catalog
FROM
item_info AS item_info
left JOIN bunrui2_info AS bunrui2 ON (item_info.i_category_code2 = bunrui2.b2_code)
left JOIN bunrui1_info AS bunrui1 ON (item_info.i_category_code1 = bunrui1.b1_code)
left JOIN itemcode_info AS itemcode ON (item_info.i_item_code = itemcode.ic_code)
left JOIN maker_info AS maker ON (item_info.i_maker_code = maker.mk_code)
left JOIN catalog_info AS catalog ON (item_info.i_catalog_code = catalog.cl_code)
WHERE i_identity = 103498 ORDER BY item_info.i_identity ASC LIMIT 1
</td><td></td><td style="text-align: right">1</td><td style="text-align: right">1</td><td style="text-align: right">8</td></tr>
</tbody></table>
'
)
$options = array(
'modParams' => (int) 1,
'break' => false,
'breakOn' => false,
'collectReturn' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp',
(int) 1 => '<table class="cake-sql-log" id="cakeSqlLog_17156352136642840dbbb357_94485005" summary="Cake SQL Log" cellspacing="0"><caption>(default) 10 queries took 460 ms</caption> <thead>
<tr><th>Nr</th><th>Query</th><th>Error</th><th>Affected</th><th>Num. rows</th><th>Took (ms)</th></tr>
</thead>
<tbody>
<tr><td>1</td><td>
SELECT
item_info.* AS item_info,
bunrui1.* AS bunrui1,
bunrui2.* AS bunrui2,
itemcode.* AS itemcode,
maker.mk_rate AS mk_rate,
maker.mk_rate5 AS mk_rate5,
maker.mk_name AS mk_name,
maker.mk_stocking_rate AS mk_stocking_rate,
maker.mk_search_hit AS mk_search_hit,
maker.mk_show_price AS mk_show_price,
maker.mk_rate_yahoo AS mk_rate_yahoo,
catalog.* AS catalog
FROM
item_info AS item_info
left JOIN bunrui2_info AS bunrui2 ON (item_info.i_category_code2 = bunrui2.b2_code)
left JOIN bunrui1_info AS bunrui1 ON (item_info.i_category_code1 = bunrui1.b1_code)
left JOIN itemcode_info AS itemcode ON (item_info.i_item_code = itemcode.ic_code)
left JOIN maker_info AS maker ON (item_info.i_maker_code = maker.mk_code)
left JOIN catalog_info AS catalog ON (item_info.i_catalog_code = catalog.cl_code)
WHERE i_identity = 103498 ORDER BY item_info.i_identity ASC LIMIT 1
</td><td></td><td style="text-align: right">1</td><td style="text-align: right">1</td><td style="text-align: right">8</td></tr>
</tbody></table>
'
)
result => null
modParams => (int) 1
omitSubject => true
[protected] _name => 'View.afterRenderFile'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Flash'
)
$result = null
$name = 'Html'</pre><pre class="stack-trace">compact - [internal], line ??
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - CORE/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
View::_render() - CORE/Cake/View/View.php, line 938
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
include - APP/View/Layouts/default.ctp, line 61
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::renderLayout() - CORE/Cake/View/View.php, line 546
View::render() - CORE/Cake/View/View.php, line 481
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 281
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127
[main] - [internal], line ??</pre></div></pre><pre class="cake-error"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbc502-trace').style.display = (document.getElementById('cakeErr6642840dbc502-trace').style.display == 'none' ? '' : 'none');"><b>Notice</b> (8)</a>: compact() [<a href='http://php.net/function.compact'>function.compact</a>]: Undefined variable: subject [<b>CORE/Cake/Utility/ObjectCollection.php</b>, line <b>128</b>]<div id="cakeErr6642840dbc502-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbc502-code').style.display = (document.getElementById('cakeErr6642840dbc502-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6642840dbc502-context').style.display = (document.getElementById('cakeErr6642840dbc502-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6642840dbc502-code" class="cake-code-dump" style="display: none;"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">null</span><span style="color: #007700">;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">foreach (</span><span style="color: #0000BB">$list </span><span style="color: #007700">as </span><span style="color: #0000BB">$name</span><span style="color: #007700">) {</span></span></code>
<span class="code-highlight"><code><span style="color: #000000"><span style="color: #0000BB"> $result </span><span style="color: #007700">= </span><span style="color: #0000BB">call_user_func_array</span><span style="color: #007700">(array(</span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">_loaded</span><span style="color: #007700">[</span><span style="color: #0000BB">$name</span><span style="color: #007700">], </span><span style="color: #0000BB">$callback</span><span style="color: #007700">), </span><span style="color: #0000BB">compact</span><span style="color: #007700">(</span><span style="color: #DD0000">'subject'</span><span style="color: #007700">) + </span><span style="color: #0000BB">$params</span><span style="color: #007700">);</span></span></code></span></pre><pre id="cakeErr6642840dbc502-context" class="cake-context" style="display: none;">$callback = 'afterRenderFile'
$params = array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp',
(int) 1 => '<table class="cake-sql-log" id="cakeSqlLog_17156352136642840dbbb357_94485005" summary="Cake SQL Log" cellspacing="0"><caption>(default) 10 queries took 460 ms</caption> <thead>
<tr><th>Nr</th><th>Query</th><th>Error</th><th>Affected</th><th>Num. rows</th><th>Took (ms)</th></tr>
</thead>
<tbody>
<tr><td>1</td><td>
SELECT
item_info.* AS item_info,
bunrui1.* AS bunrui1,
bunrui2.* AS bunrui2,
itemcode.* AS itemcode,
maker.mk_rate AS mk_rate,
maker.mk_rate5 AS mk_rate5,
maker.mk_name AS mk_name,
maker.mk_stocking_rate AS mk_stocking_rate,
maker.mk_search_hit AS mk_search_hit,
maker.mk_show_price AS mk_show_price,
maker.mk_rate_yahoo AS mk_rate_yahoo,
catalog.* AS catalog
FROM
item_info AS item_info
left JOIN bunrui2_info AS bunrui2 ON (item_info.i_category_code2 = bunrui2.b2_code)
left JOIN bunrui1_info AS bunrui1 ON (item_info.i_category_code1 = bunrui1.b1_code)
left JOIN itemcode_info AS itemcode ON (item_info.i_item_code = itemcode.ic_code)
left JOIN maker_info AS maker ON (item_info.i_maker_code = maker.mk_code)
left JOIN catalog_info AS catalog ON (item_info.i_catalog_code = catalog.cl_code)
WHERE i_identity = 103498 ORDER BY item_info.i_identity ASC LIMIT 1
</td><td></td><td style="text-align: right">1</td><td style="text-align: right">1</td><td style="text-align: right">8</td></tr>
</tbody></table>
'
)
$options = array(
'modParams' => (int) 1,
'break' => false,
'breakOn' => false,
'collectReturn' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp',
(int) 1 => '<table class="cake-sql-log" id="cakeSqlLog_17156352136642840dbbb357_94485005" summary="Cake SQL Log" cellspacing="0"><caption>(default) 10 queries took 460 ms</caption> <thead>
<tr><th>Nr</th><th>Query</th><th>Error</th><th>Affected</th><th>Num. rows</th><th>Took (ms)</th></tr>
</thead>
<tbody>
<tr><td>1</td><td>
SELECT
item_info.* AS item_info,
bunrui1.* AS bunrui1,
bunrui2.* AS bunrui2,
itemcode.* AS itemcode,
maker.mk_rate AS mk_rate,
maker.mk_rate5 AS mk_rate5,
maker.mk_name AS mk_name,
maker.mk_stocking_rate AS mk_stocking_rate,
maker.mk_search_hit AS mk_search_hit,
maker.mk_show_price AS mk_show_price,
maker.mk_rate_yahoo AS mk_rate_yahoo,
catalog.* AS catalog
FROM
item_info AS item_info
left JOIN bunrui2_info AS bunrui2 ON (item_info.i_category_code2 = bunrui2.b2_code)
left JOIN bunrui1_info AS bunrui1 ON (item_info.i_category_code1 = bunrui1.b1_code)
left JOIN itemcode_info AS itemcode ON (item_info.i_item_code = itemcode.ic_code)
left JOIN maker_info AS maker ON (item_info.i_maker_code = maker.mk_code)
left JOIN catalog_info AS catalog ON (item_info.i_catalog_code = catalog.cl_code)
WHERE i_identity = 103498 ORDER BY item_info.i_identity ASC LIMIT 1
</td><td></td><td style="text-align: right">1</td><td style="text-align: right">1</td><td style="text-align: right">8</td></tr>
</tbody></table>
'
)
result => null
modParams => (int) 1
omitSubject => true
[protected] _name => 'View.afterRenderFile'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Flash'
)
$result = null
$name = 'Flash'</pre><pre class="stack-trace">compact - [internal], line ??
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - CORE/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
View::_render() - CORE/Cake/View/View.php, line 938
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
include - APP/View/Layouts/default.ctp, line 61
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::renderLayout() - CORE/Cake/View/View.php, line 546
View::render() - CORE/Cake/View/View.php, line 481
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 281
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127
[main] - [internal], line ??</pre></div></pre><table class="cake-sql-log" id="cakeSqlLog_17156352136642840dbbb357_94485005" summary="Cake SQL Log" cellspacing="0"><caption>(default) 10 queries took 460 ms</caption> <thead>
<tr><th>Nr</th><th>Query</th><th>Error</th><th>Affected</th><th>Num. rows</th><th>Took (ms)</th></tr>
</thead>
<tbody>
<tr><td>1</td><td>
SELECT
item_info.* AS item_info,
bunrui1.* AS bunrui1,
bunrui2.* AS bunrui2,
itemcode.* AS itemcode,
maker.mk_rate AS mk_rate,
maker.mk_rate5 AS mk_rate5,
maker.mk_name AS mk_name,
maker.mk_stocking_rate AS mk_stocking_rate,
maker.mk_search_hit AS mk_search_hit,
maker.mk_show_price AS mk_show_price,
maker.mk_rate_yahoo AS mk_rate_yahoo,
catalog.* AS catalog
FROM
item_info AS item_info
left JOIN bunrui2_info AS bunrui2 ON (item_info.i_category_code2 = bunrui2.b2_code)
left JOIN bunrui1_info AS bunrui1 ON (item_info.i_category_code1 = bunrui1.b1_code)
left JOIN itemcode_info AS itemcode ON (item_info.i_item_code = itemcode.ic_code)
left JOIN maker_info AS maker ON (item_info.i_maker_code = maker.mk_code)
left JOIN catalog_info AS catalog ON (item_info.i_catalog_code = catalog.cl_code)
WHERE i_identity = 103498 ORDER BY item_info.i_identity ASC LIMIT 1
</td><td></td><td style="text-align: right">1</td><td style="text-align: right">1</td><td style="text-align: right">8</td></tr>
</tbody></table>
</body>
</html>
'
)
result => null
modParams => (int) 1
omitSubject => true
[protected] _name => 'View.afterRenderFile'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Flash'
)
$result = null
$name = 'Flash' compact - [internal], line ??
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - CORE/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
View::_render() - CORE/Cake/View/View.php, line 938
View::renderLayout() - CORE/Cake/View/View.php, line 546
View::render() - CORE/Cake/View/View.php, line 481
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 281
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127
[main] - [internal], line ?? Notice (8) : compact() [function.compact ]: Undefined variable: subject [CORE/Cake/Utility/ObjectCollection.php , line 128 ]Code Context $result = null ;
foreach ( $list as $name ) {
$result = call_user_func_array (array( $this -> _loaded [ $name ], $callback ), compact ( 'subject' ) + $params );
$callback = 'afterLayout'
$params = array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/app/View/Layouts/default.ctp'
)
$options = array(
'break' => false,
'breakOn' => false,
'collectReturn' => false,
'modParams' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/app/View/Layouts/default.ctp'
)
result => null
omitSubject => true
[protected] _name => 'View.afterLayout'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Flash'
)
$result = null
$name = 'Html' compact - [internal], line ??
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - CORE/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
View::renderLayout() - CORE/Cake/View/View.php, line 548
View::render() - CORE/Cake/View/View.php, line 481
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 281
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127
[main] - [internal], line ?? Notice (8) : compact() [function.compact ]: Undefined variable: subject [CORE/Cake/Utility/ObjectCollection.php , line 128 ]Code Context $result = null ;
foreach ( $list as $name ) {
$result = call_user_func_array (array( $this -> _loaded [ $name ], $callback ), compact ( 'subject' ) + $params );
$callback = 'afterLayout'
$params = array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/app/View/Layouts/default.ctp'
)
$options = array(
'break' => false,
'breakOn' => false,
'collectReturn' => false,
'modParams' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/app/View/Layouts/default.ctp'
)
result => null
omitSubject => true
[protected] _name => 'View.afterLayout'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Flash'
)
$result = null
$name = 'Flash' compact - [internal], line ??
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - CORE/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
View::renderLayout() - CORE/Cake/View/View.php, line 548
View::render() - CORE/Cake/View/View.php, line 481
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 281
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127
[main] - [internal], line ??
CakePHP: the rapid development php framework:
Errors
Database Error
Error:
SQLSTATE[HY000]: General error: 7 no connection to the server
SQL Query:
SELECT "setup_info"."s_identity" AS "setup_info__s_identity", "setup_info"."s_open" AS "setup_info__s_open", "setup_info"."s_send_price" AS "setup_info__s_send_price", "setup_info"."s_tax" AS "setup_info__s_tax", "setup_info"."s_notice_portable" AS "setup_info__s_notice_portable", "setup_info"."s_notice_sub1" AS "setup_info__s_notice_sub1", "setup_info"."s_notice_sub2" AS "setup_info__s_notice_sub2", "setup_info"."s_rate" AS "setup_info__s_rate", "setup_info"."s_rate5" AS "setup_info__s_rate5", "setup_info"."s_send_off" AS "setup_info__s_send_off", "setup_info"."s_basic_point_rate" AS "setup_info__s_basic_point_rate", "setup_info"."s_point_expiration" AS "setup_info__s_point_expiration" FROM "public"."setup_info" AS "setup_info" WHERE 1 = 1 LIMIT 1
Notice:
If you want to customize this error message, create app/View/Errors/pdo_error.ctp
Stack Trace
CORE/Cake/Model/Datasource/DboSource.php line 470 → PDOStatement->execute() try {
$query = $this -> _connection -> prepare ( $sql , $prepareOptions );
$query -> setFetchMode ( PDO :: FETCH_LAZY );
if (! $query -> execute ( $params )) {
$this -> _results = $query ;
CORE/Cake/Model/Datasource/DboSource.php line 436 → DboSource->_execute() $options += array( 'log' => $this -> fullDebug );
$t = microtime ( true );
$this -> _result = $this -> _execute ( $sql , $params );
CORE/Cake/Model/Datasource/DboSource.php line 673 → DboSource->execute() if ( $cache && ( $cached = $this -> getQueryCache ( $sql , $params )) !== false ) {
return $cached ;
}
$result = $this -> execute ( $sql , array(), $params );
if ( $result ) {
CORE/Cake/Model/Datasource/DboSource.php line 1184 → DboSource->fetchAll() // Build SQL statement with the primary model, plus hasOne and belongsTo associations
$query = $this -> buildAssociationQuery ( $Model , $queryData );
$resultSet = $this -> fetchAll ( $query , $Model -> cacheQueries );
unset( $query );
CORE/Cake/Model/Model.php line 3038 → DboSource->read() * @return array
*/
protected function _readDataSource ( $type , $query ) {
$results = $this -> getDataSource ()-> read ( $this , $query );
$this -> resetAssociations ();
CORE/Cake/Model/Model.php line 3010 → Model->_readDataSource() return null ;
}
return $this -> _readDataSource ( $type , $query );
}
APP/Model/AppModel.php line 32 → Model->find() public function find ( $type = 'first' , $query = [])
{
$return = parent :: find ( $type , $query );
APP/Model/Item.php line 19 → AppModel->find() /*掛率、消費税率取得*/
$setup_info_data = null ;
$setup_info = ClassRegistry :: init ( 'setup_info' );
$setup_info_data = $setup_info -> find ( 'first' );
$rs_setup_info = Hash :: extract ( $setup_info_data , 'setup_info' );
APP/Model/Item.php line 1380 → Item->getSetupInfo() $i_rate_y = null ;
$i_stocking_rate = null ;
$rs_setup_info = null ;
$rs_setup_info = $this -> getSetupInfo ();
$item_tax = & $rs_setup_info [ "s_tax" ];
/home/uniform1.com/htdocs/webroot/require/common_usual.php line 2414 → Item->getItemCalc() extract ( $rs_item );
App :: uses ( 'Item' , 'Model' ); // userモデル呼び出し
$item = new Item (); // itemモデルインスタンス作成タンス作成
$ret = $item -> getItemCalc ( $i_identity );
$rs_calc_data = $item -> data [ 'Item' ];
/home/common_pc_shops/htdocs/search_result.php line 243 → pc_list_price_arr() }
$rs_item = $rs [ $i ];
$arr_price_list = pc_list_price_arr ( $rs_item , $item_tax );
$basic_point_rate = !empty( $arr_price_list [ 'basic_point_rate' ]) ? $arr_price_list [ 'basic_point_rate' ] : 1 ;
/home/common_pc_shops/htdocs/mod_rewrite.php line 44 → require_once(string) $file_path = rtrim ( $file_path , '?' );
if ( file_exists ( $common_pc_shops_root . $file_path )) {
if (! is_dir ( $common_pc_shops_root . $file_path )) {
require_once( $common_pc_shops_root . $file_path );
exit;
'/home/common_pc_shops/htdocs/search_result.php'
/home/m891.com/htdocs/mod_rewrite.php line 3 → require_once(string) <?php
require_once( $_SERVER [ 'DOCUMENT_ROOT' ] . "/require/common.php" );
require_once( $common_pc_shops_root . "/mod_rewrite.php" );
'/home/common_pc_shops/htdocs/mod_rewrite.php'
Notice (8) : compact() [function.compact ]: Undefined variable: subject [CORE/Cake/Utility/ObjectCollection.php , line 128 ]Code Context $result = null ;
foreach ( $list as $name ) {
$result = call_user_func_array (array( $this -> _loaded [ $name ], $callback ), compact ( 'subject' ) + $params );
$callback = 'beforeRenderFile'
$params = array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp'
)
$options = array(
'break' => false,
'breakOn' => false,
'collectReturn' => false,
'modParams' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp'
)
result => null
omitSubject => true
[protected] _name => 'View.beforeRenderFile'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Flash'
)
$result = null
$name = 'Html' compact - [internal], line ??
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - CORE/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
View::_render() - CORE/Cake/View/View.php, line 932
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
include - APP/View/Layouts/default.ctp, line 61
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::renderLayout() - CORE/Cake/View/View.php, line 546
View::render() - CORE/Cake/View/View.php, line 481
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 281
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127
[main] - [internal], line ?? Notice (8) : compact() [function.compact ]: Undefined variable: subject [CORE/Cake/Utility/ObjectCollection.php , line 128 ]Code Context $result = null ;
foreach ( $list as $name ) {
$result = call_user_func_array (array( $this -> _loaded [ $name ], $callback ), compact ( 'subject' ) + $params );
$callback = 'beforeRenderFile'
$params = array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp'
)
$options = array(
'break' => false,
'breakOn' => false,
'collectReturn' => false,
'modParams' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp'
)
result => null
omitSubject => true
[protected] _name => 'View.beforeRenderFile'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Flash'
)
$result = null
$name = 'Flash' compact - [internal], line ??
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - CORE/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
View::_render() - CORE/Cake/View/View.php, line 932
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
include - APP/View/Layouts/default.ctp, line 61
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::renderLayout() - CORE/Cake/View/View.php, line 546
View::render() - CORE/Cake/View/View.php, line 481
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 281
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127
[main] - [internal], line ?? Notice (8) : compact() [function.compact ]: Undefined variable: subject [CORE/Cake/Utility/ObjectCollection.php , line 128 ]Code Context $result = null ;
foreach ( $list as $name ) {
$result = call_user_func_array (array( $this -> _loaded [ $name ], $callback ), compact ( 'subject' ) + $params );
$callback = 'afterRenderFile'
$params = array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp',
(int) 1 => '<table class="cake-sql-log" id="cakeSqlLog_17156352136642840dbbb357_94485005" summary="Cake SQL Log" cellspacing="0"><caption>(default) 10 queries took 460 ms</caption> <thead>
<tr><th>Nr</th><th>Query</th><th>Error</th><th>Affected</th><th>Num. rows</th><th>Took (ms)</th></tr>
</thead>
<tbody>
<tr><td>1</td><td>
SELECT
item_info.* AS item_info,
bunrui1.* AS bunrui1,
bunrui2.* AS bunrui2,
itemcode.* AS itemcode,
maker.mk_rate AS mk_rate,
maker.mk_rate5 AS mk_rate5,
maker.mk_name AS mk_name,
maker.mk_stocking_rate AS mk_stocking_rate,
maker.mk_search_hit AS mk_search_hit,
maker.mk_show_price AS mk_show_price,
maker.mk_rate_yahoo AS mk_rate_yahoo,
catalog.* AS catalog
FROM
item_info AS item_info
left JOIN bunrui2_info AS bunrui2 ON (item_info.i_category_code2 = bunrui2.b2_code)
left JOIN bunrui1_info AS bunrui1 ON (item_info.i_category_code1 = bunrui1.b1_code)
left JOIN itemcode_info AS itemcode ON (item_info.i_item_code = itemcode.ic_code)
left JOIN maker_info AS maker ON (item_info.i_maker_code = maker.mk_code)
left JOIN catalog_info AS catalog ON (item_info.i_catalog_code = catalog.cl_code)
WHERE i_identity = 103498 ORDER BY item_info.i_identity ASC LIMIT 1
</td><td></td><td style="text-align: right">1</td><td style="text-align: right">1</td><td style="text-align: right">8</td></tr>
</tbody></table>
'
)
$options = array(
'modParams' => (int) 1,
'break' => false,
'breakOn' => false,
'collectReturn' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp',
(int) 1 => '<table class="cake-sql-log" id="cakeSqlLog_17156352136642840dbbb357_94485005" summary="Cake SQL Log" cellspacing="0"><caption>(default) 10 queries took 460 ms</caption> <thead>
<tr><th>Nr</th><th>Query</th><th>Error</th><th>Affected</th><th>Num. rows</th><th>Took (ms)</th></tr>
</thead>
<tbody>
<tr><td>1</td><td>
SELECT
item_info.* AS item_info,
bunrui1.* AS bunrui1,
bunrui2.* AS bunrui2,
itemcode.* AS itemcode,
maker.mk_rate AS mk_rate,
maker.mk_rate5 AS mk_rate5,
maker.mk_name AS mk_name,
maker.mk_stocking_rate AS mk_stocking_rate,
maker.mk_search_hit AS mk_search_hit,
maker.mk_show_price AS mk_show_price,
maker.mk_rate_yahoo AS mk_rate_yahoo,
catalog.* AS catalog
FROM
item_info AS item_info
left JOIN bunrui2_info AS bunrui2 ON (item_info.i_category_code2 = bunrui2.b2_code)
left JOIN bunrui1_info AS bunrui1 ON (item_info.i_category_code1 = bunrui1.b1_code)
left JOIN itemcode_info AS itemcode ON (item_info.i_item_code = itemcode.ic_code)
left JOIN maker_info AS maker ON (item_info.i_maker_code = maker.mk_code)
left JOIN catalog_info AS catalog ON (item_info.i_catalog_code = catalog.cl_code)
WHERE i_identity = 103498 ORDER BY item_info.i_identity ASC LIMIT 1
</td><td></td><td style="text-align: right">1</td><td style="text-align: right">1</td><td style="text-align: right">8</td></tr>
</tbody></table>
'
)
result => null
modParams => (int) 1
omitSubject => true
[protected] _name => 'View.afterRenderFile'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Flash'
)
$result = null
$name = 'Html' compact - [internal], line ??
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - CORE/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
View::_render() - CORE/Cake/View/View.php, line 938
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
include - APP/View/Layouts/default.ctp, line 61
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::renderLayout() - CORE/Cake/View/View.php, line 546
View::render() - CORE/Cake/View/View.php, line 481
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 281
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127
[main] - [internal], line ?? Notice (8) : compact() [function.compact ]: Undefined variable: subject [CORE/Cake/Utility/ObjectCollection.php , line 128 ]Code Context $result = null ;
foreach ( $list as $name ) {
$result = call_user_func_array (array( $this -> _loaded [ $name ], $callback ), compact ( 'subject' ) + $params );
$callback = 'afterRenderFile'
$params = array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp',
(int) 1 => '<table class="cake-sql-log" id="cakeSqlLog_17156352136642840dbbb357_94485005" summary="Cake SQL Log" cellspacing="0"><caption>(default) 10 queries took 460 ms</caption> <thead>
<tr><th>Nr</th><th>Query</th><th>Error</th><th>Affected</th><th>Num. rows</th><th>Took (ms)</th></tr>
</thead>
<tbody>
<tr><td>1</td><td>
SELECT
item_info.* AS item_info,
bunrui1.* AS bunrui1,
bunrui2.* AS bunrui2,
itemcode.* AS itemcode,
maker.mk_rate AS mk_rate,
maker.mk_rate5 AS mk_rate5,
maker.mk_name AS mk_name,
maker.mk_stocking_rate AS mk_stocking_rate,
maker.mk_search_hit AS mk_search_hit,
maker.mk_show_price AS mk_show_price,
maker.mk_rate_yahoo AS mk_rate_yahoo,
catalog.* AS catalog
FROM
item_info AS item_info
left JOIN bunrui2_info AS bunrui2 ON (item_info.i_category_code2 = bunrui2.b2_code)
left JOIN bunrui1_info AS bunrui1 ON (item_info.i_category_code1 = bunrui1.b1_code)
left JOIN itemcode_info AS itemcode ON (item_info.i_item_code = itemcode.ic_code)
left JOIN maker_info AS maker ON (item_info.i_maker_code = maker.mk_code)
left JOIN catalog_info AS catalog ON (item_info.i_catalog_code = catalog.cl_code)
WHERE i_identity = 103498 ORDER BY item_info.i_identity ASC LIMIT 1
</td><td></td><td style="text-align: right">1</td><td style="text-align: right">1</td><td style="text-align: right">8</td></tr>
</tbody></table>
'
)
$options = array(
'modParams' => (int) 1,
'break' => false,
'breakOn' => false,
'collectReturn' => false
)
$event = object(CakeEvent) {
data => array(
(int) 0 => '/home/uniform1.com/htdocs/cakephp2/lib/Cake/View/Elements/sql_dump.ctp',
(int) 1 => '<table class="cake-sql-log" id="cakeSqlLog_17156352136642840dbbb357_94485005" summary="Cake SQL Log" cellspacing="0"><caption>(default) 10 queries took 460 ms</caption> <thead>
<tr><th>Nr</th><th>Query</th><th>Error</th><th>Affected</th><th>Num. rows</th><th>Took (ms)</th></tr>
</thead>
<tbody>
<tr><td>1</td><td>
SELECT
item_info.* AS item_info,
bunrui1.* AS bunrui1,
bunrui2.* AS bunrui2,
itemcode.* AS itemcode,
maker.mk_rate AS mk_rate,
maker.mk_rate5 AS mk_rate5,
maker.mk_name AS mk_name,
maker.mk_stocking_rate AS mk_stocking_rate,
maker.mk_search_hit AS mk_search_hit,
maker.mk_show_price AS mk_show_price,
maker.mk_rate_yahoo AS mk_rate_yahoo,
catalog.* AS catalog
FROM
item_info AS item_info
left JOIN bunrui2_info AS bunrui2 ON (item_info.i_category_code2 = bunrui2.b2_code)
left JOIN bunrui1_info AS bunrui1 ON (item_info.i_category_code1 = bunrui1.b1_code)
left JOIN itemcode_info AS itemcode ON (item_info.i_item_code = itemcode.ic_code)
left JOIN maker_info AS maker ON (item_info.i_maker_code = maker.mk_code)
left JOIN catalog_info AS catalog ON (item_info.i_catalog_code = catalog.cl_code)
WHERE i_identity = 103498 ORDER BY item_info.i_identity ASC LIMIT 1
</td><td></td><td style="text-align: right">1</td><td style="text-align: right">1</td><td style="text-align: right">8</td></tr>
</tbody></table>
'
)
result => null
modParams => (int) 1
omitSubject => true
[protected] _name => 'View.afterRenderFile'
[protected] _subject => object(View) {}
[protected] _stopped => false
}
$opt = 'modParams'
$parts = array(
(int) 0 => 'View'
)
$collected = array()
$list = array(
(int) 0 => 'Html',
(int) 1 => 'Flash'
)
$result = null
$name = 'Flash' compact - [internal], line ??
ObjectCollection::trigger() - CORE/Cake/Utility/ObjectCollection.php, line 128
HelperCollection::trigger() - CORE/Cake/View/HelperCollection.php, line 200
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 243
View::_render() - CORE/Cake/View/View.php, line 938
View::_renderElement() - CORE/Cake/View/View.php, line 1224
View::element() - CORE/Cake/View/View.php, line 418
include - APP/View/Layouts/default.ctp, line 61
View::_evaluate() - CORE/Cake/View/View.php, line 971
View::_render() - CORE/Cake/View/View.php, line 933
View::renderLayout() - CORE/Cake/View/View.php, line 546
View::render() - CORE/Cake/View/View.php, line 481
Controller::render() - CORE/Cake/Controller/Controller.php, line 963
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 292
ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 281
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 190
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 127
[main] - [internal], line ?? (default) 10 queries took 460 ms
Nr Query Error Affected Num. rows Took (ms)
1
SELECT
item_info.* AS item_info,
bunrui1.* AS bunrui1,
bunrui2.* AS bunrui2,
itemcode.* AS itemcode,
maker.mk_rate AS mk_rate,
maker.mk_rate5 AS mk_rate5,
maker.mk_name AS mk_name,
maker.mk_stocking_rate AS mk_stocking_rate,
maker.mk_search_hit AS mk_search_hit,
maker.mk_show_price AS mk_show_price,
maker.mk_rate_yahoo AS mk_rate_yahoo,
catalog.* AS catalog
FROM
item_info AS item_info
left JOIN bunrui2_info AS bunrui2 ON (item_info.i_category_code2 = bunrui2.b2_code)
left JOIN bunrui1_info AS bunrui1 ON (item_info.i_category_code1 = bunrui1.b1_code)
left JOIN itemcode_info AS itemcode ON (item_info.i_item_code = itemcode.ic_code)
left JOIN maker_info AS maker ON (item_info.i_maker_code = maker.mk_code)
left JOIN catalog_info AS catalog ON (item_info.i_catalog_code = catalog.cl_code)
WHERE i_identity = 103498 ORDER BY item_info.i_identity ASC LIMIT 1
1 1 8