We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12110
    • 122 Posts
    Hello everybody,

    I transferred (duplicated...) a complete MODx site to another host - exported/imported database, changed db connection settings - everything fine and green in the advanced install. But when I access the manager, there’s a problem with including files:
    Warning: DocumentParser::include_once(MODX_BASE_PATHmanager/includes/extenders/dbapi..class.inc.php
    There are two dots in the error message after dbapi - there seems to be missing the $database_type variable? I already changed the server path to the new location in the modx_system_settings table.

    When I go to the index.php?id=1 page, it says MODx is not installed.

    Any hint or idea? It’s MODx 0.9.6.1p. Thanks!! It would be a great way to simply set up modx-copies with individual snippets, chunks etc. ... Did I oversee a thread about this?
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Looks like a problem in the config.inc.php file. That’s where $database_type is defined, and it also looks like MODX_BASE_PATH is not getting set, otherwise you’d see the path instead of the variable name.

      if (!include_once MODX_BASE_PATH . 'manager/includes/extenders/dbapi.' . $database_type . '.class.inc.php') return false;
      
        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