We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4386
    • 5 Posts
    I have built a small web site using MODx on one server and I need to move it to another. I have tried doing it, by the following:

    1. Downloading the entire folder containing the MODx installation (at www.{server1}.co.uk/modxcms) and uploading to the new server (at www.{server2}.org.uk)
    2. Exporting the MySQL database from the first server and importing into the 2nd via phpMyAdmin
    3. Changing the MySQL details in config.inc.php (just prior to upload to new server)

    The main site works fine, including the Member’s Area of the site. However, I am unable to log into the Manager, and the log-in page at www.{server2}.org.uk/manager shows the following errors when loaded:


    Warning: Cannot modify header information - headers already sent by (output started at /homepages/0/d271037485/htdocs/manager/includes/config.inc.php:1) in /homepages/0/d271037485/htdocs/manager/index.php on line 148

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /homepages/0/d271037485/htdocs/manager/includes/config.inc.php:1) in /homepages/0/d271037485/htdocs/manager/includes/config.inc.php on line 59

    Warning: Cannot modify header information - headers already sent by (output started at /homepages/0/d271037485/htdocs/manager/includes/config.inc.php:1) in /homepages/0/d271037485/htdocs/manager/includes/config.inc.php on line 73

    Something I have thought of (but I don’t know if it’s correct!) is that on the original server the site is in a subfolder, whereas on the new server it is in the root.

    I am using MODx 0.9.6.1
      • 22303 MODX Staff
      • 10,725 Posts
      Did you upload the original install/ directory from the version you are using and run it in upgrade mode? This will rebuild the cache so the site should work once you do that...
        • 4386
        • 5 Posts
        Unfortunately, I did not have the original install directory, but I uploaded the latest version and performed an upgrade and all appears to be working fine! Thanks!

        However, the Manager does state the version to be 0.9.6.1p2 still and not 0.9.6.3.
          • 22303 MODX Staff
          • 10,725 Posts
          Quote from: B at Jan 16, 2009, 09:07 AM

          Unfortunately, I did not have the original install directory, but I uploaded the latest version and performed an upgrade and all appears to be working fine! Thanks!

          However, the Manager does state the version to be 0.9.6.1p2 still and not 0.9.6.3.
          Did you just upload the latest install directory, or did you put all the latest manager and assets files in place as well?
            • 4386
            • 5 Posts
            I uploaded all of them I think overwriting the old files. Should I try agin, but removing the old files first?