We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 43374
    • 39 Posts
    MODX Revolution 2.2.7-pl (traditional)

    I want to move an existing MODX setup from:
    Datacenter1 (www.example1.com)
    to:
    Datacenter2 (www.example2.com)

    I allready dumped the database and transfered it to Datacenter2 and got MODX running after changing the server paths in:
    \core\config\config.inc.php

    I also already changed the server path in:
    \config.core.php
    \connectors\config.core.php
    \manager\config.core.php

    I deleted the content of:
    \core\cache\

    I temporarily deactivated the .htaccess for testing.

    And cleared my browser cache. But the site on www.example2.com has still the old server pathes. To give an example all the wayfinder links are still directing to www.example1.com-links. Or scripts that worked on the old URL show:

    Warning: Invalid argument supplied for foreach() in www.example2.com\core\cache\includes\elements\modsnippet\4.include.cache.php on line 42


    Is there anywere a tutorial e.g. in rtfm or somewhere else that shows all files that need to be changed. I was unfortunately not lucky with my searches yet. Or could someone name me the files I need to modify or tables on which I need to run queries?

    This question has been answered by sh0ck23. See the first response.

    [ed. note: sh0ck23 last edited this post 13 years, 2 months ago.]
      • 21078
      • 77 Posts
        L.net Web Solutions
        Professional webdesign and development with MODX and WordPress.
      • discuss.answer
        • 43374
        • 39 Posts
        I think I found my mistake. I set a fix site_url in the contexts because of babel