Notice (8): Undefined index: Ambiente [APP/Controller/ProdutosController.php, line 123]Code Context$this->loadModel('Ambiente');
$origem_nome = $this->Ambiente->getById($ambiente_id);
$origem_nome = $origem_nome['Ambiente']['nome'];
$id = '638' $slug = 'Poltrona-Bruxelas' $origem = 'ambiente' $origem_id = 'function.session-start' $produto = array( 'Produto' => array( 'id' => '638', 'user_id' => '2', 'status' => 'N', 'nome' => 'Poltrona Bruxelas', 'descricao' => '<span style="color: rgb(147, 149, 151); font-family: Arial, Helvetica, sans-serif; font-size: 12px; line-height: 16.2000007629395px;">Poltrona em fibra sintética com estrutura em madeira e alumínio, ideal para sacadas, varandas e churrasqueiras. Resistente a sol e maresia, é indicada para uso interno e também em regiões litorâneas. Estofamento em tecido impermeável com mais de 20 opções estampas para escolha, com espuma densidade 23 e fibra siliconada. Vários padrões de fibra sintética para escolha. Valor referente à poltrona individual. </span>', 'promocao' => '0', 'destaque' => '1', 'preco_de' => '0.00', 'preco' => '0.00', 'parcelas' => '8', 'largura' => '89', 'altura' => '78', 'profundidade' => '81', 'ordem' => '999', 'meta_title' => 'Poltrona alumínio fibra sintetica Bruxelas', 'meta_keywords' => 'Poltrona alumínio fibra sintetica Bruxelas', 'meta_description' => 'Poltrona alumínio fibra sintetica Bruxelas', 'created' => '2017-07-18 10:20:52', 'modified' => '2021-01-06 15:55:20', 'deleted' => false, 'views' => '0' ) ) $fotos = array( (int) 0 => array( 'ProdutoFoto' => array( 'arquivo' => '596e0aca757eb3.62250516.jpg' ) ), (int) 1 => array( 'ProdutoFoto' => array( 'arquivo' => '596e0ac94abc44.07678384.jpg' ) ), (int) 2 => array( 'ProdutoFoto' => array( 'arquivo' => '596e0acb97f520.98589981.jpg' ) ) ) $foto = array( 'ProdutoFoto' => array( 'arquivo' => '596e0aca757eb3.62250516.jpg' ) ) $img = 'http://versatilemoveis.com.br/img/upload/produto/600w/596e0aca757eb3.62250516.jpg' $meta_title = 'Poltrona alumínio fibra sintetica Bruxelas' $meta_keywords = 'Poltrona alumínio fibra sintetica Bruxelas' $meta_description = 'Poltrona alumínio fibra sintetica Bruxelas' $meta = '<meta property="og:title" content="Poltrona alumínio fibra sintetica Bruxelas" /><meta property="og:url" content="http://versatilemoveis.com.br/produto/638-Poltrona-Bruxelas" /><meta property="og:type" content="article" /><meta property="og:image" content="http://versatilemoveis.com.br/img/upload/produto/600w/596e0aca757eb3.62250516.jpg" /><meta property="og:site_name" content="Versatile Móveis" /><meta property="og:description" content="Poltrona alumínio fibra sintetica Bruxelas" />' $ambiente_id = 'function.session' $origem_nome = array()ProdutosController::ver() - APP/Controller/ProdutosController.php, line 123 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 193 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 167 [main] - APP/webroot/index.php, line 108
Error: SQLSTATE[42S22]: Column not found: 1054 Coluna 'function.session' desconhecida em 'where clause'
SQL Query: SELECT `Produto`.`id`, `Produto`.`nome`, `Produto`.`preco`, `Produto`.`preco_de`, `Produto`.`parcelas`, `Produto`.`promocao`, (select arquivo from produto_fotos where produto_id = Produto.id and deleted = 0 order by ordem, id limit 1) as foto1, (select arquivo from produto_fotos where produto_id = Produto.id and deleted = 0 order by ordem, id limit 1 offset 1) as foto2 FROM `versatilemovei02`.`produtos` AS `Produto` WHERE `Produto`.`deleted` = '0' AND `Produto`.`status` = 'P' AND `Produto`.`id` in (select produto_id from produto_ambientes where ambiente_id = `function`.`session`) ORDER BY rand() ASC LIMIT 6
Notice: If you want to customize this error message, create app/View/Errors/pdo_error.ctp
try {
$query = $this->_connection->prepare($sql, $prepareOptions);
$query->setFetchMode(PDO::FETCH_LAZY);
if (!$query->execute($params)) {
$this->_results = $query;
array()
$options += array('log' => $this->fullDebug);
$t = microtime(true);
$this->_result = $this->_execute($sql, $params);
'SELECT `Produto`.`id`, `Produto`.`nome`, `Produto`.`preco`, `Produto`.`preco_de`, `Produto`.`parcelas`, `Produto`.`promocao`, (select arquivo from produto_fotos where produto_id = Produto.id and deleted = 0 order by ordem, id limit 1) as foto1, (select arquivo from produto_fotos where produto_id = Produto.id and deleted = 0 order by ordem, id limit 1 offset 1) as foto2 FROM `versatilemovei02`.`produtos` AS `Produto` WHERE `Produto`.`deleted` = '0' AND `Produto`.`status` = 'P' AND `Produto`.`id` in (select produto_id from produto_ambientes where ambiente_id = `function`.`session`) ORDER BY rand() ASC LIMIT 6' array()
if ($cache && ($cached = $this->getQueryCache($sql, $params)) !== false) {
return $cached;
}
$result = $this->execute($sql, array(), $params);
if ($result) {
'SELECT `Produto`.`id`, `Produto`.`nome`, `Produto`.`preco`, `Produto`.`preco_de`, `Produto`.`parcelas`, `Produto`.`promocao`, (select arquivo from produto_fotos where produto_id = Produto.id and deleted = 0 order by ordem, id limit 1) as foto1, (select arquivo from produto_fotos where produto_id = Produto.id and deleted = 0 order by ordem, id limit 1 offset 1) as foto2 FROM `versatilemovei02`.`produtos` AS `Produto` WHERE `Produto`.`deleted` = '0' AND `Produto`.`status` = 'P' AND `Produto`.`id` in (select produto_id from produto_ambientes where ambiente_id = `function`.`session`) ORDER BY rand() ASC LIMIT 6' array() array()
// 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);
'SELECT `Produto`.`id`, `Produto`.`nome`, `Produto`.`preco`, `Produto`.`preco_de`, `Produto`.`parcelas`, `Produto`.`promocao`, (select arquivo from produto_fotos where produto_id = Produto.id and deleted = 0 order by ordem, id limit 1) as foto1, (select arquivo from produto_fotos where produto_id = Produto.id and deleted = 0 order by ordem, id limit 1 offset 1) as foto2 FROM `versatilemovei02`.`produtos` AS `Produto` WHERE `Produto`.`deleted` = '0' AND `Produto`.`status` = 'P' AND `Produto`.`id` in (select produto_id from produto_ambientes where ambiente_id = `function`.`session`) ORDER BY rand() ASC LIMIT 6' false
* @return array
*/
protected function _readDataSource($type, $query) {
$results = $this->getDataSource()->read($this, $query);
$this->resetAssociations();
object(Produto) { name => 'Produto' displayField => 'nome' validate => array( 'nome' => array( 'notempty' => array( [maximum depth reached] ) ), 'status' => array( 'notempty' => array( [maximum depth reached] ) ), 'valor' => array( 'notempty' => array( [maximum depth reached] ) ), 'peso' => array( 'notempty' => array( [maximum depth reached] ) ) ) belongsTo => array( 'User' => array( 'className' => 'User', 'foreignKey' => 'user_id', 'conditions' => '', 'fields' => '', 'order' => '', 'counterCache' => '' ) ) hasMany => array( 'ProdutoFoto' => array( 'className' => 'ProdutoFoto', 'foreignKey' => 'produto_id', 'dependent' => false, 'conditions' => array( [maximum depth reached] ), 'fields' => '', 'order' => 'ProdutoFoto.ordem', 'limit' => '', 'offset' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ), 'ProdutoCategoria' => array( 'className' => 'ProdutoCategoria', 'foreignKey' => 'produto_id', 'dependent' => false, 'conditions' => array([maximum depth reached]), 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ), 'ProdutoAmbiente' => array( 'className' => 'ProdutoAmbiente', 'foreignKey' => 'produto_id', 'dependent' => false, 'conditions' => array([maximum depth reached]), 'fields' => '', 'order' => '', 'limit' => '', 'offset' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ) ) actsAs => array( (int) 0 => 'Search.Searchable' ) filterArgs => array( 'id' => array( 'type' => 'value' ), 'nome' => array( 'type' => 'like' ), 'status' => array( 'type' => 'value' ), 'categoria' => array( 'type' => 'query', 'method' => 'custom_filter_categoria' ), 'ambiente' => array( 'type' => 'query', 'method' => 'custom_filter_ambiente' ) ) useDbConfig => 'default' useTable => 'produtos' id => false data => array() schemaName => 'versatilemovei02' table => 'produtos' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' plugin => null alias => 'Produto' tableToModel => array( 'produtos' => 'Produto' ) cacheQueries => false hasOne => array() hasAndBelongsToMany => array() Behaviors => object(BehaviorCollection) { modelName => 'Produto' defaultPriority => (int) 10 [protected] _methods => array( [maximum depth reached] ) [protected] _mappedMethods => array([maximum depth reached]) [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } whitelist => array() cacheSources => true findQueryType => 'all' recursive => (int) -1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) [protected] _schema => array( 'id' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 11, 'unsigned' => false, 'key' => 'primary' ), 'user_id' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 11, 'unsigned' => false ), 'status' => array( 'type' => 'string', 'null' => false, 'default' => 'N', 'length' => (int) 1, 'collate' => 'utf8_general_ci', 'comment' => 'P => Publicado, N => Nao publicado', 'charset' => 'utf8' ), 'nome' => array( 'type' => 'string', 'null' => false, 'default' => null, 'length' => (int) 200, 'collate' => 'utf8_general_ci', 'charset' => 'utf8' ), 'descricao' => array( 'type' => 'text', 'null' => true, 'default' => null, 'length' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8' ), 'promocao' => array( 'type' => 'integer', 'null' => false, 'default' => '0', 'length' => (int) 1, 'unsigned' => false ), 'destaque' => array( 'type' => 'integer', 'null' => false, 'default' => '0', 'length' => (int) 1, 'unsigned' => false ), 'preco_de' => array( 'type' => 'decimal', 'null' => true, 'default' => null, 'length' => '10,2', 'unsigned' => false ), 'preco' => array( 'type' => 'decimal', 'null' => false, 'default' => null, 'length' => '10,2', 'unsigned' => false ), 'parcelas' => array( 'type' => 'integer', 'null' => true, 'default' => '0', 'length' => (int) 11, 'unsigned' => false ), 'largura' => array( 'type' => 'integer', 'null' => true, 'default' => null, 'length' => (int) 11, 'unsigned' => false ), 'altura' => array( 'type' => 'integer', 'null' => true, 'default' => null, 'length' => (int) 11, 'unsigned' => false ), 'profundidade' => array( 'type' => 'integer', 'null' => true, 'default' => null, 'length' => (int) 11, 'unsigned' => false ), 'ordem' => array( 'type' => 'integer', 'null' => false, 'default' => '999', 'length' => (int) 11, 'unsigned' => false ), 'meta_title' => array( 'type' => 'string', 'null' => false, 'default' => '', 'length' => (int) 100, 'collate' => 'utf8_general_ci', 'charset' => 'utf8' ), 'meta_keywords' => array( 'type' => 'string', 'null' => false, 'default' => '', 'length' => (int) 255, 'collate' => 'utf8_general_ci', 'charset' => 'utf8' ), 'meta_description' => array( 'type' => 'text', 'null' => true, 'default' => null, 'length' => null, 'collate' => 'utf8_general_ci', 'charset' => 'utf8' ), 'created' => array( 'type' => 'datetime', 'null' => false, 'default' => null, 'length' => null ), 'modified' => array( 'type' => 'datetime', 'null' => false, 'default' => null, 'length' => null ), 'deleted' => array( 'type' => 'boolean', 'null' => false, 'default' => '0', 'length' => (int) 1 ), 'views' => array( 'type' => 'integer', 'null' => false, 'default' => '0', 'length' => (int) 11, 'unsigned' => false ) ) [protected] _associationKeys => array( 'belongsTo' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'counterCache' ), 'hasOne' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'dependent' ), 'hasMany' => array( (int) 0 => 'className', (int) 1 => 'foreignKey', (int) 2 => 'conditions', (int) 3 => 'fields', (int) 4 => 'order', (int) 5 => 'limit', (int) 6 => 'offset', (int) 7 => 'dependent', (int) 8 => 'exclusive', (int) 9 => 'finderQuery', (int) 10 => 'counterQuery' ), 'hasAndBelongsToMany' => array( (int) 0 => 'className', (int) 1 => 'joinTable', (int) 2 => 'with', (int) 3 => 'foreignKey', (int) 4 => 'associationForeignKey', (int) 5 => 'conditions', (int) 6 => 'fields', (int) 7 => 'order', (int) 8 => 'limit', (int) 9 => 'offset', (int) 10 => 'unique', (int) 11 => 'finderQuery' ) ) [protected] _associations => array( (int) 0 => 'belongsTo', (int) 1 => 'hasOne', (int) 2 => 'hasMany', (int) 3 => 'hasAndBelongsToMany' ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } [protected] _validator => null } array( 'conditions' => array( 'Produto.deleted' => '0', 'Produto.status' => 'P', (int) 0 => 'Produto.id in (select produto_id from produto_ambientes where ambiente_id = function.session)' ), 'fields' => array( (int) 0 => 'Produto.id', (int) 1 => 'Produto.nome', (int) 2 => 'Produto.preco', (int) 3 => 'Produto.preco_de', (int) 4 => 'Produto.parcelas', (int) 5 => 'Produto.promocao', (int) 6 => '(select arquivo from produto_fotos where produto_id = Produto.id and deleted = 0 order by ordem, id limit 1) as foto1', (int) 7 => '(select arquivo from produto_fotos where produto_id = Produto.id and deleted = 0 order by ordem, id limit 1 offset 1) as foto2' ), 'joins' => array(), 'limit' => (int) 6, 'offset' => null, 'order' => array( (int) 0 => 'rand()' ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) -1 )
return null;
}
return $this->_readDataSource($type, $query);
}
'all' array( 'conditions' => array( 'Produto.deleted' => '0', 'Produto.status' => 'P', (int) 0 => 'Produto.id in (select produto_id from produto_ambientes where ambiente_id = function.session)' ), 'fields' => array( (int) 0 => 'Produto.id', (int) 1 => 'Produto.nome', (int) 2 => 'Produto.preco', (int) 3 => 'Produto.preco_de', (int) 4 => 'Produto.parcelas', (int) 5 => 'Produto.promocao', (int) 6 => '(select arquivo from produto_fotos where produto_id = Produto.id and deleted = 0 order by ordem, id limit 1) as foto1', (int) 7 => '(select arquivo from produto_fotos where produto_id = Produto.id and deleted = 0 order by ordem, id limit 1 offset 1) as foto2' ), 'joins' => array(), 'limit' => (int) 6, 'offset' => null, 'order' => array( (int) 0 => 'rand()' ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) -1 )
'limit' => $limit,
'order' => $order,
);
return $this->find('all', $params);
}
'all' array( 'conditions' => array( 'Produto.deleted' => '0', 'Produto.status' => 'P', (int) 0 => 'Produto.id in (select produto_id from produto_ambientes where ambiente_id = function.session)' ), 'fields' => array( (int) 0 => 'Produto.id', (int) 1 => 'Produto.nome', (int) 2 => 'Produto.preco', (int) 3 => 'Produto.preco_de', (int) 4 => 'Produto.parcelas', (int) 5 => 'Produto.promocao', (int) 6 => '(select arquivo from produto_fotos where produto_id = Produto.id and deleted = 0 order by ordem, id limit 1) as foto1', (int) 7 => '(select arquivo from produto_fotos where produto_id = Produto.id and deleted = 0 order by ordem, id limit 1 offset 1) as foto2' ), 'recursive' => (int) -1, 'limit' => (int) 6, 'order' => 'rand()' )
$origem_nome = $this->Ambiente->getById($ambiente_id);
$origem_nome = $origem_nome['Ambiente']['nome'];
$produtos = $this->Produto->retornaListaAmbiente($ambiente_id, 6, 'rand()');
$this->set(compact('produtos', 'origem_nome'));
'function.session' (int) 6 'rand()'
'638' 'Poltrona-Bruxelas' 'ambiente' 'function.session-start'
'action' => $request->params['action']
));
}
return $method->invokeArgs($this, $request->params['pass']);
object(ProdutosController) { uses => array( (int) 0 => 'Produto', (int) 1 => 'Categoria', (int) 2 => 'Ambiente', (int) 3 => 'Config' ) components => array( 'Acl' => null, 'Auth' => array( 'authorize' => array( [maximum depth reached] ) ), 'Session' => null, 'RequestHandler' => null, 'Paginator' => array( 'paramType' => 'querystring' ), 'Search.Prg' => array( 'commonProcess' => array( [maximum depth reached] ), 'presetForm' => array( [maximum depth reached] ) ) ) website_title => 'Versatile Móveis' email => null name => 'Produtos' helpers => array() request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'produto/638-Poltrona-Bruxelas/ambiente/function.session-start' base => '' webroot => '/' here => '/produto/638-Poltrona-Bruxelas/ambiente/function.session-start' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } response => object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) } viewPath => 'Produtos' layoutPath => null viewVars => array( 'meta_description' => 'Poltrona alumínio fibra sintetica Bruxelas', 'meta_keywords' => 'Poltrona alumínio fibra sintetica Bruxelas', 'meta_title' => 'Poltrona alumínio fibra sintetica Bruxelas', 'meta' => '<meta property="og:title" content="Poltrona alumínio fibra sintetica Bruxelas" /><meta property="og:url" content="http://versatilemoveis.com.br/produto/638-Poltrona-Bruxelas" /><meta property="og:type" content="article" /><meta property="og:image" content="http://versatilemoveis.com.br/img/upload/produto/600w/596e0aca757eb3.62250516.jpg" /><meta property="og:site_name" content="Versatile Móveis" /><meta property="og:description" content="Poltrona alumínio fibra sintetica Bruxelas" />', 'produto' => array( 'Produto' => array( [maximum depth reached] ) ), 'fotos' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ), 'origem' => 'ambiente', 'origem_id' => 'function.session-start', 'title_for_layout' => 'Produtos', 'website_config' => array( 'titulo_site' => 'Versatile Móveis', 'telefone' => '41 3336 6718 41 3336 1856', 'email' => 'contato@versatilemoveis.com.br', 'endereco' => 'Av. Manoel Ribas, 4101<br>Santa Felicidade, Curitiba - PR', 'horario' => 'Horário de atendimento<br>Segunda à sábado - 9:30 às 18:00h<br>', 'link_endereco' => 'https://www.google.com.br/maps/place/Av.+Manoel+Ribas,+4101+-+Cascatinha,+Santa+Felicidade,+Curitiba+-+PR/@-25.4133672,-49.3146767,17z/data=!3m1!4b1!4m2!3m1!1s0x94dce1702ac59b5d:0xc32c4a4d3fbb7e0c', 'link_facebook' => 'https://www.facebook.com/Versatilemoveis', 'link_instagram' => 'https://www.instagram.com/versatile_moveis', 'google_analytics' => '<script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-74502539-1', 'auto'); ga('send', 'pageview'); </script>', 'meta_title' => 'Versatile Móveis', 'meta_keywords' => 'cadeira, mesa, sofá, cozinha, sala de estar, home, decoração, arquitetura, interiores, cadeira giratória, cadeira cromada, cadeira de madeira, banqueta, banquetas, bancos', 'meta_description' => 'Móveis de design a preços democráticos', 'formulario_contato_to' => 'contato@versatilemoveis.com.br', 'banner_sec_1' => '6058f2a9ecc4d2.88656720.jpg', 'banner_sec_2' => '557d84574580a0.62859677.png' ), 'website_title' => 'Versatile Móveis' ) view => 'ver' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(ProdutosController) {} [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( (int) 0 => '638', (int) 1 => 'Poltrona-Bruxelas', (int) 2 => 'ambiente', (int) 3 => 'function.session-start' ) scaffold => false methods => array( (int) 1 => 'categoria_ambiente', (int) 2 => 'ver', (int) 3 => 'promocao', (int) 4 => 'admin_index', (int) 5 => 'admin_duplicar', (int) 6 => 'admin_edit', (int) 7 => 'admin_delete', (int) 8 => 'admin_upload', (int) 9 => '_get_config_geral', (int) 11 => '_setFlashErro', (int) 12 => '_setFlashSucesso', (int) 13 => '_uploadFoto', (int) 14 => '_uploadFile', (int) 15 => '_dmy_to_ymd', (int) 16 => '_ymd_to_dmy', (int) 17 => '_dmyhis_to_ymdhis', (int) 18 => '_ymdhis_to_dmyhis', (int) 19 => '_envia_email', (int) 20 => '_configura_email', (int) 21 => '_retornaPathProduto', (int) 22 => '_retornaPathCategoria', (int) 23 => '_retornaPathSlideshow', (int) 24 => '_retornaPathMegamenu', (int) 25 => '_retornaPathStatic', (int) 26 => '_retornaUrlProduto', (int) 27 => '_retornaUrlCategoria', (int) 28 => '_retornaUrlSlideshow', (int) 29 => '_retornaUrlMegamenu', (int) 30 => '_retornaUrlStatic', (int) 31 => '_cria_nonce', (int) 32 => '_monta_submenu', (int) 33 => '_sendMailContato' ) modelClass => 'Produto' modelKey => 'produto' validationErrors => null Acl => object(AclComponent) { Aro => object(Aro) {} Aco => object(Aco) {} settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Instance => object(CacheDbAcl) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Auth => object(AuthComponent) { components => array( [maximum depth reached] ) authenticate => array( [maximum depth reached] ) authorize => array( [maximum depth reached] ) ajaxLogin => null flash => array( [maximum depth reached] ) loginAction => array( [maximum depth reached] ) loginRedirect => array( [maximum depth reached] ) logoutRedirect => array( [maximum depth reached] ) authError => 'É necessário efetuar login no sistema' unauthorizedRedirect => true allowedActions => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} settings => array( [maximum depth reached] ) loginError => 'Falha na autenticação' userScope => array( [maximum depth reached] ) [protected] _authenticateObjects => array([maximum depth reached]) [protected] _authorizeObjects => array([maximum depth reached]) [protected] _user => array([maximum depth reached]) [protected] _methods => array( [maximum depth reached] ) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Session => object(SessionComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } RequestHandler => object(RequestHandlerComponent) { ajaxLayout => 'ajax' enabled => true request => object(CakeRequest) {} response => object(CakeResponse) {} ext => null settings => array( [maximum depth reached] ) components => array([maximum depth reached]) params => object(CakeRequest) {} [protected] _renderType => null [protected] _inputTypeMap => array( [maximum depth reached] ) [protected] _viewClassMap => array( [maximum depth reached] ) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Paginator => object(PaginatorComponent) { settings => array( [maximum depth reached] ) whitelist => array( [maximum depth reached] ) components => array([maximum depth reached]) Controller => object(ProdutosController) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Prg => object(PrgComponent) { actions => array([maximum depth reached]) encode => false isSearch => false settings => array([maximum depth reached]) components => array([maximum depth reached]) controller => object(ProdutosController) {} [protected] _parsedParams => array([maximum depth reached]) [protected] _defaults => array( [maximum depth reached] ) [protected] _Collection => null [protected] _componentMap => array([maximum depth reached]) } presetVars => array( (int) 0 => array( 'type' => 'value', 'field' => 'id' ), (int) 1 => array( 'type' => 'value', 'field' => 'nome' ), (int) 2 => array( 'type' => 'value', 'field' => 'status' ), (int) 3 => array( 'type' => 'value', 'method' => 'custom_filter_categoria', 'field' => 'categoria' ), (int) 4 => array( 'type' => 'value', 'method' => 'custom_filter_ambiente', 'field' => 'ambiente' ) ) Produto => object(Produto) { name => 'Produto' displayField => 'nome' validate => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) actsAs => array( [maximum depth reached] ) filterArgs => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'produtos' id => false data => array([maximum depth reached]) schemaName => 'versatilemovei02' table => 'produtos' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'Produto' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => 'all' recursive => (int) -1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false findMethods => array( [maximum depth reached] ) [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } Config => object(Config) { name => 'Config' useDbConfig => 'default' useTable => 'configs' id => null data => array([maximum depth reached]) schemaName => null table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null plugin => null alias => 'Config' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false findMethods => array( [maximum depth reached] ) [protected] _schema => null [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => false [protected] _eventManager => null [protected] _validator => null } Ambiente => object(Ambiente) { name => 'Ambiente' displayField => 'nome' actsAs => array( [maximum depth reached] ) filterArgs => array( [maximum depth reached] ) validate => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'ambientes' id => false data => array([maximum depth reached]) schemaName => 'versatilemovei02' table => 'ambientes' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'Ambiente' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false findMethods => array( [maximum depth reached] ) [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } } array( (int) 0 => '638', (int) 1 => 'Poltrona-Bruxelas', (int) 2 => 'ambiente', (int) 3 => 'function.session-start' )
$response = $controller->response;
$render = true;
$result = $controller->invokeAction($request);
if ($result instanceof CakeResponse) {
object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'produtos', 'action' => 'ver', 'named' => array(), 'pass' => array( (int) 0 => '638', (int) 1 => 'Poltrona-Bruxelas', (int) 2 => 'ambiente', (int) 3 => 'function.session-start' ), 'id' => '638', 'slug' => 'Poltrona-Bruxelas', 'origem' => 'ambiente', 'origem_id' => 'function.session-start', 'isAjax' => false, 'models' => array( 'Config' => array( [maximum depth reached] ), 'Permission' => array( [maximum depth reached] ), 'Aro' => array( [maximum depth reached] ), 'Aco' => array( [maximum depth reached] ), 'Produto' => array( [maximum depth reached] ), 'Ambiente' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'produto/638-Poltrona-Bruxelas/ambiente/function.session-start' base => '' webroot => '/' here => '/produto/638-Poltrona-Bruxelas/ambiente/function.session-start' [protected] _detectors => array( 'get' => array( 'env' => 'REQUEST_METHOD', 'value' => 'GET' ), 'post' => array( 'env' => 'REQUEST_METHOD', 'value' => 'POST' ), 'put' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ), 'delete' => array( 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ), 'head' => array( 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ), 'options' => array( 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ), 'ssl' => array( 'env' => 'HTTPS', 'value' => (int) 1 ), 'ajax' => array( 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ), 'flash' => array( 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ), 'mobile' => array( 'env' => 'HTTP_USER_AGENT', 'options' => array( [maximum depth reached] ) ), 'requested' => array( 'param' => 'requested', 'value' => (int) 1 ) ) [protected] _input => '' }
));
}
$response = $this->_invoke($controller, $request);
if (isset($request->params['return'])) {
object(ProdutosController) { uses => array( (int) 0 => 'Produto', (int) 1 => 'Categoria', (int) 2 => 'Ambiente', (int) 3 => 'Config' ) components => array( 'Acl' => null, 'Auth' => array( 'authorize' => array( [maximum depth reached] ) ), 'Session' => null, 'RequestHandler' => null, 'Paginator' => array( 'paramType' => 'querystring' ), 'Search.Prg' => array( 'commonProcess' => array( [maximum depth reached] ), 'presetForm' => array( [maximum depth reached] ) ) ) website_title => 'Versatile Móveis' email => null name => 'Produtos' helpers => array() request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'produto/638-Poltrona-Bruxelas/ambiente/function.session-start' base => '' webroot => '/' here => '/produto/638-Poltrona-Bruxelas/ambiente/function.session-start' [protected] _detectors => array( [maximum depth reached] ) [protected] _input => '' } response => object(CakeResponse) { [protected] _statusCodes => array( [maximum depth reached] ) [protected] _mimeTypes => array( [maximum depth reached] ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array([maximum depth reached]) [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) } viewPath => 'Produtos' layoutPath => null viewVars => array( 'meta_description' => 'Poltrona alumínio fibra sintetica Bruxelas', 'meta_keywords' => 'Poltrona alumínio fibra sintetica Bruxelas', 'meta_title' => 'Poltrona alumínio fibra sintetica Bruxelas', 'meta' => '<meta property="og:title" content="Poltrona alumínio fibra sintetica Bruxelas" /><meta property="og:url" content="http://versatilemoveis.com.br/produto/638-Poltrona-Bruxelas" /><meta property="og:type" content="article" /><meta property="og:image" content="http://versatilemoveis.com.br/img/upload/produto/600w/596e0aca757eb3.62250516.jpg" /><meta property="og:site_name" content="Versatile Móveis" /><meta property="og:description" content="Poltrona alumínio fibra sintetica Bruxelas" />', 'produto' => array( 'Produto' => array( [maximum depth reached] ) ), 'fotos' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ) ), 'origem' => 'ambiente', 'origem_id' => 'function.session-start', 'title_for_layout' => 'Produtos', 'website_config' => array( 'titulo_site' => 'Versatile Móveis', 'telefone' => '41 3336 6718 41 3336 1856', 'email' => 'contato@versatilemoveis.com.br', 'endereco' => 'Av. Manoel Ribas, 4101<br>Santa Felicidade, Curitiba - PR', 'horario' => 'Horário de atendimento<br>Segunda à sábado - 9:30 às 18:00h<br>', 'link_endereco' => 'https://www.google.com.br/maps/place/Av.+Manoel+Ribas,+4101+-+Cascatinha,+Santa+Felicidade,+Curitiba+-+PR/@-25.4133672,-49.3146767,17z/data=!3m1!4b1!4m2!3m1!1s0x94dce1702ac59b5d:0xc32c4a4d3fbb7e0c', 'link_facebook' => 'https://www.facebook.com/Versatilemoveis', 'link_instagram' => 'https://www.instagram.com/versatile_moveis', 'google_analytics' => '<script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-74502539-1', 'auto'); ga('send', 'pageview'); </script>', 'meta_title' => 'Versatile Móveis', 'meta_keywords' => 'cadeira, mesa, sofá, cozinha, sala de estar, home, decoração, arquitetura, interiores, cadeira giratória, cadeira cromada, cadeira de madeira, banqueta, banquetas, bancos', 'meta_description' => 'Móveis de design a preços democráticos', 'formulario_contato_to' => 'contato@versatilemoveis.com.br', 'banner_sec_1' => '6058f2a9ecc4d2.88656720.jpg', 'banner_sec_2' => '557d84574580a0.62859677.png' ), 'website_title' => 'Versatile Móveis' ) view => 'ver' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(ProdutosController) {} [protected] _enabled => array( [maximum depth reached] ) [protected] _loaded => array( [maximum depth reached] ) } viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( (int) 0 => '638', (int) 1 => 'Poltrona-Bruxelas', (int) 2 => 'ambiente', (int) 3 => 'function.session-start' ) scaffold => false methods => array( (int) 1 => 'categoria_ambiente', (int) 2 => 'ver', (int) 3 => 'promocao', (int) 4 => 'admin_index', (int) 5 => 'admin_duplicar', (int) 6 => 'admin_edit', (int) 7 => 'admin_delete', (int) 8 => 'admin_upload', (int) 9 => '_get_config_geral', (int) 11 => '_setFlashErro', (int) 12 => '_setFlashSucesso', (int) 13 => '_uploadFoto', (int) 14 => '_uploadFile', (int) 15 => '_dmy_to_ymd', (int) 16 => '_ymd_to_dmy', (int) 17 => '_dmyhis_to_ymdhis', (int) 18 => '_ymdhis_to_dmyhis', (int) 19 => '_envia_email', (int) 20 => '_configura_email', (int) 21 => '_retornaPathProduto', (int) 22 => '_retornaPathCategoria', (int) 23 => '_retornaPathSlideshow', (int) 24 => '_retornaPathMegamenu', (int) 25 => '_retornaPathStatic', (int) 26 => '_retornaUrlProduto', (int) 27 => '_retornaUrlCategoria', (int) 28 => '_retornaUrlSlideshow', (int) 29 => '_retornaUrlMegamenu', (int) 30 => '_retornaUrlStatic', (int) 31 => '_cria_nonce', (int) 32 => '_monta_submenu', (int) 33 => '_sendMailContato' ) modelClass => 'Produto' modelKey => 'produto' validationErrors => null Acl => object(AclComponent) { Aro => object(Aro) {} Aco => object(Aco) {} settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Instance => object(CacheDbAcl) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Auth => object(AuthComponent) { components => array( [maximum depth reached] ) authenticate => array( [maximum depth reached] ) authorize => array( [maximum depth reached] ) ajaxLogin => null flash => array( [maximum depth reached] ) loginAction => array( [maximum depth reached] ) loginRedirect => array( [maximum depth reached] ) logoutRedirect => array( [maximum depth reached] ) authError => 'É necessário efetuar login no sistema' unauthorizedRedirect => true allowedActions => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} settings => array( [maximum depth reached] ) loginError => 'Falha na autenticação' userScope => array( [maximum depth reached] ) [protected] _authenticateObjects => array([maximum depth reached]) [protected] _authorizeObjects => array([maximum depth reached]) [protected] _user => array([maximum depth reached]) [protected] _methods => array( [maximum depth reached] ) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array( [maximum depth reached] ) } Session => object(SessionComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } RequestHandler => object(RequestHandlerComponent) { ajaxLayout => 'ajax' enabled => true request => object(CakeRequest) {} response => object(CakeResponse) {} ext => null settings => array( [maximum depth reached] ) components => array([maximum depth reached]) params => object(CakeRequest) {} [protected] _renderType => null [protected] _inputTypeMap => array( [maximum depth reached] ) [protected] _viewClassMap => array( [maximum depth reached] ) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Paginator => object(PaginatorComponent) { settings => array( [maximum depth reached] ) whitelist => array( [maximum depth reached] ) components => array([maximum depth reached]) Controller => object(ProdutosController) {} [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Prg => object(PrgComponent) { actions => array([maximum depth reached]) encode => false isSearch => false settings => array([maximum depth reached]) components => array([maximum depth reached]) controller => object(ProdutosController) {} [protected] _parsedParams => array([maximum depth reached]) [protected] _defaults => array( [maximum depth reached] ) [protected] _Collection => null [protected] _componentMap => array([maximum depth reached]) } presetVars => array( (int) 0 => array( 'type' => 'value', 'field' => 'id' ), (int) 1 => array( 'type' => 'value', 'field' => 'nome' ), (int) 2 => array( 'type' => 'value', 'field' => 'status' ), (int) 3 => array( 'type' => 'value', 'method' => 'custom_filter_categoria', 'field' => 'categoria' ), (int) 4 => array( 'type' => 'value', 'method' => 'custom_filter_ambiente', 'field' => 'ambiente' ) ) Produto => object(Produto) { name => 'Produto' displayField => 'nome' validate => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) actsAs => array( [maximum depth reached] ) filterArgs => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'produtos' id => false data => array([maximum depth reached]) schemaName => 'versatilemovei02' table => 'produtos' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'Produto' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => 'all' recursive => (int) -1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false findMethods => array( [maximum depth reached] ) [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } Config => object(Config) { name => 'Config' useDbConfig => 'default' useTable => 'configs' id => null data => array([maximum depth reached]) schemaName => null table => 'configs' primaryKey => 'id' validate => array([maximum depth reached]) validationErrors => array([maximum depth reached]) validationDomain => null plugin => null alias => 'Config' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) actsAs => null Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false findMethods => array( [maximum depth reached] ) [protected] _schema => null [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => false [protected] _eventManager => null [protected] _validator => null } Ambiente => object(Ambiente) { name => 'Ambiente' displayField => 'nome' actsAs => array( [maximum depth reached] ) filterArgs => array( [maximum depth reached] ) validate => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'ambientes' id => false data => array([maximum depth reached]) schemaName => 'versatilemovei02' table => 'ambientes' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'Ambiente' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => array([maximum depth reached]) hasMany => array([maximum depth reached]) hasAndBelongsToMany => array([maximum depth reached]) Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => null recursive => (int) 1 order => null virtualFields => array([maximum depth reached]) __backAssociation => array([maximum depth reached]) __backInnerAssociation => array([maximum depth reached]) __backOriginalAssociation => array([maximum depth reached]) __backContainableAssociation => array([maximum depth reached]) __safeUpdateMode => false findMethods => array( [maximum depth reached] ) [protected] _schema => array( [maximum depth reached] ) [protected] _associationKeys => array( [maximum depth reached] ) [protected] _associations => array( [maximum depth reached] ) [protected] _insertID => null [protected] _sourceConfigured => true [protected] _eventManager => object(CakeEventManager) {} [protected] _validator => null } [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) { [protected] _generalManager => object(CakeEventManager) {} [protected] _listeners => array( [maximum depth reached] ) [protected] _isGlobal => false } } object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'produtos', 'action' => 'ver', 'named' => array(), 'pass' => array( (int) 0 => '638', (int) 1 => 'Poltrona-Bruxelas', (int) 2 => 'ambiente', (int) 3 => 'function.session-start' ), 'id' => '638', 'slug' => 'Poltrona-Bruxelas', 'origem' => 'ambiente', 'origem_id' => 'function.session-start', 'isAjax' => false, 'models' => array( 'Config' => array( [maximum depth reached] ), 'Permission' => array( [maximum depth reached] ), 'Aro' => array( [maximum depth reached] ), 'Aco' => array( [maximum depth reached] ), 'Produto' => array( [maximum depth reached] ), 'Ambiente' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'produto/638-Poltrona-Bruxelas/ambiente/function.session-start' base => '' webroot => '/' here => '/produto/638-Poltrona-Bruxelas/ambiente/function.session-start' [protected] _detectors => array( 'get' => array( 'env' => 'REQUEST_METHOD', 'value' => 'GET' ), 'post' => array( 'env' => 'REQUEST_METHOD', 'value' => 'POST' ), 'put' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ), 'delete' => array( 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ), 'head' => array( 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ), 'options' => array( 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ), 'ssl' => array( 'env' => 'HTTPS', 'value' => (int) 1 ), 'ajax' => array( 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ), 'flash' => array( 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ), 'mobile' => array( 'env' => 'HTTP_USER_AGENT', 'options' => array( [maximum depth reached] ) ), 'requested' => array( 'param' => 'requested', 'value' => (int) 1 ) ) [protected] _input => '' }
$Dispatcher->dispatch(
new CakeRequest(),
new CakeResponse()
);
object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'produtos', 'action' => 'ver', 'named' => array(), 'pass' => array( (int) 0 => '638', (int) 1 => 'Poltrona-Bruxelas', (int) 2 => 'ambiente', (int) 3 => 'function.session-start' ), 'id' => '638', 'slug' => 'Poltrona-Bruxelas', 'origem' => 'ambiente', 'origem_id' => 'function.session-start', 'isAjax' => false, 'models' => array( 'Config' => array( [maximum depth reached] ), 'Permission' => array( [maximum depth reached] ), 'Aro' => array( [maximum depth reached] ), 'Aco' => array( [maximum depth reached] ), 'Produto' => array( [maximum depth reached] ), 'Ambiente' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'produto/638-Poltrona-Bruxelas/ambiente/function.session-start' base => '' webroot => '/' here => '/produto/638-Poltrona-Bruxelas/ambiente/function.session-start' [protected] _detectors => array( 'get' => array( 'env' => 'REQUEST_METHOD', 'value' => 'GET' ), 'post' => array( 'env' => 'REQUEST_METHOD', 'value' => 'POST' ), 'put' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PUT' ), 'delete' => array( 'env' => 'REQUEST_METHOD', 'value' => 'DELETE' ), 'head' => array( 'env' => 'REQUEST_METHOD', 'value' => 'HEAD' ), 'options' => array( 'env' => 'REQUEST_METHOD', 'value' => 'OPTIONS' ), 'ssl' => array( 'env' => 'HTTPS', 'value' => (int) 1 ), 'ajax' => array( 'env' => 'HTTP_X_REQUESTED_WITH', 'value' => 'XMLHttpRequest' ), 'flash' => array( 'env' => 'HTTP_USER_AGENT', 'pattern' => '/^(Shockwave|Adobe) Flash/' ), 'mobile' => array( 'env' => 'HTTP_USER_AGENT', 'options' => array( [maximum depth reached] ) ), 'requested' => array( 'param' => 'requested', 'value' => (int) 1 ) ) [protected] _input => '' } object(CakeResponse) { [protected] _statusCodes => array( (int) 100 => 'Continue', (int) 101 => 'Switching Protocols', (int) 200 => 'OK', (int) 201 => 'Created', (int) 202 => 'Accepted', (int) 203 => 'Non-Authoritative Information', (int) 204 => 'No Content', (int) 205 => 'Reset Content', (int) 206 => 'Partial Content', (int) 300 => 'Multiple Choices', (int) 301 => 'Moved Permanently', (int) 302 => 'Found', (int) 303 => 'See Other', (int) 304 => 'Not Modified', (int) 305 => 'Use Proxy', (int) 307 => 'Temporary Redirect', (int) 400 => 'Bad Request', (int) 401 => 'Unauthorized', (int) 402 => 'Payment Required', (int) 403 => 'Forbidden', (int) 404 => 'Not Found', (int) 405 => 'Method Not Allowed', (int) 406 => 'Not Acceptable', (int) 407 => 'Proxy Authentication Required', (int) 408 => 'Request Time-out', (int) 409 => 'Conflict', (int) 410 => 'Gone', (int) 411 => 'Length Required', (int) 412 => 'Precondition Failed', (int) 413 => 'Request Entity Too Large', (int) 414 => 'Request-URI Too Large', (int) 415 => 'Unsupported Media Type', (int) 416 => 'Requested range not satisfiable', (int) 417 => 'Expectation Failed', (int) 500 => 'Internal Server Error', (int) 501 => 'Not Implemented', (int) 502 => 'Bad Gateway', (int) 503 => 'Service Unavailable', (int) 504 => 'Gateway Time-out', (int) 505 => 'Unsupported Version' ) [protected] _mimeTypes => array( 'html' => array( (int) 0 => 'text/html', (int) 1 => '*/*' ), 'json' => 'application/json', 'xml' => array( (int) 0 => 'application/xml', (int) 1 => 'text/xml' ), 'rss' => 'application/rss+xml', 'ai' => 'application/postscript', 'bcpio' => 'application/x-bcpio', 'bin' => 'application/octet-stream', 'ccad' => 'application/clariscad', 'cdf' => 'application/x-netcdf', 'class' => 'application/octet-stream', 'cpio' => 'application/x-cpio', 'cpt' => 'application/mac-compactpro', 'csh' => 'application/x-csh', 'csv' => array( (int) 0 => 'text/csv', (int) 1 => 'application/vnd.ms-excel', (int) 2 => 'text/plain' ), 'dcr' => 'application/x-director', 'dir' => 'application/x-director', 'dms' => 'application/octet-stream', 'doc' => 'application/msword', 'docx' => 'application/vnd.openxmlformats-officedocument.wordprocessingml.document', 'drw' => 'application/drafting', 'dvi' => 'application/x-dvi', 'dwg' => 'application/acad', 'dxf' => 'application/dxf', 'dxr' => 'application/x-director', 'eot' => 'application/vnd.ms-fontobject', 'eps' => 'application/postscript', 'exe' => 'application/octet-stream', 'ez' => 'application/andrew-inset', 'flv' => 'video/x-flv', 'gtar' => 'application/x-gtar', 'gz' => 'application/x-gzip', 'bz2' => 'application/x-bzip', '7z' => 'application/x-7z-compressed', 'hdf' => 'application/x-hdf', 'hqx' => 'application/mac-binhex40', 'ico' => 'image/x-icon', 'ips' => 'application/x-ipscript', 'ipx' => 'application/x-ipix', 'js' => 'application/javascript', 'latex' => 'application/x-latex', 'lha' => 'application/octet-stream', 'lsp' => 'application/x-lisp', 'lzh' => 'application/octet-stream', 'man' => 'application/x-troff-man', 'me' => 'application/x-troff-me', 'mif' => 'application/vnd.mif', 'ms' => 'application/x-troff-ms', 'nc' => 'application/x-netcdf', 'oda' => 'application/oda', 'otf' => 'font/otf', 'pdf' => 'application/pdf', 'pgn' => 'application/x-chess-pgn', 'pot' => 'application/vnd.ms-powerpoint', 'pps' => 'application/vnd.ms-powerpoint', 'ppt' => 'application/vnd.ms-powerpoint', 'pptx' => 'application/vnd.openxmlformats-officedocument.presentationml.presentation', 'ppz' => 'application/vnd.ms-powerpoint', 'pre' => 'application/x-freelance', 'prt' => 'application/pro_eng', 'ps' => 'application/postscript', 'roff' => 'application/x-troff', 'scm' => 'application/x-lotusscreencam', 'set' => 'application/set', 'sh' => 'application/x-sh', 'shar' => 'application/x-shar', 'sit' => 'application/x-stuffit', 'skd' => 'application/x-koan', 'skm' => 'application/x-koan', 'skp' => 'application/x-koan', 'skt' => 'application/x-koan', 'smi' => 'application/smil', 'smil' => 'application/smil', 'sol' => 'application/solids', 'spl' => 'application/x-futuresplash', 'src' => 'application/x-wais-source', 'step' => 'application/STEP', 'stl' => 'application/SLA', 'stp' => 'application/STEP', 'sv4cpio' => 'application/x-sv4cpio', 'sv4crc' => 'application/x-sv4crc', 'svg' => 'image/svg+xml', 'svgz' => 'image/svg+xml', 'swf' => 'application/x-shockwave-flash', 't' => 'application/x-troff', 'tar' => 'application/x-tar', 'tcl' => 'application/x-tcl', 'tex' => 'application/x-tex', 'texi' => 'application/x-texinfo', 'texinfo' => 'application/x-texinfo', 'tr' => 'application/x-troff', 'tsp' => 'application/dsptype', 'ttc' => 'font/ttf', 'ttf' => 'font/ttf', 'unv' => 'application/i-deas', 'ustar' => 'application/x-ustar', 'vcd' => 'application/x-cdlink', 'vda' => 'application/vda', 'xlc' => 'application/vnd.ms-excel', 'xll' => 'application/vnd.ms-excel', 'xlm' => 'application/vnd.ms-excel', 'xls' => 'application/vnd.ms-excel', 'xlsx' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet', 'xlw' => 'application/vnd.ms-excel', 'zip' => 'application/zip', 'aif' => 'audio/x-aiff', 'aifc' => 'audio/x-aiff', 'aiff' => 'audio/x-aiff', 'au' => 'audio/basic', 'kar' => 'audio/midi', 'mid' => 'audio/midi', 'midi' => 'audio/midi', 'mp2' => 'audio/mpeg', 'mp3' => 'audio/mpeg', 'mpga' => 'audio/mpeg', 'ogg' => 'audio/ogg', 'oga' => 'audio/ogg', 'spx' => 'audio/ogg', 'ra' => 'audio/x-realaudio', 'ram' => 'audio/x-pn-realaudio', 'rm' => 'audio/x-pn-realaudio', 'rpm' => 'audio/x-pn-realaudio-plugin', 'snd' => 'audio/basic', 'tsi' => 'audio/TSP-audio', 'wav' => 'audio/x-wav', 'aac' => 'audio/aac', 'asc' => 'text/plain', 'c' => 'text/plain', 'cc' => 'text/plain', 'css' => 'text/css', 'etx' => 'text/x-setext', 'f' => 'text/plain', 'f90' => 'text/plain', 'h' => 'text/plain', 'hh' => 'text/plain', 'htm' => array( (int) 0 => 'text/html', (int) 1 => '*/*' ), 'ics' => 'text/calendar', 'm' => 'text/plain', 'rtf' => 'text/rtf', 'rtx' => 'text/richtext', 'sgm' => 'text/sgml', 'sgml' => 'text/sgml', 'tsv' => 'text/tab-separated-values', 'tpl' => 'text/template', 'txt' => 'text/plain', 'text' => 'text/plain', 'avi' => 'video/x-msvideo', 'fli' => 'video/x-fli', 'mov' => 'video/quicktime', 'movie' => 'video/x-sgi-movie', 'mpe' => 'video/mpeg', 'mpeg' => 'video/mpeg', 'mpg' => 'video/mpeg', 'qt' => 'video/quicktime', 'viv' => 'video/vnd.vivo', 'vivo' => 'video/vnd.vivo', 'ogv' => 'video/ogg', 'webm' => 'video/webm', 'mp4' => 'video/mp4', 'm4v' => 'video/mp4', 'f4v' => 'video/mp4', 'f4p' => 'video/mp4', 'm4a' => 'audio/mp4', 'f4a' => 'audio/mp4', 'f4b' => 'audio/mp4', 'gif' => 'image/gif', 'ief' => 'image/ief', 'jpg' => 'image/jpeg', 'jpeg' => 'image/jpeg', 'jpe' => 'image/jpeg', 'pbm' => 'image/x-portable-bitmap', 'pgm' => 'image/x-portable-graymap', 'png' => 'image/png', 'pnm' => 'image/x-portable-anymap', 'ppm' => 'image/x-portable-pixmap', 'ras' => 'image/cmu-raster', 'rgb' => 'image/x-rgb', 'tif' => 'image/tiff', 'tiff' => 'image/tiff', 'xbm' => 'image/x-xbitmap', 'xpm' => 'image/x-xpixmap', 'xwd' => 'image/x-xwindowdump', 'ice' => 'x-conference/x-cooltalk', 'iges' => 'model/iges', 'igs' => 'model/iges', 'mesh' => 'model/mesh', 'msh' => 'model/mesh', 'silo' => 'model/mesh', 'vrml' => 'model/vrml', 'wrl' => 'model/vrml', 'mime' => 'www/mime', 'pdb' => 'chemical/x-pdb', 'xyz' => 'chemical/x-pdb', 'javascript' => 'application/javascript', 'form' => 'application/x-www-form-urlencoded', 'file' => 'multipart/form-data', 'xhtml' => array( (int) 0 => 'application/xhtml+xml', (int) 1 => 'application/xhtml', (int) 2 => 'text/xhtml' ), 'xhtml-mobile' => 'application/vnd.wap.xhtml+xml', 'atom' => 'application/atom+xml', 'amf' => 'application/x-amf', 'wap' => array( (int) 0 => 'text/vnd.wap.wml', (int) 1 => 'text/vnd.wap.wmlscript', (int) 2 => 'image/vnd.wap.wbmp' ), 'wml' => 'text/vnd.wap.wml', 'wmlscript' => 'text/vnd.wap.wmlscript', 'wbmp' => 'image/vnd.wap.wbmp', 'woff' => 'application/x-font-woff', 'webp' => 'image/webp', 'appcache' => 'text/cache-manifest', 'manifest' => 'text/cache-manifest', 'htc' => 'text/x-component', 'rdf' => 'application/xml', 'crx' => 'application/x-chrome-extension', 'oex' => 'application/x-opera-extension', 'xpi' => 'application/x-xpinstall', 'safariextz' => 'application/octet-stream', 'webapp' => 'application/x-web-app-manifest+json', 'vcf' => 'text/x-vcard', 'vtt' => 'text/vtt', 'mkv' => 'video/x-matroska', 'pkpass' => 'application/vnd.apple.pkpass' ) [protected] _protocol => 'HTTP/1.1' [protected] _status => (int) 200 [protected] _contentType => 'text/html' [protected] _headers => array() [protected] _body => null [protected] _file => null [protected] _fileRange => null [protected] _charset => 'UTF-8' [protected] _cacheDirectives => array() [protected] _cookies => array() }