Bonjour,
j'ai décidé de me mettre a CakePHP, j'ai regardé la vidéo de Grafikart mais après avoir installé CakePHP, je me suis retrouvé avec une erreur que je n'arrive pas à corrigé :

Strict (2048): Declaration of Mysql::describe() should be compatible with DataSource::describe($model) [CORE/Cake/Model/Datasource/Database/Mysql.php, line 29]
Code :

* @package Cake.Model.Datasource.Database
 */
class Mysql extends DboSource {

Contexte :

$className  =   "Mysql"
$file   =   "/Users/Imillix/Sites/CakePHP/lib/Cake/Model/Datasource/Database/Mysql.php"
$parts  =   array(
    "Model/Datasource/Database"
)
$plugin =   null
$package    =   "Model/Datasource/Database"
$paths  =   array(
    "/Users/Imillix/Sites/CakePHP/app/Model/Datasource/Database/",
    "/Users/Imillix/Sites/CakePHP/app/models/datasources/database/",
    "/Users/Imillix/Sites/CakePHP/app/Lib/Model/Datasource/Database/",
    "/Users/Imillix/Sites/CakePHP/lib/Cake/Model/Datasource/Database/"
)
$appLibs    =   "/Users/Imillix/Sites/CakePHP/app/Lib/"
$path   =   "/Users/Imillix/Sites/CakePHP/lib/Cake/Model/Datasource/Database/"

include - CORE/Cake/Model/Datasource/Database/Mysql.php, line 29
App::load() - CORE/Cake/Core/App.php, line 578
spl_autoload_call - [internal], line ??
class_exists - [internal], line ??
ConnectionManager::loadDataSource() - CORE/Cake/Model/ConnectionManager.php, line 171
ConnectionManager::getDataSource() - CORE/Cake/Model/ConnectionManager.php, line 95
include - CORE/Cake/View/Pages/home.ctp, line 86
View::_render() - CORE/Cake/View/View.php, line 598
View::render() - CORE/Cake/View/View.php, line 365
Controller::render() - CORE/Cake/Controller/Controller.php, line 901
PagesController::display() - CORE/Cake/Controller/PagesController.php, line 80
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 476
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 106
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 88
[main] - APP/webroot/index.php, line 96

2 réponses


Imillix
Auteur

Merci