On March 26, 2019 we launched new MODX Forums. Please join us at the new MODX Community Forums.
Subscribe: RSS
  • Hi there
    i have tested the new rc1 and found out that there are problems with the install script at :New install.. Is this the place for report bugs? After inserting the data for connction to the already installed DB i get a sign that the database is connected but in the next step i get a blockade cause the install script reports: not able to install DB!
    So this is new in install script and does not work. All other functions like upgrade from older versions work fine
    Nice greetings from germany Jazzie smiley
    • That was discovered, reported, and fixed last week (revision 3825). It’s a matter of the $conn variable in the wrong place in the install script; http://svn.modxcms.com/jira/browse/MODX-183

      on line 19 of connection.databasetest.php this line won’t work (results in a failure to connect/create the database)
      Code:

      if (!@ mysql_select_db(str_replace("`", "", $database_name, $conn))) {

      The $conn parameter of mysql_select_db is in the wrong place... should be
      Code:

      if (!@ mysql_select_db(str_replace("`", "", $database_name), $conn)) {
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
      • Gloups !!!
        It’s obvious that I never did a test of database creation when I implemented this new feature (database selection). sad Sorry for the inconvenience
        • grin No Matter
          THX for quick response , better da find issues as early as possible. wink

          Jazzie