Invalid product
Error: The requested address '/produtos/40/contra-angulo-standard' was not found on this server.
Stack Trace
- [internal function] → ProductsController->index(string, string)
'40' 'contra-angulo-standard'
- CORE/Cake/Controller/Controller.php line 490 → ReflectionMethod->invokeArgs(ProductsController, array)
'action' => $request->params['action']
));
}
return $method->invokeArgs($this, $request->params['pass']);
object(ProductsController) { components => array( 'Session' => null, 'Auth' => null, 'Acl' => null, 'AclTools.AclTools' => null, 'AdminModules' => null, 'Paginator' => null, 'FormTools.FormTools' => array( 'actions' => array( [maximum depth reached] ), 'models' => array( [maximum depth reached] ) ), 'PaginateFilter.PaginateFilter' => array( 'textFields' => array( [maximum depth reached] ) ) ) helpers => array( (int) 0 => 'AclTools.AclTools' ) name => 'Products' uses => array( (int) 0 => 'Product', (int) 1 => 'Line', (int) 2 => 'Config', (int) 3 => 'Event' ) request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'produtos/40/contra-angulo-standard' base => '' webroot => '/' here => '/produtos/40/contra-angulo-standard' } response => object(CakeResponse) { } viewPath => 'Products' layoutPath => null viewVars => array( 'showEventsLink' => false, 'siteConfig' => array( 'Config' => array( [maximum depth reached] ) ), 'lines' => array( (int) 7 => 'Implantes Ortopédicos', (int) 8 => 'Kits Cirúrgicos', (int) 2 => 'Linha Hospitalar', (int) 1 => 'Linha Odontológica' ), 'menuLines' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ) ) ) view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 } viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( (int) 0 => '40', (int) 1 => 'contra-angulo-standard' ) scaffold => false methods => array( (int) 0 => 'index', (int) 1 => 'view', (int) 2 => 'ajax_includeFields', (int) 3 => 'admin_index', (int) 4 => 'admin_view', (int) 5 => 'admin_add', (int) 6 => 'admin_edit', (int) 7 => 'admin_delete', (int) 9 => 'setLines' ) modelClass => 'Product' modelKey => 'product' validationErrors => null Session => object(SessionComponent) { settings => array([maximum depth reached]) components => 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 => null logoutRedirect => array( [maximum depth reached] ) authError => 'You are not authorized to access that location.' unauthorizedRedirect => true allowedActions => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} settings => array([maximum depth reached]) } Acl => object(AclComponent) { Aro => object(Aro) {} Aco => object(Aco) {} settings => array([maximum depth reached]) components => array([maximum depth reached]) } AclTools => object(AcltoolsComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) } AdminModules => object(AdminModulesComponent) { models => array( [maximum depth reached] ) modules => array( [maximum depth reached] ) settings => array([maximum depth reached]) components => array([maximum depth reached]) } Paginator => object(PaginatorComponent) { settings => array( [maximum depth reached] ) whitelist => array( [maximum depth reached] ) components => array([maximum depth reached]) Controller => object(ProductsController) {} } FormTools => object(FormToolsComponent) { settings => array( [maximum depth reached] ) components => array([maximum depth reached]) } PaginateFilter => object(PaginateFilterComponent) { settings => array( [maximum depth reached] ) components => array([maximum depth reached]) } Product => object(Product) { actsAs => array( [maximum depth reached] ) displayField => 'title' validate => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'products' id => null data => array([maximum depth reached]) schemaName => null table => 'products' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null plugin => null name => 'Product' alias => 'Product' 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 => 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 useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) Line => object(Line) {} } Line => object(Line) { actsAs => array( [maximum depth reached] ) displayField => 'title' validate => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'lines' id => '40' data => array([maximum depth reached]) schemaName => 'microdent2' table => 'lines' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null plugin => null name => 'Line' alias => 'Line' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => 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 useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) tablePrefix => '' } Config => object(Config) { validate => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'configs' id => false data => array([maximum depth reached]) schemaName => 'microdent2' table => 'configs' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null plugin => null name => 'Config' 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 useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) tablePrefix => '' } Event => object(Event) { actsAs => array( [maximum depth reached] ) displayField => 'title' validate => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'events' id => false data => array([maximum depth reached]) schemaName => 'microdent2' table => 'events' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null plugin => null name => 'Event' alias => 'Event' 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 useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) tablePrefix => '' } } array( (int) 0 => '40', (int) 1 => 'contra-angulo-standard' )
- CORE/Cake/Routing/Dispatcher.php line 193 → Controller->invokeAction(CakeRequest)
$response = $controller->response;
$render = true;
$result = $controller->invokeAction($request);
if ($result instanceof CakeResponse) {
object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'products', 'action' => 'index', 'named' => array(), 'pass' => array( (int) 0 => '40', (int) 1 => 'contra-angulo-standard' ), 'isAjax' => false, 'models' => array( 'Line' => array( [maximum depth reached] ), 'Config' => array( [maximum depth reached] ), 'Event' => array( [maximum depth reached] ), 'Permission' => array( [maximum depth reached] ), 'Aro' => array( [maximum depth reached] ), 'Aco' => array( [maximum depth reached] ), 'Product' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'produtos/40/contra-angulo-standard' base => '' webroot => '/' here => '/produtos/40/contra-angulo-standard' }
- CORE/Cake/Routing/Dispatcher.php line 167 → Dispatcher->_invoke(ProductsController, CakeRequest)
));
}
$response = $this->_invoke($controller, $request);
if (isset($request->params['return'])) {
object(ProductsController) { components => array( 'Session' => null, 'Auth' => null, 'Acl' => null, 'AclTools.AclTools' => null, 'AdminModules' => null, 'Paginator' => null, 'FormTools.FormTools' => array( 'actions' => array( [maximum depth reached] ), 'models' => array( [maximum depth reached] ) ), 'PaginateFilter.PaginateFilter' => array( 'textFields' => array( [maximum depth reached] ) ) ) helpers => array( (int) 0 => 'AclTools.AclTools' ) name => 'Products' uses => array( (int) 0 => 'Product', (int) 1 => 'Line', (int) 2 => 'Config', (int) 3 => 'Event' ) request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'produtos/40/contra-angulo-standard' base => '' webroot => '/' here => '/produtos/40/contra-angulo-standard' } response => object(CakeResponse) { } viewPath => 'Products' layoutPath => null viewVars => array( 'showEventsLink' => false, 'siteConfig' => array( 'Config' => array( [maximum depth reached] ) ), 'lines' => array( (int) 7 => 'Implantes Ortopédicos', (int) 8 => 'Kits Cirúrgicos', (int) 2 => 'Linha Hospitalar', (int) 1 => 'Linha Odontológica' ), 'menuLines' => array( (int) 0 => array( [maximum depth reached] ), (int) 1 => array( [maximum depth reached] ), (int) 2 => array( [maximum depth reached] ), (int) 3 => array( [maximum depth reached] ) ) ) view => 'index' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 } viewClass => 'View' View => null ext => '.ctp' plugin => null cacheAction => false passedArgs => array( (int) 0 => '40', (int) 1 => 'contra-angulo-standard' ) scaffold => false methods => array( (int) 0 => 'index', (int) 1 => 'view', (int) 2 => 'ajax_includeFields', (int) 3 => 'admin_index', (int) 4 => 'admin_view', (int) 5 => 'admin_add', (int) 6 => 'admin_edit', (int) 7 => 'admin_delete', (int) 9 => 'setLines' ) modelClass => 'Product' modelKey => 'product' validationErrors => null Session => object(SessionComponent) { settings => array([maximum depth reached]) components => 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 => null logoutRedirect => array( [maximum depth reached] ) authError => 'You are not authorized to access that location.' unauthorizedRedirect => true allowedActions => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} settings => array([maximum depth reached]) } Acl => object(AclComponent) { Aro => object(Aro) {} Aco => object(Aco) {} settings => array([maximum depth reached]) components => array([maximum depth reached]) } AclTools => object(AcltoolsComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) } AdminModules => object(AdminModulesComponent) { models => array( [maximum depth reached] ) modules => array( [maximum depth reached] ) settings => array([maximum depth reached]) components => array([maximum depth reached]) } Paginator => object(PaginatorComponent) { settings => array( [maximum depth reached] ) whitelist => array( [maximum depth reached] ) components => array([maximum depth reached]) Controller => object(ProductsController) {} } FormTools => object(FormToolsComponent) { settings => array( [maximum depth reached] ) components => array([maximum depth reached]) } PaginateFilter => object(PaginateFilterComponent) { settings => array( [maximum depth reached] ) components => array([maximum depth reached]) } Product => object(Product) { actsAs => array( [maximum depth reached] ) displayField => 'title' validate => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'products' id => null data => array([maximum depth reached]) schemaName => null table => 'products' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null plugin => null name => 'Product' alias => 'Product' 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 => 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 useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) Line => object(Line) {} } Line => object(Line) { actsAs => array( [maximum depth reached] ) displayField => 'title' validate => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'lines' id => '40' data => array([maximum depth reached]) schemaName => 'microdent2' table => 'lines' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null plugin => null name => 'Line' alias => 'Line' tableToModel => array( [maximum depth reached] ) cacheQueries => false belongsTo => array([maximum depth reached]) hasOne => 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 useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) tablePrefix => '' } Config => object(Config) { validate => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'configs' id => false data => array([maximum depth reached]) schemaName => 'microdent2' table => 'configs' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null plugin => null name => 'Config' 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 useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) tablePrefix => '' } Event => object(Event) { actsAs => array( [maximum depth reached] ) displayField => 'title' validate => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'events' id => false data => array([maximum depth reached]) schemaName => 'microdent2' table => 'events' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null plugin => null name => 'Event' alias => 'Event' 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 useConsistentAfterFind => true findMethods => array( [maximum depth reached] ) tablePrefix => '' } } object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'products', 'action' => 'index', 'named' => array(), 'pass' => array( (int) 0 => '40', (int) 1 => 'contra-angulo-standard' ), 'isAjax' => false, 'models' => array( 'Line' => array( [maximum depth reached] ), 'Config' => array( [maximum depth reached] ), 'Event' => array( [maximum depth reached] ), 'Permission' => array( [maximum depth reached] ), 'Aro' => array( [maximum depth reached] ), 'Aco' => array( [maximum depth reached] ), 'Product' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'produtos/40/contra-angulo-standard' base => '' webroot => '/' here => '/produtos/40/contra-angulo-standard' }
- APP/webroot/index.php line 99 → Dispatcher->dispatch(CakeRequest, CakeResponse)
$Dispatcher->dispatch(
new CakeRequest(),
new CakeResponse()
);
object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'products', 'action' => 'index', 'named' => array(), 'pass' => array( (int) 0 => '40', (int) 1 => 'contra-angulo-standard' ), 'isAjax' => false, 'models' => array( 'Line' => array( [maximum depth reached] ), 'Config' => array( [maximum depth reached] ), 'Event' => array( [maximum depth reached] ), 'Permission' => array( [maximum depth reached] ), 'Aro' => array( [maximum depth reached] ), 'Aco' => array( [maximum depth reached] ), 'Product' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'produtos/40/contra-angulo-standard' base => '' webroot => '/' here => '/produtos/40/contra-angulo-standard' } object(CakeResponse) { }