We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3992
    • 3 Posts
    I am attempting to install a fresh 2.0.7-pl traditional install. However, I run into a problem. Most actions complete successfully, but for some reason three tables can’t be created, which results in the following errors.

    Error creating table for class registry.db.modDbRegisterMessage
    Error creating table for class registry.db.modDbRegisterTopic
    Error creating table for class registry.db.modDbRegisterQueue

    This problem is quite similar to a problem some users encountered in a 2.06 install:

    http://modxcms.com/forums/index.php/topic,58275.msg332844.html#msg332844

    The suggested fix seems to have been integrated into the 2.0.7 codebase. ENGINE={Engine} is added to the SQL Query if a different engine is specified and modifying the code to always add ENGINE=MyISAM did not work, since I still get the problem. Is there a way to get more elaborate information about why the installer couldn’t create the table?

    Additional info:

    • OS Debian Linux 2.6.26-2-686-bigmem
    • Web server Apache 2
    • PHP 5.2.12-0.dotdeb.0, with Apache 2.0 handler
    • MySQL 5.0.84
    • ModX Fresh 2.0.7-pl, no changes whatsoever
      • 3749
      • 24,544 Posts
      Did you create an empty DB for MODx in PhpMyAdmin? That’s often necessary.
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 22303 MODX Staff
        • 10,725 Posts
        If those are the only tables that did not get created, there should be an error reported. Check core/cache/logs/ or your error_log defined by your PHP configuration.
          • 3992
          • 3 Posts
          Quote from: BobRay at Jan 25, 2011, 11:58 AM

          Did you create an empty DB for MODx in PhpMyAdmin? That’s often necessary.
          Yes, I did, but thanks for the suggestion!
          Quote from: OpenGeek at Jan 25, 2011, 04:03 PM

          If those are the only tables that did not get created, there should be an error reported. Check core/cache/logs/ or your error_log defined by your PHP configuration.
          Thanks for the tip! This error log may contain some clues for the initiated, but I’m not sure what to do next:
          [2011-01-25 23:37:08] (ERROR @ /www.fokkeconsult.nl/modx/setup/index.php) Could not load class: modDbRegisterMessage from registry.db.mysql.moddbregistermessage.
          [2011-01-25 23:37:08] (ERROR @ /www.fokkeconsult.nl/modx/setup/index.php) Could not load class: modDbRegisterTopic from registry.db.mysql.moddbregistertopic.
          [2011-01-25 23:37:08] (ERROR @ /www.fokkeconsult.nl/modx/setup/index.php) Could not load class: modDbRegisterQueue from registry.db.mysql.moddbregisterqueue.
          [2011-01-25 23:37:11] (ERROR @ /www.fokkeconsult.nl/modx/setup/index.php) Could not copy /(..)/modx/core/packages/core/modContext/d51ce6847c1c5122fb01af7a0fc6ea72/0/ to index.php
          [2011-01-25 23:37:11] (ERROR @ /www.fokkeconsult.nl/modx/setup/index.php) Could not copy /(..)/modx/core/packages/core/modContext/d51ce6847c1c5122fb01af7a0fc6ea72/1/ to ht.access
          [2011-01-25 23:37:11] (ERROR @ /www.fokkeconsult.nl/modx/setup/index.php) Could not copy /(..)/modx/core/packages/core/modContext/e83974cb082864f1002658936ff23737/0/ to assets
          [2011-01-25 23:37:11] (ERROR @ /www.fokkeconsult.nl/modx/setup/index.php) Could not copy /(..)/modx/core/packages/core/modContext/e83974cb082864f1002658936ff23737/1/ to controllers
          [2011-01-25 23:37:11] (ERROR @ /www.fokkeconsult.nl/modx/setup/index.php) Could not copy /(..)/modx/core/packages/core/modContext/e83974cb082864f1002658936ff23737/2/ to templates
          [2011-01-25 23:37:11] (ERROR @ /www.fokkeconsult.nl/modx/setup/index.php) Could not copy /(..)/modx/core/packages/core/modContext/e83974cb082864f1002658936ff23737/3/ to ht.access
          [2011-01-25 23:37:11] (ERROR @ /www.fokkeconsult.nl/modx/setup/index.php) Could not copy /(..)/modx/core/packages/core/modContext/e83974cb082864f1002658936ff23737/4/ to index.php
          [2011-01-25 23:37:11] (ERROR @ /www.fokkeconsult.nl/modx/setup/index.php) Could not install files from /(..)/modx/core/packages/core/xPDOFileVehicle/ccc997e00c746ffa5c1a3260acf9d91e/ to 
          [2011-01-25 23:37:11] (ERROR @ /www.fokkeconsult.nl/modx/setup/index.php) Could not install files from /(..)/modx/core/packages/core/xPDOFileVehicle/c39100b551db146b8ca14170f1c9b925/ to 
          [2011-01-25 23:37:11] (ERROR @ /www.fokkeconsult.nl/modx/setup/index.php) Could not install files from /(..)/modx/core/packages/core/xPDOFileVehicle/120a01c4eba7550ef2cece8e33d61cfe/ to 
          [2011-01-25 23:37:11] (ERROR @ /www.fokkeconsult.nl/modx/setup/index.php) Could not install files from /(..)/modx/core/packages/core/xPDOFileVehicle/7b6bdc0c0da587c19ace9d5e8460d447/ to 
          [2011-01-25 23:37:11] (ERROR @ /www.fokkeconsult.nl/modx/setup/index.php) Could not install files from /(..)/modx/core/packages/core/xPDOFileVehicle/e2c3ae008e93888886dc25aa8b234b87/ to 
          [2011-01-25 23:37:11] (ERROR @ /www.fokkeconsult.nl/modx/setup/index.php) Could not install files from /(..)/modx/core/packages/core/xPDOFileVehicle/7edb28a80115b2560adf5a02533a6ac7/ to 
          [2011-01-25 23:37:11] (ERROR @ /www.fokkeconsult.nl/modx/setup/index.php) Could not install files from /(..)/modx/core/packages/core/xPDOFileVehicle/8e9a016f4434d297e65210603d5c9c22/ to 
          [2011-01-25 23:37:11] (ERROR @ /www.fokkeconsult.nl/modx/setup/index.php) Could not install files from /(..)/modx/core/packages/core/xPDOFileVehicle/5dd091cf7730ff1f3a2436188e2388ef/ to 
          [2011-01-25 23:37:11] (ERROR @ /www.fokkeconsult.nl/modx/setup/index.php) Could not install files from /(..)/modx/core/packages/core/xPDOFileVehicle/f6425d4d5e1ea7ea00342a37bbad5461/ to 
          [2011-01-25 23:37:11] (ERROR @ /www.fokkeconsult.nl/modx/setup/index.php) Could not install files from /(..)/modx/core/packages/core/xPDOFileVehicle/411cb94a2a27b5687dcf656e87cd305f/ to 
          
          

            • 3992
            • 3 Posts
            Solved! It turns out for some reason not all files had been copied to the installation directory. This led to this somewhat cryptic error message.