スマホ店を表示しています。PC店はこちらです。
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 FROM "public"."item_info" AS "item_info" WHERE (("i_code" = '1074-662') AND ("i_maker_code" = 'TC1') AND ("i_category_code1" = 'WO')) ORDER BY "item_info"."i_identity" ASC LIMIT 1'
}
$numFields = (int) 119
$index = (int) 102
$j = (int) 101
$column = array(
'pgsql:oid' => (int) 700,
'pgsql:table_oid' => (int) 48518,
'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::read() - CORE/Cake/Model/Datasource/DboSource.php, line 1184
Model::_readDataSource() - CORE/Cake/Model/Model.php, line 3038
Model::find() - CORE/Cake/Model/Model.php, line 3010
AppModel::find() - APP/Model/AppModel.php, line 32
Item::getItem() - APP/Model/Item.php, line 2247
Item::getItemByCodeFirst() - APP/Model/Item.php, line 2211
require_once - /home/uniform1sp.com/htdocs/common/item/mod_item.php, line 366
[main] - /home/uniform1sp.com/htdocs/mod_rewrite.php, line 47 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 FROM "public"."item_info" AS "item_info" WHERE (("i_code" = '1074-662') AND ("i_maker_code" = 'TC1') AND ("i_category_code1" = 'WO')) ORDER BY "item_info"."i_identity" ASC LIMIT 1'
}
$numFields = (int) 119
$index = (int) 103
$j = (int) 102
$column = array(
'pgsql:oid' => (int) 700,
'pgsql:table_oid' => (int) 48518,
'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::read() - CORE/Cake/Model/Datasource/DboSource.php, line 1184
Model::_readDataSource() - CORE/Cake/Model/Model.php, line 3038
Model::find() - CORE/Cake/Model/Model.php, line 3010
AppModel::find() - APP/Model/AppModel.php, line 32
Item::getItem() - APP/Model/Item.php, line 2247
Item::getItemByCodeFirst() - APP/Model/Item.php, line 2211
require_once - /home/uniform1sp.com/htdocs/common/item/mod_item.php, line 366
[main] - /home/uniform1sp.com/htdocs/mod_rewrite.php, line 47 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 FROM "public"."item_info" AS "item_info" WHERE (("i_code" = '1074-662') AND ("i_maker_code" = 'TC1') AND ("i_category_code1" = 'WO')) ORDER BY "item_info"."i_identity" ASC LIMIT 1'
}
$numFields = (int) 119
$index = (int) 104
$j = (int) 103
$column = array(
'pgsql:oid' => (int) 700,
'pgsql:table_oid' => (int) 48518,
'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::read() - CORE/Cake/Model/Datasource/DboSource.php, line 1184
Model::_readDataSource() - CORE/Cake/Model/Model.php, line 3038
Model::find() - CORE/Cake/Model/Model.php, line 3010
AppModel::find() - APP/Model/AppModel.php, line 32
Item::getItem() - APP/Model/Item.php, line 2247
Item::getItemByCodeFirst() - APP/Model/Item.php, line 2211
require_once - /home/uniform1sp.com/htdocs/common/item/mod_item.php, line 366
[main] - /home/uniform1sp.com/htdocs/mod_rewrite.php, line 47 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 FROM "public"."item_info" AS "item_info" WHERE (("i_code" = '1074-662') AND ("i_maker_code" = 'TC1') AND ("i_category_code1" = 'WO')) ORDER BY "item_info"."i_identity" ASC LIMIT 1'
}
$numFields = (int) 119
$index = (int) 105
$j = (int) 104
$column = array(
'pgsql:oid' => (int) 700,
'pgsql:table_oid' => (int) 48518,
'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::read() - CORE/Cake/Model/Datasource/DboSource.php, line 1184
Model::_readDataSource() - CORE/Cake/Model/Model.php, line 3038
Model::find() - CORE/Cake/Model/Model.php, line 3010
AppModel::find() - APP/Model/AppModel.php, line 32
Item::getItem() - APP/Model/Item.php, line 2247
Item::getItemByCodeFirst() - APP/Model/Item.php, line 2211
require_once - /home/uniform1sp.com/htdocs/common/item/mod_item.php, line 366
[main] - /home/uniform1sp.com/htdocs/mod_rewrite.php, line 47 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 FROM "public"."item_info" AS "item_info" WHERE (("i_code" = '1074-662') AND ("i_maker_code" = 'TC1') AND ("i_category_code1" = 'WO')) ORDER BY "item_info"."i_identity" ASC LIMIT 1'
}
$numFields = (int) 119
$index = (int) 106
$j = (int) 105
$column = array(
'pgsql:oid' => (int) 700,
'pgsql:table_oid' => (int) 48518,
'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::read() - CORE/Cake/Model/Datasource/DboSource.php, line 1184
Model::_readDataSource() - CORE/Cake/Model/Model.php, line 3038
Model::find() - CORE/Cake/Model/Model.php, line 3010
AppModel::find() - APP/Model/AppModel.php, line 32
Item::getItem() - APP/Model/Item.php, line 2247
Item::getItemByCodeFirst() - APP/Model/Item.php, line 2211
require_once - /home/uniform1sp.com/htdocs/common/item/mod_item.php, line 366
[main] - /home/uniform1sp.com/htdocs/mod_rewrite.php, line 47 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 item_info.* AS item_info, maker.* AS maker, bunrui2.* AS bunrui2, bunrui1.* AS bunrui1, itemcode.* AS itemcode, catalog.* AS catalog FROM "public"."item_info" AS "item_info" left JOIN "public"."bunrui1_info" AS "bunrui1" ON ("item_info"."i_category_code1" = "bunrui1"."b1_code") left JOIN "public"."bunrui2_info" AS "bunrui2" ON ("item_info"."i_category_code2" = "bunrui2"."b2_code") left JOIN "public"."maker_info" AS "maker" ON ("item_info"."i_maker_code" = "maker"."mk_code") left JOIN "public"."itemcode_info" AS "itemcode" ON ("item_info"."i_item_code" = "itemcode"."ic_code") left JOIN "public"."catalog_info" AS "catalog" ON ("item_info"."i_catalog_code" = "catalog"."cl_code") WHERE "i_identity" = 180081 ORDER BY "item_info"."i_identity" ASC 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 3678</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">// maker_info,item_infoの読み込み</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $item_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">'item_info'</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $rs_item_info </span><span style="color: #007700">= </span><span style="color: #0000BB">$item_info</span><span style="color: #007700">-></span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #DD0000">'all'</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: #DD0000">'conditions' </span><span style="color: #007700">=> [</span><span style="color: #0000BB">$conditions</span><span style="color: #007700">],</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'limit' </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-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 2214</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">Item->getItemByIdentity()</a> <div id="file-excerpt-8" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $rs_item_info </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getItem</span><span style="color: #007700">(</span><span style="color: #0000BB">$conditions</span><span style="color: #007700">, </span><span style="color: #0000BB">1</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $i_identity </span><span style="color: #007700">= isset(</span><span style="color: #0000BB">$this</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 style="color: #0000BB">0</span><span style="color: #007700">][</span><span style="color: #DD0000">'i_identity'</span><span style="color: #007700">]) ? </span><span style="color: #0000BB">$this</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 style="color: #0000BB">0</span><span style="color: #007700">][</span><span style="color: #DD0000">'i_identity'</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">$i_identity </span><span style="color: #007700">!= </span><span style="color: #DD0000">""</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">getItemByIdentity</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"> </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/uniform1sp.com/htdocs/common/item/mod_item.php line 366</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">Item->getItemByCodeFirst()</a> <div id="file-excerpt-9" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (empty(</span><span style="color: #0000BB">$setitem_i_code</span><span style="color: #007700">) or (</span><span style="color: #0000BB">$i_code </span><span style="color: #007700">== </span><span style="color: #0000BB">$setitem_i_code</span><span style="color: #007700">)) {
</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">continue;
</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"> $ret_set_item </span><span style="color: #007700">= </span><span style="color: #0000BB">$item</span><span style="color: #007700">-></span><span style="color: #0000BB">getItemByCodeFirst</span><span style="color: #007700">(</span><span style="color: #0000BB">$setitem_i_code</span><span style="color: #007700">, </span><span style="color: #0000BB">$i_maker_code</span><span style="color: #007700">, </span><span style="color: #0000BB">$site_category</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">$ret_set_item </span><span style="color: #007700">> </span><span style="color: #0000BB">0</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/uniform1sp.com/htdocs/mod_rewrite.php line 47</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">require_once(string)</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">exit;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">case </span><span style="color: #DD0000">"item"</span><span style="color: #007700">:</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// 商品ページの場合、共通ページに遷移する</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">U1SP_PATH </span><span style="color: #007700">. </span><span style="color: #DD0000">"common/item/mod_item.php"</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-10" class="cake-code-dump" style="display: none;"><pre>'/home/uniform1sp.com/htdocs/common/item/mod_item.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('cakeErr6a3a0e9e255a7-trace').style.display = (document.getElementById('cakeErr6a3a0e9e255a7-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="cakeErr6a3a0e9e255a7-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a3a0e9e255a7-code').style.display = (document.getElementById('cakeErr6a3a0e9e255a7-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a3a0e9e255a7-context').style.display = (document.getElementById('cakeErr6a3a0e9e255a7-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6a3a0e9e255a7-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="cakeErr6a3a0e9e255a7-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('cakeErr6a3a0e9e258cb-trace').style.display = (document.getElementById('cakeErr6a3a0e9e258cb-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="cakeErr6a3a0e9e258cb-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a3a0e9e258cb-code').style.display = (document.getElementById('cakeErr6a3a0e9e258cb-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a3a0e9e258cb-context').style.display = (document.getElementById('cakeErr6a3a0e9e258cb-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6a3a0e9e258cb-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="cakeErr6a3a0e9e258cb-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('cakeErr6a3a0e9e25c0b-trace').style.display = (document.getElementById('cakeErr6a3a0e9e25c0b-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="cakeErr6a3a0e9e25c0b-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a3a0e9e25c0b-code').style.display = (document.getElementById('cakeErr6a3a0e9e25c0b-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a3a0e9e25c0b-context').style.display = (document.getElementById('cakeErr6a3a0e9e25c0b-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6a3a0e9e25c0b-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="cakeErr6a3a0e9e25c0b-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_17821897266a3a0e9e259bd3_97644042" summary="Cake SQL Log" cellspacing="0"><caption>(default) 38 queries took 194 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>
</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_17821897266a3a0e9e259bd3_97644042" summary="Cake SQL Log" cellspacing="0"><caption>(default) 38 queries took 194 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>
</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('cakeErr6a3a0e9e25f7a-trace').style.display = (document.getElementById('cakeErr6a3a0e9e25f7a-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="cakeErr6a3a0e9e25f7a-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a3a0e9e25f7a-code').style.display = (document.getElementById('cakeErr6a3a0e9e25f7a-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a3a0e9e25f7a-context').style.display = (document.getElementById('cakeErr6a3a0e9e25f7a-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6a3a0e9e25f7a-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="cakeErr6a3a0e9e25f7a-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_17821897266a3a0e9e259bd3_97644042" summary="Cake SQL Log" cellspacing="0"><caption>(default) 38 queries took 194 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>
</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_17821897266a3a0e9e259bd3_97644042" summary="Cake SQL Log" cellspacing="0"><caption>(default) 38 queries took 194 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>
</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_17821897266a3a0e9e259bd3_97644042" summary="Cake SQL Log" cellspacing="0"><caption>(default) 38 queries took 194 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>
</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 item_info.* AS item_info, maker.* AS maker, bunrui2.* AS bunrui2, bunrui1.* AS bunrui1, itemcode.* AS itemcode, catalog.* AS catalog FROM "public"."item_info" AS "item_info" left JOIN "public"."bunrui1_info" AS "bunrui1" ON ("item_info"."i_category_code1" = "bunrui1"."b1_code") left JOIN "public"."bunrui2_info" AS "bunrui2" ON ("item_info"."i_category_code2" = "bunrui2"."b2_code") left JOIN "public"."maker_info" AS "maker" ON ("item_info"."i_maker_code" = "maker"."mk_code") left JOIN "public"."itemcode_info" AS "itemcode" ON ("item_info"."i_item_code" = "itemcode"."ic_code") left JOIN "public"."catalog_info" AS "catalog" ON ("item_info"."i_catalog_code" = "catalog"."cl_code") WHERE "i_identity" = 180081 ORDER BY "item_info"."i_identity" ASC 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 3678</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">// maker_info,item_infoの読み込み</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $item_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">'item_info'</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $rs_item_info </span><span style="color: #007700">= </span><span style="color: #0000BB">$item_info</span><span style="color: #007700">-></span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #DD0000">'all'</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: #DD0000">'conditions' </span><span style="color: #007700">=> [</span><span style="color: #0000BB">$conditions</span><span style="color: #007700">],</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'limit' </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-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 2214</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">Item->getItemByIdentity()</a> <div id="file-excerpt-8" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $rs_item_info </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getItem</span><span style="color: #007700">(</span><span style="color: #0000BB">$conditions</span><span style="color: #007700">, </span><span style="color: #0000BB">1</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $i_identity </span><span style="color: #007700">= isset(</span><span style="color: #0000BB">$this</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 style="color: #0000BB">0</span><span style="color: #007700">][</span><span style="color: #DD0000">'i_identity'</span><span style="color: #007700">]) ? </span><span style="color: #0000BB">$this</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 style="color: #0000BB">0</span><span style="color: #007700">][</span><span style="color: #DD0000">'i_identity'</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">$i_identity </span><span style="color: #007700">!= </span><span style="color: #DD0000">""</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">getItemByIdentity</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"> </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/uniform1sp.com/htdocs/common/item/mod_item.php line 366</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">Item->getItemByCodeFirst()</a> <div id="file-excerpt-9" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (empty(</span><span style="color: #0000BB">$setitem_i_code</span><span style="color: #007700">) or (</span><span style="color: #0000BB">$i_code </span><span style="color: #007700">== </span><span style="color: #0000BB">$setitem_i_code</span><span style="color: #007700">)) {
</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">continue;
</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"> $ret_set_item </span><span style="color: #007700">= </span><span style="color: #0000BB">$item</span><span style="color: #007700">-></span><span style="color: #0000BB">getItemByCodeFirst</span><span style="color: #007700">(</span><span style="color: #0000BB">$setitem_i_code</span><span style="color: #007700">, </span><span style="color: #0000BB">$i_maker_code</span><span style="color: #007700">, </span><span style="color: #0000BB">$site_category</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">$ret_set_item </span><span style="color: #007700">> </span><span style="color: #0000BB">0</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/uniform1sp.com/htdocs/mod_rewrite.php line 47</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">require_once(string)</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">exit;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">case </span><span style="color: #DD0000">"item"</span><span style="color: #007700">:</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// 商品ページの場合、共通ページに遷移する</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">U1SP_PATH </span><span style="color: #007700">. </span><span style="color: #DD0000">"common/item/mod_item.php"</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-10" class="cake-code-dump" style="display: none;"><pre>'/home/uniform1sp.com/htdocs/common/item/mod_item.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('cakeErr6a3a0e9e255a7-trace').style.display = (document.getElementById('cakeErr6a3a0e9e255a7-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="cakeErr6a3a0e9e255a7-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a3a0e9e255a7-code').style.display = (document.getElementById('cakeErr6a3a0e9e255a7-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a3a0e9e255a7-context').style.display = (document.getElementById('cakeErr6a3a0e9e255a7-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6a3a0e9e255a7-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="cakeErr6a3a0e9e255a7-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('cakeErr6a3a0e9e258cb-trace').style.display = (document.getElementById('cakeErr6a3a0e9e258cb-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="cakeErr6a3a0e9e258cb-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a3a0e9e258cb-code').style.display = (document.getElementById('cakeErr6a3a0e9e258cb-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a3a0e9e258cb-context').style.display = (document.getElementById('cakeErr6a3a0e9e258cb-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6a3a0e9e258cb-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="cakeErr6a3a0e9e258cb-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('cakeErr6a3a0e9e25c0b-trace').style.display = (document.getElementById('cakeErr6a3a0e9e25c0b-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="cakeErr6a3a0e9e25c0b-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a3a0e9e25c0b-code').style.display = (document.getElementById('cakeErr6a3a0e9e25c0b-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a3a0e9e25c0b-context').style.display = (document.getElementById('cakeErr6a3a0e9e25c0b-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6a3a0e9e25c0b-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="cakeErr6a3a0e9e25c0b-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_17821897266a3a0e9e259bd3_97644042" summary="Cake SQL Log" cellspacing="0"><caption>(default) 38 queries took 194 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>
</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_17821897266a3a0e9e259bd3_97644042" summary="Cake SQL Log" cellspacing="0"><caption>(default) 38 queries took 194 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>
</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('cakeErr6a3a0e9e25f7a-trace').style.display = (document.getElementById('cakeErr6a3a0e9e25f7a-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="cakeErr6a3a0e9e25f7a-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a3a0e9e25f7a-code').style.display = (document.getElementById('cakeErr6a3a0e9e25f7a-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a3a0e9e25f7a-context').style.display = (document.getElementById('cakeErr6a3a0e9e25f7a-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6a3a0e9e25f7a-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="cakeErr6a3a0e9e25f7a-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_17821897266a3a0e9e259bd3_97644042" summary="Cake SQL Log" cellspacing="0"><caption>(default) 38 queries took 194 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>
</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_17821897266a3a0e9e259bd3_97644042" summary="Cake SQL Log" cellspacing="0"><caption>(default) 38 queries took 194 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>
</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_17821897266a3a0e9e259bd3_97644042" summary="Cake SQL Log" cellspacing="0"><caption>(default) 38 queries took 194 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>
</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 item_info.* AS item_info, maker.* AS maker, bunrui2.* AS bunrui2, bunrui1.* AS bunrui1, itemcode.* AS itemcode, catalog.* AS catalog FROM "public"."item_info" AS "item_info" left JOIN "public"."bunrui1_info" AS "bunrui1" ON ("item_info"."i_category_code1" = "bunrui1"."b1_code") left JOIN "public"."bunrui2_info" AS "bunrui2" ON ("item_info"."i_category_code2" = "bunrui2"."b2_code") left JOIN "public"."maker_info" AS "maker" ON ("item_info"."i_maker_code" = "maker"."mk_code") left JOIN "public"."itemcode_info" AS "itemcode" ON ("item_info"."i_item_code" = "itemcode"."ic_code") left JOIN "public"."catalog_info" AS "catalog" ON ("item_info"."i_catalog_code" = "catalog"."cl_code") WHERE "i_identity" = 180081 ORDER BY "item_info"."i_identity" ASC 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 3678</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">// maker_info,item_infoの読み込み</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $item_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">'item_info'</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $rs_item_info </span><span style="color: #007700">= </span><span style="color: #0000BB">$item_info</span><span style="color: #007700">-></span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #DD0000">'all'</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: #DD0000">'conditions' </span><span style="color: #007700">=> [</span><span style="color: #0000BB">$conditions</span><span style="color: #007700">],</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'limit' </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-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 2214</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">Item->getItemByIdentity()</a> <div id="file-excerpt-8" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $rs_item_info </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getItem</span><span style="color: #007700">(</span><span style="color: #0000BB">$conditions</span><span style="color: #007700">, </span><span style="color: #0000BB">1</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $i_identity </span><span style="color: #007700">= isset(</span><span style="color: #0000BB">$this</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 style="color: #0000BB">0</span><span style="color: #007700">][</span><span style="color: #DD0000">'i_identity'</span><span style="color: #007700">]) ? </span><span style="color: #0000BB">$this</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 style="color: #0000BB">0</span><span style="color: #007700">][</span><span style="color: #DD0000">'i_identity'</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">$i_identity </span><span style="color: #007700">!= </span><span style="color: #DD0000">""</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">getItemByIdentity</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"> </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/uniform1sp.com/htdocs/common/item/mod_item.php line 366</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">Item->getItemByCodeFirst()</a> <div id="file-excerpt-9" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (empty(</span><span style="color: #0000BB">$setitem_i_code</span><span style="color: #007700">) or (</span><span style="color: #0000BB">$i_code </span><span style="color: #007700">== </span><span style="color: #0000BB">$setitem_i_code</span><span style="color: #007700">)) {
</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">continue;
</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"> $ret_set_item </span><span style="color: #007700">= </span><span style="color: #0000BB">$item</span><span style="color: #007700">-></span><span style="color: #0000BB">getItemByCodeFirst</span><span style="color: #007700">(</span><span style="color: #0000BB">$setitem_i_code</span><span style="color: #007700">, </span><span style="color: #0000BB">$i_maker_code</span><span style="color: #007700">, </span><span style="color: #0000BB">$site_category</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">$ret_set_item </span><span style="color: #007700">> </span><span style="color: #0000BB">0</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/uniform1sp.com/htdocs/mod_rewrite.php line 47</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">require_once(string)</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">exit;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">case </span><span style="color: #DD0000">"item"</span><span style="color: #007700">:</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// 商品ページの場合、共通ページに遷移する</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">U1SP_PATH </span><span style="color: #007700">. </span><span style="color: #DD0000">"common/item/mod_item.php"</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-10" class="cake-code-dump" style="display: none;"><pre>'/home/uniform1sp.com/htdocs/common/item/mod_item.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('cakeErr6a3a0e9e255a7-trace').style.display = (document.getElementById('cakeErr6a3a0e9e255a7-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="cakeErr6a3a0e9e255a7-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a3a0e9e255a7-code').style.display = (document.getElementById('cakeErr6a3a0e9e255a7-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a3a0e9e255a7-context').style.display = (document.getElementById('cakeErr6a3a0e9e255a7-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6a3a0e9e255a7-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="cakeErr6a3a0e9e255a7-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('cakeErr6a3a0e9e258cb-trace').style.display = (document.getElementById('cakeErr6a3a0e9e258cb-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="cakeErr6a3a0e9e258cb-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a3a0e9e258cb-code').style.display = (document.getElementById('cakeErr6a3a0e9e258cb-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a3a0e9e258cb-context').style.display = (document.getElementById('cakeErr6a3a0e9e258cb-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6a3a0e9e258cb-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="cakeErr6a3a0e9e258cb-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('cakeErr6a3a0e9e25c0b-trace').style.display = (document.getElementById('cakeErr6a3a0e9e25c0b-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="cakeErr6a3a0e9e25c0b-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a3a0e9e25c0b-code').style.display = (document.getElementById('cakeErr6a3a0e9e25c0b-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a3a0e9e25c0b-context').style.display = (document.getElementById('cakeErr6a3a0e9e25c0b-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6a3a0e9e25c0b-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="cakeErr6a3a0e9e25c0b-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_17821897266a3a0e9e259bd3_97644042" summary="Cake SQL Log" cellspacing="0"><caption>(default) 38 queries took 194 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>
</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_17821897266a3a0e9e259bd3_97644042" summary="Cake SQL Log" cellspacing="0"><caption>(default) 38 queries took 194 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>
</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('cakeErr6a3a0e9e25f7a-trace').style.display = (document.getElementById('cakeErr6a3a0e9e25f7a-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="cakeErr6a3a0e9e25f7a-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a3a0e9e25f7a-code').style.display = (document.getElementById('cakeErr6a3a0e9e25f7a-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a3a0e9e25f7a-context').style.display = (document.getElementById('cakeErr6a3a0e9e25f7a-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6a3a0e9e25f7a-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="cakeErr6a3a0e9e25f7a-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_17821897266a3a0e9e259bd3_97644042" summary="Cake SQL Log" cellspacing="0"><caption>(default) 38 queries took 194 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>
</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_17821897266a3a0e9e259bd3_97644042" summary="Cake SQL Log" cellspacing="0"><caption>(default) 38 queries took 194 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>
</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_17821897266a3a0e9e259bd3_97644042" summary="Cake SQL Log" cellspacing="0"><caption>(default) 38 queries took 194 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>
</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 item_info.* AS item_info, maker.* AS maker, bunrui2.* AS bunrui2, bunrui1.* AS bunrui1, itemcode.* AS itemcode, catalog.* AS catalog FROM "public"."item_info" AS "item_info" left JOIN "public"."bunrui1_info" AS "bunrui1" ON ("item_info"."i_category_code1" = "bunrui1"."b1_code") left JOIN "public"."bunrui2_info" AS "bunrui2" ON ("item_info"."i_category_code2" = "bunrui2"."b2_code") left JOIN "public"."maker_info" AS "maker" ON ("item_info"."i_maker_code" = "maker"."mk_code") left JOIN "public"."itemcode_info" AS "itemcode" ON ("item_info"."i_item_code" = "itemcode"."ic_code") left JOIN "public"."catalog_info" AS "catalog" ON ("item_info"."i_catalog_code" = "catalog"."cl_code") WHERE "i_identity" = 180081 ORDER BY "item_info"."i_identity" ASC 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 3678</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">// maker_info,item_infoの読み込み</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $item_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">'item_info'</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $rs_item_info </span><span style="color: #007700">= </span><span style="color: #0000BB">$item_info</span><span style="color: #007700">-></span><span style="color: #0000BB">find</span><span style="color: #007700">(</span><span style="color: #DD0000">'all'</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: #DD0000">'conditions' </span><span style="color: #007700">=> [</span><span style="color: #0000BB">$conditions</span><span style="color: #007700">],</span></span></code></span>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #DD0000">'limit' </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-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 2214</a> → <a href="#" onclick="traceToggle(event, 'trace-args-8')">Item->getItemByIdentity()</a> <div id="file-excerpt-8" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> $rs_item_info </span><span style="color: #007700">= </span><span style="color: #0000BB">$this</span><span style="color: #007700">-></span><span style="color: #0000BB">getItem</span><span style="color: #007700">(</span><span style="color: #0000BB">$conditions</span><span style="color: #007700">, </span><span style="color: #0000BB">1</span><span style="color: #007700">);</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> $i_identity </span><span style="color: #007700">= isset(</span><span style="color: #0000BB">$this</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 style="color: #0000BB">0</span><span style="color: #007700">][</span><span style="color: #DD0000">'i_identity'</span><span style="color: #007700">]) ? </span><span style="color: #0000BB">$this</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 style="color: #0000BB">0</span><span style="color: #007700">][</span><span style="color: #DD0000">'i_identity'</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">$i_identity </span><span style="color: #007700">!= </span><span style="color: #DD0000">""</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">getItemByIdentity</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"> </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/uniform1sp.com/htdocs/common/item/mod_item.php line 366</a> → <a href="#" onclick="traceToggle(event, 'trace-args-9')">Item->getItemByCodeFirst()</a> <div id="file-excerpt-9" class="cake-code-dump" style="display:none;"><pre><code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">if (empty(</span><span style="color: #0000BB">$setitem_i_code</span><span style="color: #007700">) or (</span><span style="color: #0000BB">$i_code </span><span style="color: #007700">== </span><span style="color: #0000BB">$setitem_i_code</span><span style="color: #007700">)) {
</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">continue;
</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"> $ret_set_item </span><span style="color: #007700">= </span><span style="color: #0000BB">$item</span><span style="color: #007700">-></span><span style="color: #0000BB">getItemByCodeFirst</span><span style="color: #007700">(</span><span style="color: #0000BB">$setitem_i_code</span><span style="color: #007700">, </span><span style="color: #0000BB">$i_maker_code</span><span style="color: #007700">, </span><span style="color: #0000BB">$site_category</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">$ret_set_item </span><span style="color: #007700">> </span><span style="color: #0000BB">0</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/uniform1sp.com/htdocs/mod_rewrite.php line 47</a> → <a href="#" onclick="traceToggle(event, 'trace-args-10')">require_once(string)</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">exit;</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #007700">case </span><span style="color: #DD0000">"item"</span><span style="color: #007700">:</span></span></code>
<code><span style="color: #000000"><span style="color: #0000BB"> </span><span style="color: #FF8000">// 商品ページの場合、共通ページに遷移する</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">U1SP_PATH </span><span style="color: #007700">. </span><span style="color: #DD0000">"common/item/mod_item.php"</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-10" class="cake-code-dump" style="display: none;"><pre>'/home/uniform1sp.com/htdocs/common/item/mod_item.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('cakeErr6a3a0e9e255a7-trace').style.display = (document.getElementById('cakeErr6a3a0e9e255a7-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="cakeErr6a3a0e9e255a7-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a3a0e9e255a7-code').style.display = (document.getElementById('cakeErr6a3a0e9e255a7-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a3a0e9e255a7-context').style.display = (document.getElementById('cakeErr6a3a0e9e255a7-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6a3a0e9e255a7-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="cakeErr6a3a0e9e255a7-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('cakeErr6a3a0e9e258cb-trace').style.display = (document.getElementById('cakeErr6a3a0e9e258cb-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="cakeErr6a3a0e9e258cb-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a3a0e9e258cb-code').style.display = (document.getElementById('cakeErr6a3a0e9e258cb-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a3a0e9e258cb-context').style.display = (document.getElementById('cakeErr6a3a0e9e258cb-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6a3a0e9e258cb-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="cakeErr6a3a0e9e258cb-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('cakeErr6a3a0e9e25c0b-trace').style.display = (document.getElementById('cakeErr6a3a0e9e25c0b-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="cakeErr6a3a0e9e25c0b-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a3a0e9e25c0b-code').style.display = (document.getElementById('cakeErr6a3a0e9e25c0b-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a3a0e9e25c0b-context').style.display = (document.getElementById('cakeErr6a3a0e9e25c0b-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6a3a0e9e25c0b-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="cakeErr6a3a0e9e25c0b-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_17821897266a3a0e9e259bd3_97644042" summary="Cake SQL Log" cellspacing="0"><caption>(default) 38 queries took 194 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>
</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_17821897266a3a0e9e259bd3_97644042" summary="Cake SQL Log" cellspacing="0"><caption>(default) 38 queries took 194 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>
</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('cakeErr6a3a0e9e25f7a-trace').style.display = (document.getElementById('cakeErr6a3a0e9e25f7a-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="cakeErr6a3a0e9e25f7a-trace" class="cake-stack-trace" style="display: none;"><a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a3a0e9e25f7a-code').style.display = (document.getElementById('cakeErr6a3a0e9e25f7a-code').style.display == 'none' ? '' : 'none')">Code</a> <a href="javascript:void(0);" onclick="document.getElementById('cakeErr6a3a0e9e25f7a-context').style.display = (document.getElementById('cakeErr6a3a0e9e25f7a-context').style.display == 'none' ? '' : 'none')">Context</a><pre id="cakeErr6a3a0e9e25f7a-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="cakeErr6a3a0e9e25f7a-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_17821897266a3a0e9e259bd3_97644042" summary="Cake SQL Log" cellspacing="0"><caption>(default) 38 queries took 194 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>
</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_17821897266a3a0e9e259bd3_97644042" summary="Cake SQL Log" cellspacing="0"><caption>(default) 38 queries took 194 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>
</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_17821897266a3a0e9e259bd3_97644042" summary="Cake SQL Log" cellspacing="0"><caption>(default) 38 queries took 194 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>
</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 item_info.* AS item_info, maker.* AS maker, bunrui2.* AS bunrui2, bunrui1.* AS bunrui1, itemcode.* AS itemcode, catalog.* AS catalog FROM "public"."item_info" AS "item_info" left JOIN "public"."bunrui1_info" AS "bunrui1" ON ("item_info"."i_category_code1" = "bunrui1"."b1_code") left JOIN "public"."bunrui2_info" AS "bunrui2" ON ("item_info"."i_category_code2" = "bunrui2"."b2_code") left JOIN "public"."maker_info" AS "maker" ON ("item_info"."i_maker_code" = "maker"."mk_code") left JOIN "public"."itemcode_info" AS "itemcode" ON ("item_info"."i_item_code" = "itemcode"."ic_code") left JOIN "public"."catalog_info" AS "catalog" ON ("item_info"."i_catalog_code" = "catalog"."cl_code") WHERE "i_identity" = 180081 ORDER BY "item_info"."i_identity" ASC 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 3678 → AppModel->find() // maker_info,item_infoの読み込み
$item_info = ClassRegistry :: init ( 'item_info' );
$rs_item_info = $item_info -> find ( 'all' , [
'conditions' => [ $conditions ],
'limit' => 1 ,
APP/Model/Item.php line 2214 → Item->getItemByIdentity() $rs_item_info = $this -> getItem ( $conditions , 1 );
$i_identity = isset( $this -> data [ 'Item' ][ 0 ][ 'i_identity' ]) ? $this -> data [ 'Item' ][ 0 ][ 'i_identity' ] : "" ;
if ( $i_identity != "" ) {
$this -> getItemByIdentity ( $i_identity );
}
/home/uniform1sp.com/htdocs/common/item/mod_item.php line 366 → Item->getItemByCodeFirst() if (empty( $setitem_i_code ) or ( $i_code == $setitem_i_code )) {
continue;
}
$ret_set_item = $item -> getItemByCodeFirst ( $setitem_i_code , $i_maker_code , $site_category );
if ( $ret_set_item > 0 ) {
/home/uniform1sp.com/htdocs/mod_rewrite.php line 47 → require_once(string) exit;
case "item" :
// 商品ページの場合、共通ページに遷移する
require_once( U1SP_PATH . "common/item/mod_item.php" );
exit; '/home/uniform1sp.com/htdocs/common/item/mod_item.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_17821897266a3a0e9e259bd3_97644042" summary="Cake SQL Log" cellspacing="0"><caption>(default) 38 queries took 194 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>
</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_17821897266a3a0e9e259bd3_97644042" summary="Cake SQL Log" cellspacing="0"><caption>(default) 38 queries took 194 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>
</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_17821897266a3a0e9e259bd3_97644042" summary="Cake SQL Log" cellspacing="0"><caption>(default) 38 queries took 194 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>
</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_17821897266a3a0e9e259bd3_97644042" summary="Cake SQL Log" cellspacing="0"><caption>(default) 38 queries took 194 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>
</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) 38 queries took 194 ms
Nr Query Error Affected Num. rows Took (ms)