We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21595
    • 159 Posts
    Note du Modérateur : Merci de vous reporter au sujet :
    [Test] Bugfix du fichier setup.sql


    modif je viens de voir que c’est déjà dans le bug tracker depuis le 10 octobre. En tout cas il semble que le pare feu soit en cause car je viens d’intaller cmsms sans problème. Avec celui ci la version 4.1 de Msql me refusait la connexion.

    sans pare-feu et sans antivirus en installation sur easyphp 1.8 tout fonctionne bien jusqu’au dernier épisode de l’installation ou j’obtien sles erreurs suivantes ( désolé se surcharger le post)
    un petit coup de main serait le bienvenu


    Setup will now attempt to setup the database:

    Creating connection to the database: OK!

    Selecting database `modx`: Database selection failed... The database does not exist. Setup will attempt to create it.

    Creating database `modx`: OK!

    Checking table prefix `modx_`: OK!

    Creating database tables: Database Alerts!

    MODx setup couldn’t install/alter some tables inside the selected database.

    The following errors had occurred during installation

    Nom du champ ’cachepwd’ déjà utilisé during the execution of SQL statement ALTER TABLE `modx_web_users` ADD COLUMN `cachepwd` VARCHAR(100) NOT NULL COMMENT ’Store new unconfirmed password’ AFTER `password`.
    Nom du champ ’editor_type’ déjà utilisé during the execution of SQL statement ALTER TABLE `modx_site_tmplvars` ADD COLUMN `editor_type` INTEGER NOT NULL DEFAULT ’0’ COMMENT ’0-plain text,1-rich text,2-code editor’ AFTER `description` , ADD COLUMN `category` INTEGER NOT NULL DEFAULT ’0’ COMMENT ’category id’ AFTER `editor_type`.Nom de clef ’indx_rank’ déjà utilisé during the execution of SQL statement ALTER TABLE `modx_site_tmplvars` ADD INDEX `indx_rank`(`rank`).Nom de clef ’aliasidx’ déjà utilisé during the execution of SQL statement ALTER TABLE `modx_site_content` ADD INDEX aliasidx (alias).Nom du champ ’introtext’ déjà utilisé during the execution of SQL statement ALTER TABLE `modx_site_content` ADD COLUMN `introtext` TEXT NOT NULL COMMENT ’Used to provide quick summary of the document’ AFTER `isfolder`.Nom du champ ’menutitle’ déjà utilisé during the execution of SQL statement ALTER TABLE `modx_site_content` ADD COLUMN `menutitle` VARCHAR(30) NOT NULL COMMENT ’Menu title’ AFTER `deletedby` , ADD COLUMN `donthit` TINYINT(1) NOT NULL default ’0’ COMMENT ’Disable page hit count’ AFTER `menutitle` , ADD COLUMN `haskeywords` TINYINT(1) NOT NULL default ’0’ COMMENT ’has links to keywords’ AFTER `donthit` , ADD COLUMN `hasmetatags` TINYINT(1) NOT NULL default ’0’ COMMENT ’has links to meta tags’ AFTER `haskeywords` , ADD COLUMN `privateweb` TINYINT(1) NOT NULL default ’0’ COMMENT ’Private web document’ AFTER `hasmetatags` , ADD COLUMN `privatemgr` TINYINT(1) NOT NULL default ’0’ COMMENT ’Private manager document’ AFTER `privateweb`.Nom du champ ’content_dispo’ déjà utilisé during the execution of SQL statement ALTER TABLE `modx_site_content` ADD COLUMN `content_dispo` TINYINT(1) NOT NULL default ’0’ COMMENT ’0-inline, 1-attachment’ AFTER `privatemgr`.Nom du champ ’hidemenu’ déjà utilisé during the execution of SQL statement ALTER TABLE `modx_site_content` ADD COLUMN `hidemenu` TINYINT(1) NOT NULL DEFAULT 0 COMMENT ’Hide document from menu’ AFTER `content_dispo`.Nom du champ ’editor_type’ déjà utilisé during the execution of SQL statement ALTER TABLE `modx_site_plugins` ADD COLUMN `editor_type` INTEGER NOT NULL DEFAULT ’0’ COMMENT ’0-plain text,1-rich text,2-code editor’ AFTER `description` , ADD COLUMN `category` INTEGER NOT NULL DEFAULT ’0’ COMMENT ’category id’ AFTER `editor_type` , ADD COLUMN `cache_type` TINYINT(1) NOT NULL DEFAULT ’0’ COMMENT ’cache option’ AFTER `category`.Nom du champ ’disabled’ déjà utilisé during the execution of SQL statement ALTER TABLE `modx_site_plugins` ADD COLUMN `disabled` TINYINT NOT NULL COMMENT ’Disables the plugin’ AFTER `properties`.Nom du champ ’moduleguid’ déjà utilisé during the execution of SQL statement ALTER TABLE `modx_site_plugins` ADD COLUMN `moduleguid` VARCHAR(32) NOT NULL COMMENT ’GUID of module from which to import shared paramaters’ AFTER `disabled`.Nom du champ ’editor_type’ déjà utilisé during the execution of SQL statement ALTER TABLE `modx_site_htmlsnippets` ADD COLUMN `editor_type` INTEGER NOT NULL DEFAULT ’0’ COMMENT ’0-plain text,1-rich text,2-code editor’ AFTER `description` , ADD COLUMN `category` INTEGER NOT NULL DEFAULT ’0’ COMMENT ’category id’ AFTER `editor_type` , ADD COLUMN `cache_type` TINYINT(1) NOT NULL DEFAULT ’0’ COMMENT ’cache option’ AFTER `category`.Nom du champ ’editor_type’ déjà utilisé during the execution of SQL statement ALTER TABLE `modx_site_snippets` ADD COLUMN `editor_type` INTEGER NOT NULL DEFAULT ’0’ COMMENT ’0-plain text,1-rich text,2-code editor’ AFTER `description` , ADD COLUMN `category` INTEGER NOT NULL DEFAULT ’0’ COMMENT ’category id’ AFTER `editor_type` , ADD COLUMN `cache_type` TINYINT(1) NOT NULL DEFAULT ’0’ COMMENT ’cache option’ AFTER `category`.Nom du champ ’properties’ déjà utilisé during the execution of SQL statement ALTER TABLE `modx_site_snippets` ADD COLUMN `properties` VARCHAR(255) NOT NULL COMMENT ’Default Properties’ AFTER `locked`.Nom du champ ’moduleguid’ déjà utilisé during the execution of SQL statement ALTER TABLE `modx_site_snippets` ADD COLUMN `moduleguid` VARCHAR(32) NOT NULL COMMENT ’GUID of module from which to import shared paramaters’ AFTER `properties`.Nom du champ ’editor_type’ déjà utilisé during the execution of SQL statement ALTER TABLE `modx_site_templates` ADD COLUMN `editor_type` INTEGER NOT NULL DEFAULT ’0’ COMMENT ’0-plain text,1-rich text,2-code editor’ AFTER `description` , ADD COLUMN `category` INTEGER NOT NULL DEFAULT ’0’ COMMENT ’category id’ AFTER `editor_type` , ADD COLUMN `icon` VARCHAR(255) NOT NULL COMMENT ’url to icon file’ AFTER `category` , ADD COLUMN `template_type` INTEGER NOT NULL DEFAULT ’0’ COMMENT ’0-page,1-content’ AFTER `icon`.Ne peut effacer (DROP) ’indx_doc_groups’. Vérifiez s’il existe during the execution of SQL statement ALTER TABLE `modx_document_groups` DROP INDEX `indx_doc_groups`.Nom de clef ’document’ déjà utilisé during the execution of SQL statement ALTER TABLE `modx_document_groups` ADD INDEX `document`(`document`).Nom de clef ’document_group’ déjà utilisé during the execution of SQL statement ALTER TABLE `modx_document_groups` ADD INDEX `document_group` (document_group).Nom du champ ’groupname’ déjà utilisé during the execution of SQL statement ALTER TABLE `modx_system_eventnames` ADD COLUMN `groupname` VARCHAR(20) NOT NULL AFTER `service`.Nom du champ ’private_memgroup’ déjà utilisé during the execution of SQL statement ALTER TABLE `modx_documentgroup_names` ADD COLUMN `private_memgroup` TINYINT DEFAULT 0 COMMENT ’determine whether the document group is private to manager users’ AFTER `name`, ADD COLUMN `private_webgroup` TINYINT DEFAULT 0 COMMENT ’determines whether the document is private to web users’ AFTER `private_memgroup`.Nom du champ ’bk_manager’ déjà utilisé during the execution of SQL statement ALTER TABLE `modx_user_roles` ADD COLUMN `bk_manager` int(1) NOT NULL DEFAULT 0 AFTER `access_permissions`.Nom du champ ’new_plugin’ déjà utilisé during the execution of SQL statement ALTER TABLE `modx_user_roles` ADD COLUMN `new_plugin` int(1) NOT NULL DEFAULT 0, ADD COLUMN `edit_plugin` int(1) NOT NULL DEFAULT 0, ADD COLUMN `save_plugin` int(1) NOT NULL DEFAULT 0, ADD COLUMN `delete_plugin` int(1) NOT NULL DEFAULT 0.Nom du champ ’new_module’ déjà utilisé during the execution of SQL statement ALTER TABLE `modx_user_roles` ADD COLUMN `new_module` int(1) NOT NULL DEFAULT 0, ADD COLUMN `edit_module` int(1) NOT NULL DEFAULT 0, ADD COLUMN `save_module` int(1) NOT NULL DEFAULT 0, ADD COLUMN `exec_module` int(1) NOT NULL DEFAULT 0, ADD COLUMN `delete_module` int(1) NOT NULL DEFAULT 0, ADD COLUMN `view_eventlog` int(1) NOT NULL DEFAULT 0, ADD COLUMN `delete_eventlog` int(1) NOT NULL DEFAULT 0, ADD COLUMN `manage_metatags` int(1) NOT NULL DEFAULT 0, ADD COLUMN `edit_doc_metatags` int(1) NOT NULL DEFAULT 0, ADD COLUMN `new_web_user` int(1) NOT NULL DEFAULT 0, ADD COLUMN `edit_web_user` int(1) NOT NULL DEFAULT 0, ADD COLUMN `save_web_user` int(1) NOT NULL DEFAULT 0, ADD COLUMN `delete_web_user` int(1) NOT NULL DEFAULT 0, ADD COLUMN `web_access_permissions` int(1) NOT NULL DEFAULT 0.Nom du champ ’blockedafter’ déjà utilisé during the execution of SQL statement ALTER TABLE `modx_user_attributes` ADD COLUMN `dob` INTEGER(10) NOT NULL DEFAULT 0 AFTER `sessionid` , ADD COLUMN `gender` INTEGER(1) NOT NULL DEFAULT 0 COMMENT ’0 - unknown, 1 - Male 2 - female’ AFTER `dob` , ADD COLUMN `country` VARCHAR(5) NOT NULL AFTER `gender` , ADD COLUMN `state` VARCHAR(5) NOT NULL AFTER `country` , ADD COLUMN `zip` VARCHAR(5) NOT NULL AFTER `state` , ADD COLUMN `fax` VARCHAR(100) NOT NULL AFTER `zip` , ADD COLUMN `blockedafter` INTEGER(11) NOT NULL DEFAULT 0 AFTER `blockeduntil` , ADD COLUMN `photo` VARCHAR(255) NOT NULL COMMENT ’link to photo’ AFTER `fax` , ADD COLUMN `comment` VARCHAR(255) NOT NULL COMMENT ’short comment’ AFTER `photo`.Nom du champ ’blockedafter’ déjà utilisé during the execution of SQL statement ALTER TABLE `modx_web_user_attributes` ADD COLUMN `dob` INTEGER(10) NOT NULL DEFAULT 0 AFTER `sessionid` , ADD COLUMN `gender` INTEGER(1) NOT NULL DEFAULT 0 COMMENT ’0 - unknown, 1 - Male 2 - female’ AFTER `dob` , ADD COLUMN `country` VARCHAR(5) NOT NULL AFTER `gender` , ADD COLUMN `state` VARCHAR(5) NOT NULL AFTER `country` , ADD COLUMN `zip` VARCHAR(5) NOT NULL AFTER `state` , ADD COLUMN `fax` VARCHAR(100) NOT NULL AFTER `zip` , ADD COLUMN `blockedafter` INTEGER(11) NOT NULL DEFAULT 0 AFTER `blockeduntil` , ADD COLUMN `photo` VARCHAR(255) NOT NULL COMMENT ’link to photo’ AFTER `fax` , ADD COLUMN `comment` VARCHAR(255) NOT NULL COMMENT ’short comment’ AFTER `photo`.
      • 6726
      • 7,075 Posts
      nissai, ce problème est déjà documenté : MODx 0.9.0 ne fonctionne pas avec EasyPHP 1.8 (c’est le serveur local que tu utilises ?) mais avec XAMPP (1.4.16) ça marche parfaitement.

      J’ai soumis un bug report à ce sujet,
      http://modxcms.com/bugs/?do=details&id=81

        .: COO - Commerce Guys - Community Driven Innovation :.


        MODx est l'outil id
        • 29897
        • 2 Posts
        Quote from: davidm at Nov 06, 2005, 05:59 PM

        nissai, ce problème est déjà documenté : MODx 0.9.0 ne fonctionne pas avec EasyPHP 1.8 (c’est le serveur local que tu utilises ?) mais avec XAMPP (1.4.16) ça marche parfaitement.

        J’ai soumis un bug report à ce sujet,
        http://modxcms.com/bugs/?do=details&id=81



        J’ai eu le même probléme sous ma Ubuntu, je l’ai résolu en retirant tout les alter dans le fichier setup.sql puisqu’il ne sont là que pour une upgrade.
        Puis aprés installation sans probléme...
          Parce que vous le valez bien.
          • 6726
          • 7,075 Posts
          thor, intéressant on va peut être arriver à comprendre d’où vient le souci, jusque là c’était Windows/EasyPHP et première fois que je vois un retour concernant une distro Linux. Aussi, tu es le premier à avoir effectué cette modif sur le fichier sql, avec succès en plus. Ca va peut être nous permettre de résoudre ce bug...

          Questions : quelles version de MySQL utilises tu ? Idem pour Apache et PHP...
          Si tu speak english est-ce que tu peux ajouter un commentaire sur la page du bug report que j’ai cité ?

          Si tu ne parles pas english j’ajouterai ton feedback moi-même, avec les infos de versions.

          Merci pour ton aide !
          A+
            .: COO - Commerce Guys - Community Driven Innovation :.


            MODx est l'outil id
            • 29897
            • 2 Posts
            Quote from: davidm at Nov 09, 2005, 11:17 PM

            thor, intéressant on va peut être arriver à comprendre d’où vient le souci, jusque là c’était Windows/EasyPHP et première fois que je vois un retour concernant une distro Linux. Aussi, tu es le premier à avoir effectué cette modif sur le fichier sql, avec succès en plus. Ca va peut être nous permettre de résoudre ce bug...

            Questions : quelles version de MySQL utilises tu ? Idem pour Apache et PHP...
            Si tu speak english est-ce que tu peux ajouter un commentaire sur la page du bug report que j’ai cité ?

            Si tu ne parles pas english j’ajouterai ton feedback moi-même, avec les infos de versions.

            Merci pour ton aide !
            A+

            Salut,
            Pour mes deux installations de test :
            Au bureau ou mon portable
            OS : Ubuntu Breezy
            PHP : 5.05-2ubuntu1
            MySQL : 4.1.12-debian_1ubuntu3-log
            Client API : 4.0.24
            Apache : 2.0.54

            A la maison
            OS : Ubuntu Hoary
            PHP : 4.3.10-10ubuntu4.1
            MySQL :
            Cient API : 3.23.56
            Apache : 2.0.53
            MySQL : 4.1.10a-Debian_2-log

            Les mêmes problémes sql sur les trois.
            Do not speak englisk grin, je comprends un peu le technique, mais ne le parles ni l’ecris shocked

            Voila, j’espére que cela pourra vous servir, de plus j’ai PM à aour concernant d’autres petits problémes d’édition Inline.
            Ainsi que les raisons du choix pour ce CMS.
            Puisque j’en teste plusieurs aussi bien au bureau qu’al maison.
            A+
              Parce que vous le valez bien.
              • 6726
              • 7,075 Posts
              Ok merci je vais faire un retour via bug report à ce sujet...
              FAIT
                .: COO - Commerce Guys - Community Driven Innovation :.


                MODx est l'outil id
                • 6726
                • 7,075 Posts
                Merci de vous reporter au sujet :
                [Test] Bugfix du fichier setup.sql
                  .: COO - Commerce Guys - Community Driven Innovation :.


                  MODx est l'outil id
                  • 9938
                  • 2 Posts
                  j’ai le meme problème

                  mais si jai bien vu XAMPP fonctionne sous linux et que mettre sous windows ?

                  merci
                    • 6726
                    • 7,075 Posts
                    XAMPP est disponible pour Linux, Mac et Windows smiley

                    Pour la version Windows revoici le lien que j’avais posté :
                    http://www.apachefriends.org/fr/xampp.html

                    :)

                    Ceci dit nous travaillons à la résolution de ce problème car cela ne concerne pas qu’EasyPHP (des rapports sous Ubuntu Linux) mais probablement l’un des éléments (Apache, PHP ou plus probablement MySQL) du package.

                    Je vous tiendrai au courant.

                    Bon test et n’hésite pas si tu as besoin smiley
                      .: COO - Commerce Guys - Community Driven Innovation :.


                      MODx est l'outil id

                    This discussion is closed to further replies. Keep calm and carry on.