We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11055 ☆ A M B ☆
    • 3,112 Posts
    First initial test of the 2.0.5-pl release.
    Regular package.

    Error creating table for class modResource
      Rico
      Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
      MODx is great, but knowing how to use it well makes it perfect!

      www.virtudraft.com

      Security, security, security! | Indonesian MODx Forum | MODx Revo's cheatsheets | MODx Evo's cheatsheets

      Author of Easy 2 Gallery 1.4.x, PHPTidy, spieFeed, FileDownload R, Upload To Users CMP, Inherit Template TV, LexRating, ExerPlan, Lingua, virtuNewsletter, Grid Class Key, SmartTag, prevNext

      Maintainter/contributor of Babel

      Because it's hard to follow all topics on the forum, PING ME ON TWITTER @_goldsky if you need my help.
      • 28215
      • 4,149 Posts
      Are you running in MySQL strict mode, or on IIS?
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
        • 11055 ☆ A M B ☆
        • 3,112 Posts
        apache
        I guess it’s strict mode, because I’m using MySQL5 with InnoDB storage engine.
        I didn’t change any sql-mode in the default installation.
          Rico
          Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
          MODx is great, but knowing how to use it well makes it perfect!

          www.virtudraft.com

          Security, security, security! | Indonesian MODx Forum | MODx Revo's cheatsheets | MODx Evo's cheatsheets

          Author of Easy 2 Gallery 1.4.x, PHPTidy, spieFeed, FileDownload R, Upload To Users CMP, Inherit Template TV, LexRating, ExerPlan, Lingua, virtuNewsletter, Grid Class Key, SmartTag, prevNext

          Maintainter/contributor of Babel

          Because it's hard to follow all topics on the forum, PING ME ON TWITTER @_goldsky if you need my help.
          • 11055 ☆ A M B ☆
          • 3,112 Posts
          OK, this is funny.
          I was redirected again to the first installation page because of 15 minutes idle.

          Restarted again as an upgrade,
          Then everything was installed successfully.

          Weird.
            Rico
            Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
            MODx is great, but knowing how to use it well makes it perfect!

            www.virtudraft.com

            Security, security, security! | Indonesian MODx Forum | MODx Revo's cheatsheets | MODx Evo's cheatsheets

            Author of Easy 2 Gallery 1.4.x, PHPTidy, spieFeed, FileDownload R, Upload To Users CMP, Inherit Template TV, LexRating, ExerPlan, Lingua, virtuNewsletter, Grid Class Key, SmartTag, prevNext

            Maintainter/contributor of Babel

            Because it's hard to follow all topics on the forum, PING ME ON TWITTER @_goldsky if you need my help.
            • 11055 ☆ A M B ☆
            • 3,112 Posts
            Ow... not exactly.
            The upgrading didn’t check about the completion of the original installation, so this error came out.

            Error 42S02 executing statement: Array ( [0] => 42S02 [1] => 1146 [2] => Table 'modx_205_pl.modx_site_content' doesn't exist )
            Could not create table `modx_site_content` SQL: CREATE TABLE `modx_site_content` (`id` INT(10) unsigned NOT NULL AUTO_INCREMENT,`type` VARCHAR(20) NOT NULL DEFAULT 'document',`contentType` VARCHAR(50) NOT NULL DEFAULT 'text/html',`pagetitle` VARCHAR(255) NOT NULL DEFAULT '',`longtitle` VARCHAR(255) NOT NULL DEFAULT '',`description` VARCHAR(255) NOT NULL DEFAULT '',`alias` VARCHAR(255) NULL DEFAULT '',`link_attributes` VARCHAR(255) NOT NULL DEFAULT '',`published` TINYINT(1) unsigned NOT NULL DEFAULT '0',`pub_date` INT(20) NOT NULL DEFAULT '0',`unpub_date` INT(20) NOT NULL DEFAULT '0',`parent` INT(10) NOT NULL DEFAULT '0',`isfolder` TINYINT(1) unsigned NOT NULL DEFAULT '0',`introtext` TEXT NULL,`content` MEDIUMTEXT NULL,`richtext` TINYINT(1) unsigned NOT NULL DEFAULT '1',`template` INT(10) NOT NULL DEFAULT '0',`menuindex` INT(10) NOT NULL DEFAULT '0',`searchable` TINYINT(1) unsigned NOT NULL DEFAULT '1',`cacheable` TINYINT(1) unsigned NOT NULL DEFAULT '1',`createdby` INT(10) NOT NULL DEFAULT '0',`createdon` INT(20) NOT NULL DEFAULT '0',`editedby` INT(10) NOT NULL DEFAULT '0',`editedon` INT(20) NOT NULL DEFAULT '0',`deleted` TINYINT(1) unsigned NOT NULL DEFAULT '0',`deletedon` INT(20) NOT NULL DEFAULT '0',`deletedby` INT(10) NOT NULL DEFAULT '0',`publishedon` INT(20) NOT NULL DEFAULT '0',`publishedby` INT(10) NOT NULL DEFAULT '0',`menutitle` VARCHAR(255) NOT NULL DEFAULT '',`donthit` TINYINT(1) unsigned NOT NULL DEFAULT '0',`haskeywords` TINYINT(1) unsigned NOT NULL DEFAULT '0',`hasmetatags` TINYINT(1) unsigned NOT NULL DEFAULT '0',`privateweb` TINYINT(1) unsigned NOT NULL DEFAULT '0',`privatemgr` TINYINT(1) unsigned NOT NULL DEFAULT '0',`content_dispo` TINYINT(1) NOT NULL DEFAULT '0',`hidemenu` TINYINT(1) NOT NULL DEFAULT '0',`class_key` VARCHAR(100) NOT NULL DEFAULT 'modDocument',`context_key` VARCHAR(100) NOT NULL DEFAULT 'web',`content_type` INT(11) unsigned NOT NULL DEFAULT '1', PRIMARY KEY (`id`), INDEX `alias` (`alias`), INDEX `published` (`published`), INDEX `pub_date` (`pub_date`), INDEX `unpub_date` (`unpub_date`), INDEX `parent` (`parent`), INDEX `isfolder` (`isfolder`), INDEX `template` (`template`), INDEX `menuindex` (`menuindex`), INDEX `searchable` (`searchable`), INDEX `cacheable` (`cacheable`), INDEX `hidemenu` (`hidemenu`), INDEX `class_key` (`class_key`), INDEX `context_key` (`context_key`), FULLTEXT `content_ft_idx` (`pagetitle`,`longtitle`,`description`,`introtext`,`content`)) ERROR: Array ( [0] => HY000 [1] => 1214 [2] => The used table type doesn't support FULLTEXT indexes )
            Error HY000 attempting to create object container for class modResource: Array ( [0] => HY000 [1] => 1214 [2] => The used table type doesn't support FULLTEXT indexes )
            Error 42S02 executing statement: Array ( [0] => 42S02 [1] => 1146 [2] => Table 'modx_205_pl.modx_site_content' doesn't exist )
            Could not create table `modx_site_content` SQL: CREATE TABLE `modx_site_content` (`id` INT(10) unsigned NOT NULL AUTO_INCREMENT,`type` VARCHAR(20) NOT NULL DEFAULT 'document',`contentType` VARCHAR(50) NOT NULL DEFAULT 'text/html',`pagetitle` VARCHAR(255) NOT NULL DEFAULT '',`longtitle` VARCHAR(255) NOT NULL DEFAULT '',`description` VARCHAR(255) NOT NULL DEFAULT '',`alias` VARCHAR(255) NULL DEFAULT '',`link_attributes` VARCHAR(255) NOT NULL DEFAULT '',`published` TINYINT(1) unsigned NOT NULL DEFAULT '0',`pub_date` INT(20) NOT NULL DEFAULT '0',`unpub_date` INT(20) NOT NULL DEFAULT '0',`parent` INT(10) NOT NULL DEFAULT '0',`isfolder` TINYINT(1) unsigned NOT NULL DEFAULT '0',`introtext` TEXT NULL,`content` MEDIUMTEXT NULL,`richtext` TINYINT(1) unsigned NOT NULL DEFAULT '1',`template` INT(10) NOT NULL DEFAULT '0',`menuindex` INT(10) NOT NULL DEFAULT '0',`searchable` TINYINT(1) unsigned NOT NULL DEFAULT '1',`cacheable` TINYINT(1) unsigned NOT NULL DEFAULT '1',`createdby` INT(10) NOT NULL DEFAULT '0',`createdon` INT(20) NOT NULL DEFAULT '0',`editedby` INT(10) NOT NULL DEFAULT '0',`editedon` INT(20) NOT NULL DEFAULT '0',`deleted` TINYINT(1) unsigned NOT NULL DEFAULT '0',`deletedon` INT(20) NOT NULL DEFAULT '0',`deletedby` INT(10) NOT NULL DEFAULT '0',`publishedon` INT(20) NOT NULL DEFAULT '0',`publishedby` INT(10) NOT NULL DEFAULT '0',`menutitle` VARCHAR(255) NOT NULL DEFAULT '',`donthit` TINYINT(1) unsigned NOT NULL DEFAULT '0',`haskeywords` TINYINT(1) unsigned NOT NULL DEFAULT '0',`hasmetatags` TINYINT(1) unsigned NOT NULL DEFAULT '0',`privateweb` TINYINT(1) unsigned NOT NULL DEFAULT '0',`privatemgr` TINYINT(1) unsigned NOT NULL DEFAULT '0',`content_dispo` TINYINT(1) NOT NULL DEFAULT '0',`hidemenu` TINYINT(1) NOT NULL DEFAULT '0',`class_key` VARCHAR(100) NOT NULL DEFAULT 'modDocument',`context_key` VARCHAR(100) NOT NULL DEFAULT 'web',`content_type` INT(11) unsigned NOT NULL DEFAULT '1', PRIMARY KEY (`id`), INDEX `alias` (`alias`), INDEX `published` (`published`), INDEX `pub_date` (`pub_date`), INDEX `unpub_date` (`unpub_date`), INDEX `parent` (`parent`), INDEX `isfolder` (`isfolder`), INDEX `template` (`template`), INDEX `menuindex` (`menuindex`), INDEX `searchable` (`searchable`), INDEX `cacheable` (`cacheable`), INDEX `hidemenu` (`hidemenu`), INDEX `class_key` (`class_key`), INDEX `context_key` (`context_key`), FULLTEXT `content_ft_idx` (`pagetitle`,`longtitle`,`description`,`introtext`,`content`)) ERROR: Array ( [0] => HY000 [1] => 1214 [2] => The used table type doesn't support FULLTEXT indexes )
            Error HY000 attempting to create object container for class modResource: Array ( [0] => HY000 [1] => 1214 [2] => The used table type doesn't support FULLTEXT indexes ) 
            


            So again, it failed.
              Rico
              Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
              MODx is great, but knowing how to use it well makes it perfect!

              www.virtudraft.com

              Security, security, security! | Indonesian MODx Forum | MODx Revo's cheatsheets | MODx Evo's cheatsheets

              Author of Easy 2 Gallery 1.4.x, PHPTidy, spieFeed, FileDownload R, Upload To Users CMP, Inherit Template TV, LexRating, ExerPlan, Lingua, virtuNewsletter, Grid Class Key, SmartTag, prevNext

              Maintainter/contributor of Babel

              Because it's hard to follow all topics on the forum, PING ME ON TWITTER @_goldsky if you need my help.
              • 6263
              • 1 Posts
              Hi, I posted this issue a while ago, http://bugs.modx.com/issues/2927 i hope it helps.
                Running Modx 2.0.5-pl @ Nginx 0.9.2 MySQL 5.5.7 rc PHP 5.3.3
                • 22303 MODX Staff
                • 10,725 Posts
                This will be fixed ASAP, but for now, you need to have MySQL’s default storage engine set to MyISAM when you run the install. I ran into the issue myself yesterday but didn’t want to delay the rest of the updates. I’ll try and have a patch up today for working around the issue if you can’t change the server’s default storage engine.

                This is not related to MySQL strict sql_mode settings or IIS. It’s just a change in the default storage engine settings in recent MySQL distributions.
                  • 11055 ☆ A M B ☆
                  • 3,112 Posts
                  This is solved by a dirty hack, thanks to Peter.

                  Quote from: D-Force at Dec 09, 2010, 07:02 AM

                  Hi, Give this a try,

                  Modify the following file "core/xpdo/om/mysql/xpdomanager.class.php"

                  @line 296 change the following code
                  $sql .= ")";

                  Into:
                  $sql .= ") ENGINE=MYISAM";

                  // Best wishes Peter


                  That did the trick.
                  Thanks Peter! grin
                    Rico
                    Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
                    MODx is great, but knowing how to use it well makes it perfect!

                    www.virtudraft.com

                    Security, security, security! | Indonesian MODx Forum | MODx Revo's cheatsheets | MODx Evo's cheatsheets

                    Author of Easy 2 Gallery 1.4.x, PHPTidy, spieFeed, FileDownload R, Upload To Users CMP, Inherit Template TV, LexRating, ExerPlan, Lingua, virtuNewsletter, Grid Class Key, SmartTag, prevNext

                    Maintainter/contributor of Babel

                    Because it's hard to follow all topics on the forum, PING ME ON TWITTER @_goldsky if you need my help.
                    • 28690
                    • 25 Posts
                    Hi,
                    has this been patched in the recent 2.05 update? http://modxcms.com/forums/index.php/topic,58388.0.html
                    I experienced this problem with the pre December 10 2.05 package. I am running MySQL 5.0.77 with MyISAM engine as default.

                    cheers
                      • 22303 MODX Staff
                      • 10,725 Posts
                      Quote from: Stretch at Dec 12, 2010, 05:18 PM

                      has this been patched in the recent 2.05 update? http://modxcms.com/forums/index.php/topic,58388.0.html
                      I experienced this problem with the pre December 10 2.05 package. I am running MySQL 5.0.77 with MyISAM engine as default.
                      No, nothing changed except the missing file was added to the package. This will be resolved in xPDO first and then merged into Revo for the next release.

                      But FWIW, this is only reproducible AFAIK, if the default storage engine is something other than MYISAM. If you are getting this error otherwise, please provide details by updating the issue: Improvement #2927.