We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26192
    • 91 Posts
    Hi! I’m trying to copy my modx on hosting server but I’ve some problems!!

    I’ve your post where you suggest to copy files/DB and modify these 3 files

    \config.core.php
    \connectors\config.core.php
    \manager\config.core.php


    My problem is that my local server is on linux and my hosting server is on Windows

    and in these 2 files I’ve differents setting (I think) from Linux and Windows version

    \connectors\config.core.php
    \manager\config.core.php


    on another windows installation version I show

    <?php
    define(’MODX_CORE_PATH’, dirname(dirname(__FILE__)) . ’/core/’);
    define(’MODX_CONFIG_KEY’, ’config’);


    but on my local version I’ve

    <?php
    define(’MODX_CORE_PATH’, ’E:/web/core/’);
    define(’MODX_CONFIG_KEY’, ’config’);
    ?>



    I think that my problems are for differents server version.... Can you tell me an easy solution for copy my local file and DB on hosting server with Windows??


    Thanks









      • 22295
      • 153 Posts
      Run /setup on the windows server, it should fix your problem (or at least give you a clue on the correct paths)
        • 22295
        • 153 Posts
        \config.core.php
        \connectors\config.core.php
        \manager\config.core.php

        oh, and btw: you forgot the most important one
        core/config/config.inc.php