Turning on (at 1) the debug it works! I do not why, but it works!
Now i've try to instal the plugin in a different installation of
cakephp but it give me a warning and an error when i want to see a
post :
Warning (2): Division by zero [CORE\cake\libs\controller
\controller.php, line 1072]
Code | Context
$object = Post
Post::$name = "Post"
Post::$actsAs = array
Post::$belongsTo = array
Post::$hasMany = array
Post::$validate = array
Post::$useDbConfig = "default"
Post::$useTable = "posts"
Post::$displayField = "title"
Post::$id = false
Post::$data = array
Post::$table = "posts"
Post::$primaryKey = "id"
Post::$_schema = array
Post::$validationErrors = array
Post::$tablePrefix = ""
Post::$alias = "Post"
Post::$tableToModel = array
Post::$logTransactions = false
Post::$transactional = false
Post::$cacheQueries = false
Post::$hasOne = array
Post::$hasAndBelongsToMany = array
Post::$Behaviors = BehaviorCollection object
Post::$whitelist = array
Post::$cacheSources = true
Post::$findQueryType = NULL
Post::$recursive = 1
Post::$order = "Post.created DESC"
Post::$__exists = NULL
Post::$__associationKeys = array
Post::$__associations = array
Post::$__backAssociation = array
Post::$__insertID = NULL
Post::$__numRows = NULL
Post::$__affectedRows = NULL
Post::$_findMethods = array
Post::$_log = NULL
Post::$Blog = Blog object
Post::$Author = AppModel object
Post::$Comment = Comment object
Post::$Category = Category object
Post::$CategoriesPost = AppModel object
$scope = array()
$whitelist = array()
$assoc = null
$options = array(
"page" => 1,
"limit" => null,
"conditions" => array(
"Post.status" => 2,
"Post.blog_id" => "2"
),
"order" => "Post.created DESC",
"contain" => array(
"Category",
"Author",
"Blog"
)
)
$defaults = array(
"conditions" => array(
"Post.status" => 2,
"Post.blog_id" => "2"
),
"limit" => null,
"order" => "Post.created DESC",
"contain" => array(
"Category",
"Author",
"Blog"
)
)
$vars = array(
"fields",
"order",
"limit",
"page",
"recursive"
)
$keys = array(
"pass",
"named",
"plugin",
"controller",
"action",
"form",
"url",
"isAjax",
"blogname"
)
$count = 1
$i = 9
$recursive = 1
$page = 1
$limit = null
$order = "Post.created DESC"
$fields = null
$conditions = array(
"Post.status" => 2,
"Post.blog_id" => "2"
)
$type = "all"
$contain = array(
"Category",
"Author",
"Blog"
)
$extra = array(
"contain" => array(
"Category",
"Author",
"Blog"
)
)
$parameters = array(
"conditions" => array(
"Post.status" => 2,
"Post.blog_id" => "2"
)
)
$count = $object->find('count', array_merge($parameters,
$extra));
}
$pageCount = intval(ceil($count / $limit));
Controller::paginate() - CORE\cake\libs\controller\controller.php,
line 1072
PostsController::index() - APP\plugins\lilblogs\controllers
\posts_controller.php, line 57
Object::dispatchMethod() - CORE\cake\libs\object.php, line 116
Dispatcher::_invoke() - CORE\cake\dispatcher.php, line 227
Dispatcher::dispatch() - CORE\cake\dispatcher.php, line 194
[main] - APP\webroot\index.php, line 88
Fatal error: Cannot redeclare class CakeSession in C:\wamp\www\cake
\cake\libs\session.php on line 778
Thank you so much!