Database Error
Error: SQLSTATE[22P02]: Invalid text representation: 7 ERROR: invalid input syntax for integer: "5444&theme=130" LINE 1: ..." = "ContentDest"."id") WHERE "src_content_id" = '5444&them... ^
SQL Query: SELECT "IsContentView"."id" AS "IsContentView__id", "IsContentView"."src_content_id" AS "IsContentView__src_content_id", "IsContentView"."dest_content_id" AS "IsContentView__dest_content_id", "ContentSrc"."id" AS "ContentSrc__id", "ContentSrc"."parent_id" AS "ContentSrc__parent_id", "ContentSrc"."product_id" AS "ContentSrc__product_id", "ContentSrc"."order" AS "ContentSrc__order", "ContentSrc"."image_presentation_id" AS "ContentSrc__image_presentation_id", "ContentSrc"."title" AS "ContentSrc__title", "ContentSrc"."text" AS "ContentSrc__text", "ContentDest"."id" AS "ContentDest__id", "ContentDest"."parent_id" AS "ContentDest__parent_id", "ContentDest"."product_id" AS "ContentDest__product_id", "ContentDest"."order" AS "ContentDest__order", "ContentDest"."image_presentation_id" AS "ContentDest__image_presentation_id", "ContentDest"."title" AS "ContentDest__title", "ContentDest"."text" AS "ContentDest__text" FROM "public"."is_content_view" AS "IsContentView" LEFT JOIN "public"."contents" AS "ContentSrc" ON ("IsContentView"."src_content_id" = "ContentSrc"."id") LEFT JOIN "public"."contents" AS "ContentDest" ON ("IsContentView"."dest_content_id" = "ContentDest"."id") WHERE "src_content_id" = '5444&theme=130' LIMIT 1
Stack Trace
- CORE/Cake/Model/Datasource/DboSource.php line 472 → PDOStatement->execute(array)
try {
$query = $this->_connection->prepare($sql, $prepareOptions);
$query->setFetchMode(PDO::FETCH_LAZY);
if (!$query->execute($params)) {
$this->_results = $query;
array()
- CORE/Cake/Model/Datasource/DboSource.php line 438 → DboSource->_execute(string, array)
$options += array('log' => $this->fullDebug);
$t = microtime(true);
$this->_result = $this->_execute($sql, $params);
'SELECT "IsContentView"."id" AS "IsContentView__id", "IsContentView"."src_content_id" AS "IsContentView__src_content_id", "IsContentView"."dest_content_id" AS "IsContentView__dest_content_id", "ContentSrc"."id" AS "ContentSrc__id", "ContentSrc"."parent_id" AS "ContentSrc__parent_id", "ContentSrc"."product_id" AS "ContentSrc__product_id", "ContentSrc"."order" AS "ContentSrc__order", "ContentSrc"."image_presentation_id" AS "ContentSrc__image_presentation_id", "ContentSrc"."title" AS "ContentSrc__title", "ContentSrc"."text" AS "ContentSrc__text", "ContentDest"."id" AS "ContentDest__id", "ContentDest"."parent_id" AS "ContentDest__parent_id", "ContentDest"."product_id" AS "ContentDest__product_id", "ContentDest"."order" AS "ContentDest__order", "ContentDest"."image_presentation_id" AS "ContentDest__image_presentation_id", "ContentDest"."title" AS "ContentDest__title", "ContentDest"."text" AS "ContentDest__text" FROM "public"."is_content_view" AS "IsContentView" LEFT JOIN "public"."contents" AS "ContentSrc" ON ("IsContentView"."src_content_id" = "ContentSrc"."id") LEFT JOIN "public"."contents" AS "ContentDest" ON ("IsContentView"."dest_content_id" = "ContentDest"."id") WHERE "src_content_id" = '5444&theme=130' LIMIT 1' array()
- CORE/Cake/Model/Datasource/DboSource.php line 675 → DboSource->execute(string, array, array)
if ($cache && ($cached = $this->getQueryCache($sql, $params)) !== false) {
return $cached;
}
$result = $this->execute($sql, array(), $params);
if ($result) {
'SELECT "IsContentView"."id" AS "IsContentView__id", "IsContentView"."src_content_id" AS "IsContentView__src_content_id", "IsContentView"."dest_content_id" AS "IsContentView__dest_content_id", "ContentSrc"."id" AS "ContentSrc__id", "ContentSrc"."parent_id" AS "ContentSrc__parent_id", "ContentSrc"."product_id" AS "ContentSrc__product_id", "ContentSrc"."order" AS "ContentSrc__order", "ContentSrc"."image_presentation_id" AS "ContentSrc__image_presentation_id", "ContentSrc"."title" AS "ContentSrc__title", "ContentSrc"."text" AS "ContentSrc__text", "ContentDest"."id" AS "ContentDest__id", "ContentDest"."parent_id" AS "ContentDest__parent_id", "ContentDest"."product_id" AS "ContentDest__product_id", "ContentDest"."order" AS "ContentDest__order", "ContentDest"."image_presentation_id" AS "ContentDest__image_presentation_id", "ContentDest"."title" AS "ContentDest__title", "ContentDest"."text" AS "ContentDest__text" FROM "public"."is_content_view" AS "IsContentView" LEFT JOIN "public"."contents" AS "ContentSrc" ON ("IsContentView"."src_content_id" = "ContentSrc"."id") LEFT JOIN "public"."contents" AS "ContentDest" ON ("IsContentView"."dest_content_id" = "ContentDest"."id") WHERE "src_content_id" = '5444&theme=130' LIMIT 1' array( 'log' => true ) array()
- CORE/Cake/Model/Datasource/DboSource.php line 1186 → DboSource->fetchAll(string, 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 "IsContentView"."id" AS "IsContentView__id", "IsContentView"."src_content_id" AS "IsContentView__src_content_id", "IsContentView"."dest_content_id" AS "IsContentView__dest_content_id", "ContentSrc"."id" AS "ContentSrc__id", "ContentSrc"."parent_id" AS "ContentSrc__parent_id", "ContentSrc"."product_id" AS "ContentSrc__product_id", "ContentSrc"."order" AS "ContentSrc__order", "ContentSrc"."image_presentation_id" AS "ContentSrc__image_presentation_id", "ContentSrc"."title" AS "ContentSrc__title", "ContentSrc"."text" AS "ContentSrc__text", "ContentDest"."id" AS "ContentDest__id", "ContentDest"."parent_id" AS "ContentDest__parent_id", "ContentDest"."product_id" AS "ContentDest__product_id", "ContentDest"."order" AS "ContentDest__order", "ContentDest"."image_presentation_id" AS "ContentDest__image_presentation_id", "ContentDest"."title" AS "ContentDest__title", "ContentDest"."text" AS "ContentDest__text" FROM "public"."is_content_view" AS "IsContentView" LEFT JOIN "public"."contents" AS "ContentSrc" ON ("IsContentView"."src_content_id" = "ContentSrc"."id") LEFT JOIN "public"."contents" AS "ContentDest" ON ("IsContentView"."dest_content_id" = "ContentDest"."id") WHERE "src_content_id" = '5444&theme=130' LIMIT 1' array()
- CORE/Cake/Model/Model.php line 3038 → DboSource->read(IsContentView, array)
* @return array
*/
protected function _readDataSource($type, $query) {
$results = $this->getDataSource()->read($this, $query);
$this->resetAssociations();
object(IsContentView) { useTable => 'is_content_view' belongsTo => array( 'ContentSrc' => array( 'className' => 'Content', 'foreignKey' => 'src_content_id', 'conditions' => '', 'fields' => '', 'order' => '', 'counterCache' => '' ), 'ContentDest' => array( 'className' => 'Content', 'foreignKey' => 'dest_content_id', 'conditions' => '', 'fields' => '', 'order' => '', 'counterCache' => '' ) ) useDbConfig => 'default' id => false data => array() schemaName => 'public' table => 'is_content_view' primaryKey => 'id' validate => array() validationErrors => array() validationDomain => null tablePrefix => '' plugin => null name => 'IsContentView' alias => 'IsContentView' tableToModel => array( 'is_content_view' => 'IsContentView', 'contents' => 'ContentDest' ) cacheQueries => false hasOne => array() hasMany => array() hasAndBelongsToMany => array() actsAs => null Behaviors => object(BehaviorCollection) { modelName => 'IsContentView' 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 => 'first' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) ContentSrc => object(Content) { name => 'Content' hasOne => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) hasAndBelongsToMany => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) validate => array( [maximum depth reached] ) actsAs => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'contents' id => false data => array([maximum depth reached]) schemaName => 'public' table => 'contents' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'ContentSrc' tableToModel => array( [maximum depth reached] ) cacheQueries => false 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] ) Image => object(Image) {} ConfirmationImage => object(Image) {} [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 => null [protected] _validator => null [private] HashVersionComponent => false [private] ModifiedComponent => false } ContentDest => object(Content) { name => 'Content' hasOne => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) hasAndBelongsToMany => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) validate => array( [maximum depth reached] ) actsAs => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'contents' id => false data => array([maximum depth reached]) schemaName => 'public' table => 'contents' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'ContentDest' tableToModel => array( [maximum depth reached] ) cacheQueries => false 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] ) Image => object(Image) {} ConfirmationImage => object(Image) {} [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 => null [protected] _validator => null [private] HashVersionComponent => false [private] ModifiedComponent => false } [protected] _schema => array( 'id' => array( 'type' => 'integer', 'null' => false, 'default' => null, 'length' => (int) 11, 'key' => 'primary' ), 'src_content_id' => array( 'type' => 'integer', 'null' => true, 'default' => null, 'length' => null ), 'dest_content_id' => array( 'type' => 'integer', 'null' => true, 'default' => null, 'length' => null ) ) [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( 'src_content_id' => '5444&theme=130' ), 'fields' => array( (int) 0 => '"IsContentView"."id" AS "IsContentView__id"', (int) 1 => '"IsContentView"."src_content_id" AS "IsContentView__src_content_id"', (int) 2 => '"IsContentView"."dest_content_id" AS "IsContentView__dest_content_id"', (int) 3 => '"ContentSrc"."id" AS "ContentSrc__id"', (int) 4 => '"ContentSrc"."parent_id" AS "ContentSrc__parent_id"', (int) 5 => '"ContentSrc"."product_id" AS "ContentSrc__product_id"', (int) 6 => '"ContentSrc"."order" AS "ContentSrc__order"', (int) 7 => '"ContentSrc"."image_presentation_id" AS "ContentSrc__image_presentation_id"', (int) 8 => '"ContentSrc"."title" AS "ContentSrc__title"', (int) 9 => '"ContentSrc"."text" AS "ContentSrc__text"', (int) 10 => '"ContentDest"."id" AS "ContentDest__id"', (int) 11 => '"ContentDest"."parent_id" AS "ContentDest__parent_id"', (int) 12 => '"ContentDest"."product_id" AS "ContentDest__product_id"', (int) 13 => '"ContentDest"."order" AS "ContentDest__order"', (int) 14 => '"ContentDest"."image_presentation_id" AS "ContentDest__image_presentation_id"', (int) 15 => '"ContentDest"."title" AS "ContentDest__title"', (int) 16 => '"ContentDest"."text" AS "ContentDest__text"' ), 'joins' => array( (int) 0 => array( 'table' => object(Content) {}, 'alias' => 'ContentSrc', 'type' => 'LEFT', 'conditions' => '"IsContentView"."src_content_id" = "ContentSrc"."id"' ), (int) 1 => array( 'table' => object(Content) {}, 'alias' => 'ContentDest', 'type' => 'LEFT', 'conditions' => '"IsContentView"."dest_content_id" = "ContentDest"."id"' ) ), 'limit' => (int) 1, 'offset' => null, 'order' => array(), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'having' => null, 'lock' => null )
- CORE/Cake/Model/Model.php line 3010 → Model->_readDataSource(string, array)
return null;
}
return $this->_readDataSource($type, $query);
}
'first' array( 'conditions' => array( 'src_content_id' => '5444&theme=130' ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array(), 'page' => (int) 1, 'group' => null, 'callbacks' => true )
- APP/Controller/Component/ContentViewComponent.php line 17 → Model->find(string, array)
if($result == false) {
$result = $this->ContentView->find('first', array('conditions' => array('src_content_id' => $idContentView)));
if(!$result) {
'first' array( 'conditions' => array( 'src_content_id' => '5444&theme=130' ), 'fields' => null, 'joins' => array(), 'limit' => (int) 1, 'offset' => null, 'order' => array(), 'page' => (int) 1, 'group' => null, 'callbacks' => true )
- APP/Model/Behavior/ContentViewBehavior.php line 17 → ContentViewComponent->getContentView(string)
if(array_key_exists("Content.id", $query["conditions"])) {
// Cas de la recherche par identifiant direct (getById)
$destContent = $this->ContentView->getContentView($query["conditions"]["Content.id"]);
if($destContent) {
'5444&theme=130'
- CORE/Cake/Utility/ObjectCollection.php line 128 → ContentViewBehavior->beforeFind(Content, array)
}
$result = null;
foreach ($list as $name) {
$result = call_user_func_array(array($this->_loaded[$name], $callback), compact('subject') + $params);
if ($options['collectReturn'] === true) {
object(Content) { name => 'Content' hasOne => array( 'IsContentDiagnostic' => array( 'className' => 'IsContentDiagnostic', 'foreignKey' => 'content_id', 'dependent' => true, 'conditions' => '', 'fields' => '', 'order' => '' ), 'IsEndContentDiagnostic' => array( 'className' => 'IsEndDiagnostic', 'foreignKey' => 'go_content_id', 'conditions' => '', 'fields' => '', 'order' => '', 'dependent' => '' ), 'Disease' => array( 'dependent' => true, 'className' => 'Disease', 'foreignKey' => 'content_id', 'conditions' => '', 'fields' => '', 'order' => '' ) ) belongsTo => array( 'Product' => array( 'className' => 'Product', 'foreignKey' => 'product_id', 'conditions' => '', 'fields' => '', 'order' => '', 'counterCache' => '' ), 'ImagePresentation' => array( 'className' => 'Image', 'foreignKey' => 'image_presentation_id', 'conditions' => '', 'fields' => '', 'order' => '', 'counterCache' => '' ) ) hasAndBelongsToMany => array( 'Image' => array( 'className' => 'Image', 'order' => 'ContentsImage.order ASC', 'joinTable' => 'contents_images', 'with' => 'ContentsImage', 'dynamicWith' => true, 'foreignKey' => 'content_id', 'associationForeignKey' => 'image_id', 'conditions' => '', 'fields' => '', 'limit' => '', 'offset' => '', 'unique' => true, 'finderQuery' => '' ), 'ConfirmationImage' => array( 'className' => 'Image', 'joinTable' => 'confirmation_diagnostic_images', 'order' => 'order ASC', 'with' => 'ConfirmationDiagnosticImage', 'dynamicWith' => true, 'foreignKey' => 'content_id', 'associationForeignKey' => 'image_id', 'conditions' => '', 'fields' => '', 'limit' => '', 'offset' => '', 'unique' => true, 'finderQuery' => '' ) ) hasMany => array( 'Children' => array( 'className' => 'Content', 'foreignKey' => 'parent_id', 'order' => 'order ASC', 'conditions' => '', 'fields' => '', 'limit' => '', 'offset' => '', 'dependent' => '', 'exclusive' => '', 'finderQuery' => '', 'counterQuery' => '' ) ) validate => array( 'title' => array( 'minLength' => array( [maximum depth reached] ) ), 'product_id' => array( 'productExist' => array( [maximum depth reached] ) ) ) actsAs => array( (int) 0 => 'Containable', (int) 1 => 'Modified', 'Published' => array( 'externalKey' => 'product_id', 'hasChildren' => true ), 'TranslateCompat4' => array( (int) 0 => 'title', (int) 1 => 'text', (int) 2 => 'formatted_title' ), (int) 2 => 'ContentView' ) useDbConfig => 'default' useTable => 'contents' id => false data => array() schemaName => 'public' table => 'contents' primaryKey => 'id' validationErrors => array() validationDomain => null tablePrefix => '' plugin => null alias => 'Content' tableToModel => array( 'contents' => 'Content', 'images' => 'ConfirmationImage' ) cacheQueries => false Behaviors => object(BehaviorCollection) { modelName => 'Content' 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 => 'count' recursive => (int) 1 order => null virtualFields => array() __backAssociation => array() __backInnerAssociation => array() __backOriginalAssociation => array() __backContainableAssociation => array() __safeUpdateMode => false useConsistentAfterFind => true findMethods => array( 'all' => true, 'first' => true, 'count' => true, 'neighbors' => true, 'list' => true, 'threaded' => true ) Image => object(Image) { name => 'Image' belongsTo => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) hasAndBelongsToMany => array( [maximum depth reached] ) validate => array( [maximum depth reached] ) actsAs => array( [maximum depth reached] ) translateModel => 'I18nImage' useDbConfig => 'default' useTable => 'images' id => false data => array([maximum depth reached]) schemaName => null table => 'images' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null plugin => null alias => 'Image' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => 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] ) Content => object(Content) {} [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 [private] HashVersionComponent => false } ConfirmationImage => object(Image) { name => 'Image' belongsTo => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) hasAndBelongsToMany => array( [maximum depth reached] ) validate => array( [maximum depth reached] ) actsAs => array( [maximum depth reached] ) translateModel => 'I18nImage' useDbConfig => 'default' useTable => 'images' id => false data => array([maximum depth reached]) schemaName => null table => 'images' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null plugin => null alias => 'ConfirmationImage' tableToModel => array( [maximum depth reached] ) cacheQueries => false hasOne => 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] ) Content => object(Content) {} [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 [private] HashVersionComponent => false } locale => 'fra' [protected] _schema => null [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 [private] HashVersionComponent => false [private] ModifiedComponent => false } array( 'conditions' => array( 'Content.id' => '5444&theme=130' ), 'fields' => 'COUNT(DISTINCT("Content"."id")) AS count', 'joins' => array( (int) 0 => array( 'table' => 'published', 'alias' => 'Published', 'type' => 'INNER', 'conditions' => array( (int) 0 => 'Published.model LIKE 'Content'', (int) 1 => 'Content.id = Published.foreign_key', (int) 2 => 'Published.locale = 'fra'' ) ), (int) 1 => array( 'type' => 'INNER', 'alias' => 'I18nModel', 'table' => object(stdClass) {}, 'conditions' => array( '"Content"."id"' => object(stdClass) {}, '"I18nModel"."model"' => 'Content', '"I18nModel"."locale"' => 'fra' ) ) ), 'limit' => null, 'offset' => null, 'order' => array( (int) 0 => false ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) -1 )
- CORE/Cake/Event/CakeEventManager.php line 243 → ObjectCollection->trigger(string)
if ($listener['passParams'] === true) {
$result = call_user_func_array($listener['callable'], $event->data);
} else {
$result = call_user_func($listener['callable'], $event);
}
'beforeFind'
- CORE/Cake/Model/Model.php line 3091 → CakeEventManager->dispatch(CakeEvent)
if ($query['callbacks'] === true || $query['callbacks'] === 'before') {
$event = new CakeEvent('Model.beforeFind', $this, array($query));
list($event->break, $event->breakOn, $event->modParams) = array(true, array(false, null), 0);
$this->getEventManager()->dispatch($event);
object(CakeEvent) { data => array( (int) 0 => array( 'conditions' => array( [maximum depth reached] ), 'fields' => 'COUNT(DISTINCT("Content"."id")) AS count', 'joins' => array( [maximum depth reached] ), 'limit' => null, 'offset' => null, 'order' => array( [maximum depth reached] ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) -1 ) ) result => null break => true breakOn => array( (int) 0 => false, (int) 1 => null ) modParams => (int) 0 [protected] _name => 'Model.beforeFind' [protected] _subject => object(Content) { name => 'Content' hasOne => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) hasAndBelongsToMany => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) validate => array( [maximum depth reached] ) actsAs => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'contents' id => false data => array([maximum depth reached]) schemaName => 'public' table => 'contents' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'Content' tableToModel => array( [maximum depth reached] ) cacheQueries => false Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => 'count' 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] ) Image => object(Image) {} ConfirmationImage => object(Image) {} locale => 'fra' [protected] _schema => null [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 [private] HashVersionComponent => false [private] ModifiedComponent => false } [protected] _stopped => false }
- CORE/Cake/Model/Model.php line 3005 → Model->buildQuery(string, array)
$this->findQueryType = $type;
$this->id = $this->getID();
$query = $this->buildQuery($type, $query);
if ($query === null) {
'count' array( 'conditions' => array( 'Content.id' => '5444&theme=130' ), 'fields' => 'COUNT(*) AS "count"', 'joins' => array(), 'limit' => null, 'offset' => null, 'order' => array( (int) 0 => false ), 'page' => (int) 1, 'group' => null, 'callbacks' => true, 'recursive' => (int) -1 )
- APP/Controller/ContentsController.php line 41 → Model->find(string, array)
{
// Le contenu existe t-il ?
$exists = $this->Content->find('count', [
'conditions' => ['Content.id' => $id],
'recursive' => -1
'count' array( 'conditions' => array( 'Content.id' => '5444&theme=130' ), 'recursive' => (int) -1 )
- [internal function] → ContentsController->view(string)
'5444&theme=130'
- CORE/Cake/Controller/Controller.php line 491 → ReflectionMethod->invokeArgs(ContentsController, array)
'action' => $request->params['action']
));
}
return $method->invokeArgs($this, $request->params['pass']);
object(ContentsController) { name => 'Contents' components => array( 'Auth' => array( 'authorize' => 'Controller' ), 'Session' => null, 'Access' => null, 'RequestHandler' => null, 'ContentView' => null, 'Cache' => null, 'Utils' => null ) uses => array( (int) 0 => 'Content', (int) 1 => 'ContentDiagnostic', (int) 2 => 'Product', (int) 3 => 'ProductPartner', (int) 4 => 'IsContentDiagnostic' ) helpers => array( (int) 0 => 'Session', (int) 1 => 'Js', (int) 2 => 'Ajax', (int) 3 => 'Access', (int) 4 => 'Time', (int) 5 => 'Text', 'Html' => array( 'className' => 'Bootstrap3.BootstrapHtml' ), 'Form' => array( 'className' => 'Bootstrap3.BootstrapForm' ), 'Modal' => array( 'className' => 'Bootstrap3.BootstrapModal' ), 'Instance' => array( 'host' => '*****', 'instance' => null, 'default' => 'ephytia.inra.fr' ) ) request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'fr/Contents/view/5444&theme=130' base => '' webroot => '/' here => '/fr/Contents/view/5444&theme=130' [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 => 'Contents' layoutPath => null viewVars => array( 'currentLangIsFrontAvailable' => true, 'isDefaultLang' => true, 'isAdmin' => false, 'classes_for_css' => 'Contents', 'lang' => 'fr', 'arrayParams' => array( (int) 0 => '5444&theme=130' ), 'params' => '5444&theme=130', 'action' => 'view', 'isHome' => false, 'instance' => null, 'controller' => 'Contents' ) view => 'view' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(ContentsController) {} [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 => '5444&theme=130' ) scaffold => false methods => array( (int) 0 => 'isAuthorizedForInstance', (int) 1 => 'view', (int) 2 => 'edit', (int) 3 => 'delete', (int) 4 => 'add', (int) 5 => 'addImage', (int) 6 => 'deleteImage', (int) 7 => 'menu_contents_root_for_product', (int) 8 => 'menu_contents_for_content', (int) 9 => 'getParentBranch', (int) 10 => 'getAllSuceptibleParentsContents', (int) 11 => 'getAllSuceptibleParentsContentsWithoutChildren', (int) 12 => 'saveOrder', (int) 13 => 'saveOrderImages', (int) 15 => 'isAuthorized', (int) 16 => 'ajaxError', (int) 17 => 'translate', (int) 18 => 'getLocale', (int) 19 => 'renderJson', (int) 20 => 'renderAjax', (int) 21 => 'testParams', (int) 22 => 'setExtrasValidationErrors' ) modelClass => 'Content' modelKey => 'content' validationErrors => null Auth => object(AuthComponent) { components => array( [maximum depth reached] ) authenticate => array( [maximum depth reached] ) authorize => 'Controller' ajaxLogin => null flash => array( [maximum depth reached] ) loginAction => array( [maximum depth reached] ) loginRedirect => array( [maximum depth reached] ) logoutRedirect => array( [maximum depth reached] ) authError => 'Vous n'avez pas l'autorisation de voir cette page' unauthorizedRedirect => true allowedActions => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} settings => 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]) } Access => object(AccessComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) User => object(User) {} Role => object(Role) {} Group => object(Group) {} Product => object(Product) {} [protected] _Collection => null [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]) } ContentView => object(ContentViewComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) ContentView => object(IsContentView) {} [protected] _Collection => null [protected] _componentMap => array([maximum depth reached]) } Cache => object(CacheComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Utils => object(UtilsComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } isAdmin => false Content => object(Content) { name => 'Content' hasOne => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) hasAndBelongsToMany => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) validate => array( [maximum depth reached] ) actsAs => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'contents' id => false data => array([maximum depth reached]) schemaName => 'public' table => 'contents' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'Content' tableToModel => array( [maximum depth reached] ) cacheQueries => false Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => 'count' 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] ) Image => object(Image) {} ConfirmationImage => object(Image) {} locale => 'fra' [protected] _schema => null [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 [private] HashVersionComponent => false [private] ModifiedComponent => false } [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 => '5444&theme=130' )
- 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' => 'Contents', 'action' => 'view', 'named' => array(), 'pass' => array( (int) 0 => '5444&theme=130' ), 'language' => 'fr', 'isAjax' => false, 'models' => array( 'User' => array( [maximum depth reached] ), 'Role' => array( [maximum depth reached] ), 'Group' => array( [maximum depth reached] ), 'Product' => array( [maximum depth reached] ), 'Modified' => array( [maximum depth reached] ), 'I18nModel' => array( [maximum depth reached] ), 'IsContentView' => array( [maximum depth reached] ), 'Content' => array( [maximum depth reached] ), 'Image' => array( [maximum depth reached] ), 'I18nImage' => array( [maximum depth reached] ), 'HashVersion' => array( [maximum depth reached] ), 'ConfirmationImage' => array( [maximum depth reached] ), 'ContentSrc' => array( [maximum depth reached] ), 'ContentDest' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'fr/Contents/view/5444&theme=130' base => '' webroot => '/' here => '/fr/Contents/view/5444&theme=130' [protected] _detectors => array( 'get' => array( 'env' => 'REQUEST_METHOD', 'value' => 'GET' ), 'patch' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ), '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 ), 'json' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'json' ), 'xml' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'xml' ) ) [protected] _input => '' }
- CORE/Cake/Routing/Dispatcher.php line 167 → Dispatcher->_invoke(ContentsController, CakeRequest)
));
}
$response = $this->_invoke($controller, $request);
if (isset($request->params['return'])) {
object(ContentsController) { name => 'Contents' components => array( 'Auth' => array( 'authorize' => 'Controller' ), 'Session' => null, 'Access' => null, 'RequestHandler' => null, 'ContentView' => null, 'Cache' => null, 'Utils' => null ) uses => array( (int) 0 => 'Content', (int) 1 => 'ContentDiagnostic', (int) 2 => 'Product', (int) 3 => 'ProductPartner', (int) 4 => 'IsContentDiagnostic' ) helpers => array( (int) 0 => 'Session', (int) 1 => 'Js', (int) 2 => 'Ajax', (int) 3 => 'Access', (int) 4 => 'Time', (int) 5 => 'Text', 'Html' => array( 'className' => 'Bootstrap3.BootstrapHtml' ), 'Form' => array( 'className' => 'Bootstrap3.BootstrapForm' ), 'Modal' => array( 'className' => 'Bootstrap3.BootstrapModal' ), 'Instance' => array( 'host' => '*****', 'instance' => null, 'default' => 'ephytia.inra.fr' ) ) request => object(CakeRequest) { params => array( [maximum depth reached] ) data => array([maximum depth reached]) query => array([maximum depth reached]) url => 'fr/Contents/view/5444&theme=130' base => '' webroot => '/' here => '/fr/Contents/view/5444&theme=130' [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 => 'Contents' layoutPath => null viewVars => array( 'currentLangIsFrontAvailable' => true, 'isDefaultLang' => true, 'isAdmin' => false, 'classes_for_css' => 'Contents', 'lang' => 'fr', 'arrayParams' => array( (int) 0 => '5444&theme=130' ), 'params' => '5444&theme=130', 'action' => 'view', 'isHome' => false, 'instance' => null, 'controller' => 'Contents' ) view => 'view' layout => 'default' autoRender => true autoLayout => true Components => object(ComponentCollection) { defaultPriority => (int) 10 [protected] _Controller => object(ContentsController) {} [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 => '5444&theme=130' ) scaffold => false methods => array( (int) 0 => 'isAuthorizedForInstance', (int) 1 => 'view', (int) 2 => 'edit', (int) 3 => 'delete', (int) 4 => 'add', (int) 5 => 'addImage', (int) 6 => 'deleteImage', (int) 7 => 'menu_contents_root_for_product', (int) 8 => 'menu_contents_for_content', (int) 9 => 'getParentBranch', (int) 10 => 'getAllSuceptibleParentsContents', (int) 11 => 'getAllSuceptibleParentsContentsWithoutChildren', (int) 12 => 'saveOrder', (int) 13 => 'saveOrderImages', (int) 15 => 'isAuthorized', (int) 16 => 'ajaxError', (int) 17 => 'translate', (int) 18 => 'getLocale', (int) 19 => 'renderJson', (int) 20 => 'renderAjax', (int) 21 => 'testParams', (int) 22 => 'setExtrasValidationErrors' ) modelClass => 'Content' modelKey => 'content' validationErrors => null Auth => object(AuthComponent) { components => array( [maximum depth reached] ) authenticate => array( [maximum depth reached] ) authorize => 'Controller' ajaxLogin => null flash => array( [maximum depth reached] ) loginAction => array( [maximum depth reached] ) loginRedirect => array( [maximum depth reached] ) logoutRedirect => array( [maximum depth reached] ) authError => 'Vous n'avez pas l'autorisation de voir cette page' unauthorizedRedirect => true allowedActions => array( [maximum depth reached] ) request => object(CakeRequest) {} response => object(CakeResponse) {} settings => 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]) } Access => object(AccessComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) User => object(User) {} Role => object(Role) {} Group => object(Group) {} Product => object(Product) {} [protected] _Collection => null [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]) } ContentView => object(ContentViewComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) ContentView => object(IsContentView) {} [protected] _Collection => null [protected] _componentMap => array([maximum depth reached]) } Cache => object(CacheComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } Utils => object(UtilsComponent) { settings => array([maximum depth reached]) components => array([maximum depth reached]) [protected] _Collection => object(ComponentCollection) {} [protected] _componentMap => array([maximum depth reached]) } isAdmin => false Content => object(Content) { name => 'Content' hasOne => array( [maximum depth reached] ) belongsTo => array( [maximum depth reached] ) hasAndBelongsToMany => array( [maximum depth reached] ) hasMany => array( [maximum depth reached] ) validate => array( [maximum depth reached] ) actsAs => array( [maximum depth reached] ) useDbConfig => 'default' useTable => 'contents' id => false data => array([maximum depth reached]) schemaName => 'public' table => 'contents' primaryKey => 'id' validationErrors => array([maximum depth reached]) validationDomain => null tablePrefix => '' plugin => null alias => 'Content' tableToModel => array( [maximum depth reached] ) cacheQueries => false Behaviors => object(BehaviorCollection) {} whitelist => array([maximum depth reached]) cacheSources => true findQueryType => 'count' 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] ) Image => object(Image) {} ConfirmationImage => object(Image) {} locale => 'fra' [protected] _schema => null [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 [private] HashVersionComponent => false [private] ModifiedComponent => false } [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' => 'Contents', 'action' => 'view', 'named' => array(), 'pass' => array( (int) 0 => '5444&theme=130' ), 'language' => 'fr', 'isAjax' => false, 'models' => array( 'User' => array( [maximum depth reached] ), 'Role' => array( [maximum depth reached] ), 'Group' => array( [maximum depth reached] ), 'Product' => array( [maximum depth reached] ), 'Modified' => array( [maximum depth reached] ), 'I18nModel' => array( [maximum depth reached] ), 'IsContentView' => array( [maximum depth reached] ), 'Content' => array( [maximum depth reached] ), 'Image' => array( [maximum depth reached] ), 'I18nImage' => array( [maximum depth reached] ), 'HashVersion' => array( [maximum depth reached] ), 'ConfirmationImage' => array( [maximum depth reached] ), 'ContentSrc' => array( [maximum depth reached] ), 'ContentDest' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'fr/Contents/view/5444&theme=130' base => '' webroot => '/' here => '/fr/Contents/view/5444&theme=130' [protected] _detectors => array( 'get' => array( 'env' => 'REQUEST_METHOD', 'value' => 'GET' ), 'patch' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ), '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 ), 'json' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'json' ), 'xml' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'xml' ) ) [protected] _input => '' }
- APP/webroot/index.php line 108 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');
$Dispatcher = new Dispatcher();
$Dispatcher->dispatch(new CakeRequest(), new CakeResponse(array('charset' => Configure::read('App.encoding'))));
object(CakeRequest) { params => array( 'plugin' => null, 'controller' => 'Contents', 'action' => 'view', 'named' => array(), 'pass' => array( (int) 0 => '5444&theme=130' ), 'language' => 'fr', 'isAjax' => false, 'models' => array( 'User' => array( [maximum depth reached] ), 'Role' => array( [maximum depth reached] ), 'Group' => array( [maximum depth reached] ), 'Product' => array( [maximum depth reached] ), 'Modified' => array( [maximum depth reached] ), 'I18nModel' => array( [maximum depth reached] ), 'IsContentView' => array( [maximum depth reached] ), 'Content' => array( [maximum depth reached] ), 'Image' => array( [maximum depth reached] ), 'I18nImage' => array( [maximum depth reached] ), 'HashVersion' => array( [maximum depth reached] ), 'ConfirmationImage' => array( [maximum depth reached] ), 'ContentSrc' => array( [maximum depth reached] ), 'ContentDest' => array( [maximum depth reached] ) ) ) data => array() query => array() url => 'fr/Contents/view/5444&theme=130' base => '' webroot => '/' here => '/fr/Contents/view/5444&theme=130' [protected] _detectors => array( 'get' => array( 'env' => 'REQUEST_METHOD', 'value' => 'GET' ), 'patch' => array( 'env' => 'REQUEST_METHOD', 'value' => 'PATCH' ), '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 ), 'json' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'json' ), 'xml' => array( 'accept' => array( [maximum depth reached] ), 'param' => 'ext', 'value' => 'xml' ) ) [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) 429 => 'Too Many Requests', (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' ), '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', 'jsonapi' => 'application/vnd.api+json', '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', 'psd' => array( (int) 0 => 'application/photoshop', (int) 1 => 'application/psd', (int) 2 => 'image/psd', (int) 3 => 'image/x-photoshop', (int) 4 => 'image/photoshop', (int) 5 => 'zz-application/zz-winassoc-psd' ), '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', 'ajax' => 'text/html' ) [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() }