IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

MkFramework Discussion :

probleme à l'installation de Mkframework


Sujet :

MkFramework

  1. #1
    Membre à l'essai
    Homme Profil pro
    etudiant
    Inscrit en
    Juin 2015
    Messages
    15
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 38
    Localisation : Cameroun

    Informations professionnelles :
    Activité : etudiant
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Juin 2015
    Messages : 15
    Points : 12
    Points
    12
    Par défaut probleme à l'installation de Mkframework
    bjr

    j ai télécharger le fichier zip "mkframework_v4_125_3_r306" et je l ai dézippé dans le répertoire "htdocs" de "Xampp".
    j ai été obliger de changer le port du serveur apache car j'ai eu un conflit avec Skype.
    du coup , en tapant l adresse "http://localhost:8080/mkframework_v4/", j'ai bien la page de création et administration de projet.
    mais lorsque je veut créer un projet , je suis redirigé vers une page qui me renvoie ceci :

    Methods with the same name as their class will not be constructors in a future version of PHP; model_mkfbuilderprojet has a deprecated constructor
    #0 C:\xampp\htdocs\mkframework_v4\plugin\plugin_autoload.php(10): exception_error_handler(8192, 'Methods with th...', 'C:\\xampp\\htdocs...', 18, Array)
    #1 C:\xampp\htdocs\mkframework_v4\plugin\plugin_autoload.php(10): include()
    #2 [internal function]: plugin_autoload::autoload('model_mkfbuilde...')
    #3 C:\xampp\htdocs\mkframework_v4\module\builder\main.php(79): spl_autoload_call('model_mkfbuilde...')
    #4 C:\xampp\htdocs\mkframework_v4\lib\framework\class_root.php(263): module_builder->_new()
    #5 C:\xampp\htdocs\mkframework_v4\index.php(55): _root->run()
    #6 {main}

    Detail:
    #0 C:\xampp\htdocs\mkframework_v4\plugin\plugin_autoload.php (10)
    exception_error_handler( , 'Methods with the same name as their class will not be constructors in a future version of PHP; model_mkfbuilderprojet has a deprecated constructor' , 'C:\xampp\htdocs\mkframework_v4\model\model_mkfbuilderprojet.php' , , Array ( [sClass] => model_mkfbuilderprojet [tab] => Array ( [0] => model [1] => mkfbuilderprojet ) ) )
    #1 C:\xampp\htdocs\mkframework_v4\plugin\plugin_autoload.php (10)
    include( )
    #2 plugin_autoload :: autoload( 'model_mkfbuilderprojet' )
    #3 C:\xampp\htdocs\mkframework_v4\module\builder\main.php (79)
    spl_autoload_call( 'model_mkfbuilderprojet' )
    #4 C:\xampp\htdocs\mkframework_v4\lib\framework\class_root.php (263)
    module_builder -> _new( )
    #5 C:\xampp\htdocs\mkframework_v4\index.php (55)
    _root -> run( )
    #6 {main}

    Fichier : C:\xampp\htdocs\mkframework_v4\model\model_mkfbuilderprojet.php ligne 18

    Message : Methods with the same name as their class will not be constructors in a future version of PHP; model_mkfbuilderprojet has a deprecated constructor
    1 <?php
    2 /*
    3 This file is part of Mkframework.
    4
    5 Mkframework is free software: you can redistribute it and/or modify
    6 it under the terms of the GNU Lesser General Public License as published by
    7 the Free Software Foundation, either version 3 of the License.
    8
    9 Mkframework is distributed in the hope that it will be useful,
    10 but WITHOUT ANY WARRANTY; without even the implied warranty of
    11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
    12 GNU Lesser General Public License for more details.
    13
    14 You should have received a copy of the GNU Lesser General Public License
    15 along with Mkframework. If not, see <http://www.gnu.org/licenses/>.
    16
    17 */
    18 class model_mkfbuilderprojet extends abstract_model{
    19
    20 private $sSource='data/sources/projet/';
    21 private $sSourceEmpty='data/sources/projet_vide/';
    22 private $sGenere=null;
    23
    24 public function model_mkfbuilderprojet(){
    25 $this->sGenere=_root::getConfigVar('path.generation');
    26 }
    27
    28 public static function getInstance(){
    29 return self::_getInstance(__CLASS__);
    30 }
    31
    32 public function create($sProjet){
    33 self::copyFromTo($this->sSource,$this->sGenere.$sProjet);
    34 //self::copyFromTo($this->sSource.'public/.htaccess',$this->sGenere.$sProjet.'/public/.htaccess');
    35 //desormais a faire manuellement (dans la doc)
    Navigation
    Module:builder Action:new
    $_GET
    Array
    (
    [:nav] => builder::new
    )
    $_POST
    Array
    (
    [projet] => blog
    [opt] =>
    )
    $_SERVER
    Array
    (
    [MIBDIRS] => C:/xampp/php/extras/mibs
    [MYSQL_HOME] => \xampp\mysql\bin
    [OPENSSL_CONF] => C:/xampp/apache/bin/openssl.cnf
    [PHP_PEAR_SYSCONF_DIR] => \xampp\php
    [PHPRC] => \xampp\php
    [TMP] => \xampp\tmp
    [HTTP_HOST] => localhost:8080
    [HTTP_USER_AGENT] => Mozilla/5.0 (Windows NT 10.0; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0
    [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    [HTTP_ACCEPT_LANGUAGE] => fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3
    [HTTP_ACCEPT_ENCODING] => gzip, deflate
    [HTTP_REFERER] => http://localhost:8080/mkframework_v4...v=builder::new
    [HTTP_CONNECTION] => keep-alive
    [CONTENT_TYPE] => application/x-www-form-urlencoded
    [CONTENT_LENGTH] => 16
    [PATH] => C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\system32\config\systemprofile\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\120\Tools\Binn\;C:\xampp\php;C:\ProgramData\ComposerSetup\bin;C:\Users\SEF\AppData\Roaming\Composer\vendor\bin
    [SystemRoot] => C:\WINDOWS
    [COMSPEC] => C:\WINDOWS\system32\cmd.exe
    [PATHEXT] => .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    [WINDIR] => C:\WINDOWS
    [SERVER_SIGNATURE] =>
    Apache/2.4.18 (Win32) OpenSSL/1.0.2e PHP/7.0.4 Server at localhost Port 8080


    [SERVER_SOFTWARE] => Apache/2.4.18 (Win32) OpenSSL/1.0.2e PHP/7.0.4
    [SERVER_NAME] => localhost
    [SERVER_ADDR] => ::1
    [SERVER_PORT] => 8080
    [REMOTE_ADDR] => ::1
    [DOCUMENT_ROOT] => C:/xampp/htdocs
    [REQUEST_SCHEME] => http
    [CONTEXT_PREFIX] =>
    [CONTEXT_DOCUMENT_ROOT] => C:/xampp/htdocs
    [SERVER_ADMIN] => postmaster@localhost
    [SCRIPT_FILENAME] => C:/xampp/htdocs/mkframework_v4/index.php
    [REMOTE_PORT] => 4814
    [GATEWAY_INTERFACE] => CGI/1.1
    [SERVER_PROTOCOL] => HTTP/1.1
    [REQUEST_METHOD] => POST
    [QUERY_STRING] => :nav=builder::new
    [REQUEST_URI] => /mkframework_v4/index.php?:nav=builder::new
    [SCRIPT_NAME] => /mkframework_v4/index.php
    [PHP_SELF] => /mkframework_v4/index.php
    [REQUEST_TIME_FLOAT] => 1467222195.087
    [REQUEST_TIME] => 1467222195
    )



    svp , quel est le problème et comment le réparer?

  2. #2
    Membre régulier
    Profil pro
    Inscrit en
    Février 2010
    Messages
    89
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Février 2010
    Messages : 89
    Points : 95
    Points
    95
    Par défaut
    Bonjour rod43,

    A priori, ce n'est pas une erreur mais un avertissement qui t'indique que le constructeur utilisé par le MKframework est déprécié ( et ne fonctionna plus dans les prochaines versions de php).
    tu peux changer ta config de xamp pour ne plus avertir sur les fonctions depreciées ou downgrader ta version de php en attendant un correctif du framework

    (un lien http://php.net/manual/fr/function.error-reporting.php je ne sais pas ce que ca donne avec wamp)
    Framework php sécurisé et simple à prendre en main avec générateur web http://mkframework.com/ (hebergé sur developpez.com)

  3. #3
    Membre éprouvé
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Février 2010
    Messages
    801
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 43
    Localisation : France, Seine Maritime (Haute Normandie)

    Informations professionnelles :
    Activité : Développeur informatique
    Secteur : Enseignement

    Informations forums :
    Inscription : Février 2010
    Messages : 801
    Points : 1 107
    Points
    1 107
    Par défaut
    Bonjour,
    Mon installation du framework sous wamp est récente et je n'ai pas eu ce genre de désagrément
    L'informatique fait gagner beaucoup de temps. A condition d'en avoir beaucoup devant soi !!!

  4. #4
    Rédacteur
    Avatar de imikado
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Décembre 2006
    Messages
    5 239
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 42
    Localisation : France, Val de Marne (Île de France)

    Informations professionnelles :
    Activité : Développeur informatique
    Secteur : Finance

    Informations forums :
    Inscription : Décembre 2006
    Messages : 5 239
    Points : 19 100
    Points
    19 100
    Billets dans le blog
    17
    Par défaut
    Je note le bug et vais le corriger
    C'est en effet une évolution des constructeurs en php, vous devez etre en php7 je suppose

    Avant on avait
    Code php : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
     
    class voiture{
     public function voiture(){
     
     }
    }

    desormais on a :
    Code php : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
     
    class voiture{
     public function __construct(){
     
     }
    }

    C'est la classe de création du projet qui est impacté, je pense que c'est la seule, je verifierais au passage
    Framework php sécurisé et simple à prendre en main avec générateur web http://mkframework.com/ (hebergé sur developpez.com)
    Mes cours/tutoriaux

  5. #5
    Membre à l'essai
    Homme Profil pro
    etudiant
    Inscrit en
    Juin 2015
    Messages
    15
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 38
    Localisation : Cameroun

    Informations professionnelles :
    Activité : etudiant
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Juin 2015
    Messages : 15
    Points : 12
    Points
    12
    Par défaut
    Citation Envoyé par oliverell62 Voir le message
    Bonjour rod43,

    A priori, ce n'est pas une erreur mais un avertissement qui t'indique que le constructeur utilisé par le MKframework est déprécié ( et ne fonctionna plus dans les prochaines versions de php).
    tu peux changer ta config de xamp pour ne plus avertir sur les fonctions depreciées ou downgrader ta version de php en attendant un correctif du framework

    (un lien http://php.net/manual/fr/function.error-reporting.php je ne sais pas ce que ca donne avec wamp)

    je n arrive toujours pas à changer la configuration pour ne plus avertir sur les fonctions depreciées ou downgrader la version 7.0.4 de php sous xampp ?
    stp donne moi la marche à suivre.

  6. #6
    Membre à l'essai
    Homme Profil pro
    etudiant
    Inscrit en
    Juin 2015
    Messages
    15
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 38
    Localisation : Cameroun

    Informations professionnelles :
    Activité : etudiant
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Juin 2015
    Messages : 15
    Points : 12
    Points
    12
    Par défaut
    Citation Envoyé par imikado Voir le message
    Je note le bug et vais le corriger
    C'est en effet une évolution des constructeurs en php, vous devez etre en php7 je suppose

    Avant on avait
    Code php : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
     
    class voiture{
     public function voiture(){
     
     }
    }

    desormais on a :
    Code php : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
     
    class voiture{
     public function __construct(){
     
     }
    }

    C'est la classe de création du projet qui est impacté, je pense que c'est la seule, je verifierais au passage


    en effet mon php est une version 7.0.4 comment je peut résoudre le problème de cette classe de création du projet qui est impacté.stp donne moi la marche à suivre ou un srcipt enfin bref.

  7. #7
    Rédacteur
    Avatar de imikado
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Décembre 2006
    Messages
    5 239
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 42
    Localisation : France, Val de Marne (Île de France)

    Informations professionnelles :
    Activité : Développeur informatique
    Secteur : Finance

    Informations forums :
    Inscription : Décembre 2006
    Messages : 5 239
    Points : 19 100
    Points
    19 100
    Billets dans le blog
    17
    Par défaut
    Voila le fichier à modifier dans le repertoire model/ du framework

    sinon pour désactiver les dépréciés:

    Editer votre fichier php.ini: /etc/php/7.0/apache2/php.ini
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
    Fichiers attachés Fichiers attachés
    Framework php sécurisé et simple à prendre en main avec générateur web http://mkframework.com/ (hebergé sur developpez.com)
    Mes cours/tutoriaux

  8. #8
    Membre à l'essai
    Homme Profil pro
    etudiant
    Inscrit en
    Juin 2015
    Messages
    15
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 38
    Localisation : Cameroun

    Informations professionnelles :
    Activité : etudiant
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Juin 2015
    Messages : 15
    Points : 12
    Points
    12
    Par défaut
    Citation Envoyé par imikado Voir le message
    Voila le fichier à modifier dans le repertoire model/ du framework

    sinon pour désactiver les dépréciés:

    Editer votre fichier php.ini: /etc/php/7.0/apache2/php.ini
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT
    merci bien ca fonctionne .j ai hate de debuter.c est un pur bonheur de vous avoir.

  9. #9
    Futur Membre du Club
    Homme Profil pro
    Architecte technique
    Inscrit en
    Juillet 2017
    Messages
    3
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 35
    Localisation : Bénin

    Informations professionnelles :
    Activité : Architecte technique
    Secteur : Alimentation

    Informations forums :
    Inscription : Juillet 2017
    Messages : 3
    Points : 6
    Points
    6
    Par défaut Besoins d'aide de démarrage
    bonsoir à tous, quand je cré la base de donnée voici ce que j'ai comme erreur




    SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
    #0 C:\wamp\www\mkframework_v4_X_X_rX\lib\framework\sgbd\pdo\sgbd_pdo_mysql.php(81): PDO->__construct('mysql:dbname=pr...', 'root', 'root')
    #1 C:\wamp\www\mkframework_v4_X_X_rX\lib\framework\abstract\abstract_sgbd_pdo.php(245): sgbd_pdo_mysql->connect()
    #2 C:\wamp\www\mkframework_v4_X_X_rX\lib\framework\sgbd\pdo\sgbd_pdo_mysql.php(38): abstract_sgbd_pdo->query('SHOW TABLES')
    #3 C:\wamp\www\mkframework_v4_X_X_rX\lib\framework\abstract\abstract_model.php(216): sgbd_pdo_mysql->getListTable()
    #4 C:\wamp\www\mkframework_v4_X_X_rX\module\builderTools\main.php(38): abstract_model->getListTable()
    #5 C:\wamp\www\mkframework_v4_X_X_rX\module\mods\all\model\main.php(22): module_builderTools->getListTablesFromConfig('maBaseMysql')
    #6 [internal function]: module_mods_all_model->_index()
    #7 C:\wamp\www\mkframework_v4_X_X_rX\lib\framework\class_layout.php(107): call_user_func(Array)
    #8 C:\wamp\www\mkframework_v4_X_X_rX\module\builder\main.php(211): _layout->addModule('main', 'mods_all_model:...')
    #9 C:\wamp\www\mkframework_v4_X_X_rX\lib\framework\class_root.php(264): module_builder->_edit()
    #10 C:\wamp\www\mkframework_v4_X_X_rX\index.php(55): _root->run()
    #11 {main}

    Detail:
    #0 C:\wamp\www\mkframework_v4_X_X_rX\lib\framework\sgbd\pdo\sgbd_pdo_mysql.php (81)
    PDO -> __construct( 'mysql:dbname=projetBootstrapDb;host=localhost' , 'root' , 'root' )
    #1 C:\wamp\www\mkframework_v4_X_X_rX\lib\framework\abstract\abstract_sgbd_pdo.php (245)
    sgbd_pdo_mysql -> connect( )
    #2 C:\wamp\www\mkframework_v4_X_X_rX\lib\framework\sgbd\pdo\sgbd_pdo_mysql.php (38)
    abstract_sgbd_pdo -> query( 'SHOW TABLES' )
    #3 C:\wamp\www\mkframework_v4_X_X_rX\lib\framework\abstract\abstract_model.php (216)
    sgbd_pdo_mysql -> getListTable( )
    #4 C:\wamp\www\mkframework_v4_X_X_rX\module\builderTools\main.php (38)
    abstract_model -> getListTable( )
    #5 C:\wamp\www\mkframework_v4_X_X_rX\module\mods\all\model\main.php (22)
    module_builderTools -> getListTablesFromConfig( 'maBaseMysql' )
    #6 module_mods_all_model -> _index( )
    #7 C:\wamp\www\mkframework_v4_X_X_rX\lib\framework\class_layout.php (107)
    call_user_func( Array ( [0] => module_mods_all_model Object ( [sModule:protected] => mods_all_model [sModuleView:protected] => mods/all/model ) [1] => _index ) )
    #8 C:\wamp\www\mkframework_v4_X_X_rX\module\builder\main.php (211)
    _layout -> addModule( 'main' , 'mods_all_model::index' )
    #9 C:\wamp\www\mkframework_v4_X_X_rX\lib\framework\class_root.php (264)
    module_builder -> _edit( )
    #10 C:\wamp\www\mkframework_v4_X_X_rX\index.php (55)
    _root -> run( )
    #11 {main}

    Fichier : C:\wamp\www\mkframework_v4_X_X_rX\lib\framework\sgbd\pdo\sgbd_pdo_mysql.php ligne 81

    Message : SQLSTATE[28000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
    63 }
    64 public function getUpdateFromTab($tProperty){
    65 $sReq='';
    66 if($tProperty){
    67 $tKey=array_keys($tProperty);
    68 foreach($tKey as $sVar){
    69 $sReq.='`'.$sVar.'`'.'=?,';
    70 }
    71 }
    72
    73 return substr($sReq,0,-1);
    74 }
    75 protected function connect(){
    76 if(empty($this->_pDb)){
    77 $this->_pDb=new PDO(
    78 $this->_tConfig[$this->_sConfig.'.dsn'],
    79 $this->_tConfig[$this->_sConfig.'.username'],
    80 $this->_tConfig[$this->_sConfig.'.password']
    81 );
    82 }
    83 }
    84
    85 public function getLastInsertId(){
    86 return $this->_pDb->lastInsertId();
    87 }
    88
    89 public function getWhereAll(){
    90 return '1=1';
    91 }
    92
    93 }
    94
    Navigation
    Module:builder Action:edit
    $_GET
    Array
    (
    [:nav] => builder::edit
    [id] => Essai
    [action] => mods_all_model::index
    [sConfig] => maBaseMysql
    )
    $_POST
    Array
    (
    )
    $_SERVER
    Array
    (
    [HTTP_HOST] => localhost
    [HTTP_USER_AGENT] => Mozilla/5.0 (Windows NT 6.1; rv:54.0) Gecko/20100101 Firefox/54.0
    [HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    [HTTP_ACCEPT_LANGUAGE] => fr,fr-FR;q=0.8,en-US;q=0.5,en;q=0.3
    [HTTP_ACCEPT_ENCODING] => gzip, deflate
    [HTTP_REFERER] => http://localhost/mkframework_v4_X_X_...l_model::index
    [HTTP_CONNECTION] => keep-alive
    [HTTP_UPGRADE_INSECURE_REQUESTS] => 1
    [PATH] => C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;
    [SystemRoot] => C:\Windows
    [COMSPEC] => C:\Windows\system32\cmd.exe
    [PATHEXT] => .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
    [WINDIR] => C:\Windows
    [SERVER_SIGNATURE] =>
    [SERVER_SOFTWARE] => Apache/2.2.11 (Win32) PHP/5.3.0
    [SERVER_NAME] => localhost
    [SERVER_ADDR] => 127.0.0.1
    [SERVER_PORT] => 80
    [REMOTE_ADDR] => 127.0.0.1
    [DOCUMENT_ROOT] => C:/wamp/www/
    [SERVER_ADMIN] => admin@localhost
    [SCRIPT_FILENAME] => C:/wamp/www/mkframework_v4_X_X_rX/index.php
    [REMOTE_PORT] => 49719
    [GATEWAY_INTERFACE] => CGI/1.1
    [SERVER_PROTOCOL] => HTTP/1.1
    [REQUEST_METHOD] => GET
    [QUERY_STRING] => :nav=builder::edit&id=Essai&action=mods_all_model::index&sConfig=maBaseMysql
    [REQUEST_URI] => /mkframework_v4_X_X_rX/index.php?:nav=builder::edit&id=Essai&action=mods_all_model::index&sConfig=maBaseMysql
    [SCRIPT_NAME] => /mkframework_v4_X_X_rX/index.php
    [PHP_SELF] => /mkframework_v4_X_X_rX/index.php
    [REQUEST_TIME] => 1500919727
    )

  10. #10
    Rédacteur
    Avatar de imikado
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Décembre 2006
    Messages
    5 239
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 42
    Localisation : France, Val de Marne (Île de France)

    Informations professionnelles :
    Activité : Développeur informatique
    Secteur : Finance

    Informations forums :
    Inscription : Décembre 2006
    Messages : 5 239
    Points : 19 100
    Points
    19 100
    Billets dans le blog
    17
    Par défaut
    Apparement un soucis de connexion à la base mysql avec l'utilisateur root, et mot de passe root, arrivez-vous à vous y connecter avec un autre client ?
    Framework php sécurisé et simple à prendre en main avec générateur web http://mkframework.com/ (hebergé sur developpez.com)
    Mes cours/tutoriaux

  11. #11
    Futur Membre du Club
    Homme Profil pro
    Architecte technique
    Inscrit en
    Juillet 2017
    Messages
    3
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 35
    Localisation : Bénin

    Informations professionnelles :
    Activité : Architecte technique
    Secteur : Alimentation

    Informations forums :
    Inscription : Juillet 2017
    Messages : 3
    Points : 6
    Points
    6
    Par défaut
    oui ca n'a pas marché aussi. je pourrais avoir plus d'explication sur le procédé pour ne pas avoir de telles erreurs? jie rappel que j'utilise php version 5.3.0

  12. #12
    Rédacteur
    Avatar de imikado
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Décembre 2006
    Messages
    5 239
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 42
    Localisation : France, Val de Marne (Île de France)

    Informations professionnelles :
    Activité : Développeur informatique
    Secteur : Finance

    Informations forums :
    Inscription : Décembre 2006
    Messages : 5 239
    Points : 19 100
    Points
    19 100
    Billets dans le blog
    17
    Par défaut
    Il n'y a pas ici de problème avec php, c'est "juste" la connextion à votre base de données mysql

    Vous n'avez jamais utilisé encore votre base mysql ?

    Quelques question ?:
    1. quel systeme utilisez vous (windows, linux ..)
    2. avez-vous deja utilisé votre base mysql
    3. comment l'avez vous installé (selon les système, à l'installation il demande le mot de passe pour mysql)
    Framework php sécurisé et simple à prendre en main avec générateur web http://mkframework.com/ (hebergé sur developpez.com)
    Mes cours/tutoriaux

  13. #13
    Futur Membre du Club
    Homme Profil pro
    Architecte technique
    Inscrit en
    Juillet 2017
    Messages
    3
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 35
    Localisation : Bénin

    Informations professionnelles :
    Activité : Architecte technique
    Secteur : Alimentation

    Informations forums :
    Inscription : Juillet 2017
    Messages : 3
    Points : 6
    Points
    6
    Par défaut
    si je l'utilise.
    1. windows
    2. oui
    3. non il n'a pas demandé de mot de passe. xa m'a seulement demandé de choisir l'éditeur et le navigateur à utiliser.
    voici le lien du tuto http://imikado.developpez.com/tutori...microblogging/ que j'ai suivi, mais je ne m'en sort pas
    aidez moi svp !!!!

  14. #14
    Rédacteur
    Avatar de imikado
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Décembre 2006
    Messages
    5 239
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 42
    Localisation : France, Val de Marne (Île de France)

    Informations professionnelles :
    Activité : Développeur informatique
    Secteur : Finance

    Informations forums :
    Inscription : Décembre 2006
    Messages : 5 239
    Points : 19 100
    Points
    19 100
    Billets dans le blog
    17
    Par défaut
    Vous avez deja utilisé votre base mysql, mais etes vous sur que le login est "root" et le mot de passe est "root" ?

    car ici c'est ça le soucis: un accès interdit à l'utilisateur "root" avec le mot de passe "root", peut etre n'avez vous pas de mot de passe à votre compte root

    quand vous dites "xa" c'est quel logiciel ? vous avez installer mysql à part ou vous utilisez une solution clé en main comme easyphp / wamp and co ?
    Framework php sécurisé et simple à prendre en main avec générateur web http://mkframework.com/ (hebergé sur developpez.com)
    Mes cours/tutoriaux

  15. #15
    Nouveau membre du Club Avatar de MKuser53
    Homme Profil pro
    Ingénieur systèmes et réseaux
    Inscrit en
    Décembre 2016
    Messages
    34
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Mayenne (Pays de la Loire)

    Informations professionnelles :
    Activité : Ingénieur systèmes et réseaux
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Décembre 2016
    Messages : 34
    Points : 27
    Points
    27
    Par défaut
    Apparemment Abdelaffise utilise wamp [DOCUMENT_ROOT] => C:/wamp/www/
    Pour valider la connexion à la base de donnée, il peut utiliser phpMyAdmin qui est livré avec.
    Mais je dirais peut-être comme imikado que le mot de passe est vide:
    < - -
    Si vous installer ou réinstaller Wamp (Apache - MySQL - PHP), vous avez sans doute constaté que, par défaut, l'utilisateur "root" de PhpMyAdmin (et donc de MySQL) n'a pas de mot de passe défini.
    - - >

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Problème d'installation de thème kde
    Par Adrael dans le forum KDE
    Réponses: 7
    Dernier message: 27/09/2003, 11h01
  2. [Kylix] Probleme d'installation sous Mdk 9.1
    Par anderson2 dans le forum EDI
    Réponses: 4
    Dernier message: 25/05/2003, 18h27
  3. Réponses: 1
    Dernier message: 19/05/2003, 15h47
  4. Réponses: 12
    Dernier message: 23/10/2002, 11h56
  5. probleme d'installation sur d'autres postes
    Par VBkiller dans le forum Composants VCL
    Réponses: 4
    Dernier message: 18/09/2002, 18h14

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo