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

    I created a MODx Revo (MODX Revolution 2.2.6-pl (traditional)) site on my server ( www.myserver.com/MODx_site/) and when I was done I moved it to the clients server (www.clientServer.com) using Vapor.

    Everything worked great but then I tried to upload some images on the clients server via MODx file upload and I get this error:

    Unexpected token <:
    Not Found
    The requested URL /connectors/browser/directory.php was not found on this server.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


    It seems that the client server still sees myserver URL.

    Error log:

    [2013-05-13 10:51:10] (ERROR @ /manager/index.php) Error 42S02 executing statement: 
    Array
    (
        [0] => 42S02
        [1] => 1146
        [2] => Table 'clientServer_prefix.migx_configs' doesn't exist
    )


    Console:

    Failed to load resource: the server responded with a status of 404 (Not Found) http://www.clientServer.com/connectors/browser/directory.php
    Failed to load resource: the server responded with a status of 404 (Not Found) http://www.clientServer.com/connectors/browser/directory.php?action=getList&id=/


    How can I fix this ?

    Thank you [ed. note: vucko2405 last edited this post 13 years, 5 months ago.]
      • 3109 ☆ A M B ☆
      • 894 Posts
      Did you try running MODX installation as upgrade? If that doesn't work try using the manual method instead of Vapor.

      Good Luck.
        Benjamin Marte
        Interactive Media Developer
        Follow Me on Twitter | Visit my site | Learn MODX
        • 42970
        • 27 Posts
        Quote from: benmarte at May 13, 2013, 07:32 AM
        Did you try running MODX installation as upgrade?

        How to do that ?

        I think the problem is in the clientServer-s baseURL , or something similar ( still sees myServer-s baseURL).

          • 3109 ☆ A M B ☆
          • 894 Posts
          Upload the MODX installation files to your server as if you were going to do a clean installation and choose upgrade.

          More info here
            Benjamin Marte
            Interactive Media Developer
            Follow Me on Twitter | Visit my site | Learn MODX
            • 42970
            • 27 Posts
            Do I have to download the same version - MODX Revolution 2.2.6 - or the new one - MODX Revolution 2.2.7 ?

              • 1343 ☆ A M B ☆
              • 2,213 Posts
              You can upgrade the site to 2.2.7 at the same time.
                Patrick | Server Wrangler
                About Me: Website | Tweets |  MODX Hosting
                • 42970
                • 27 Posts
                I made a fresh install and now it's works just fine.

                Thanks for the answers