We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38590
    • 22 Posts
    Hey all

    Just uploaded my site from local to server

    When I log in to manager I get following error:
    Could not find action file at: /path/path/test.kennybrijs.net/path/path/manager/controllers/default/welcome.php

    Tutorial says "clear cache" when you get that error, but that doesn't help

    My site USED to be located at http://test.kennybrijs.net (that was when I first uploaded it to the server) but has now been moved to kennybrijs.net (no test.) I changed all the variables that are described in the tutorial (section Updating your Config Files): http://rtfm.modx.com/display/revolution20/Moving+Your+Site+to+a+New+Server

    I guess I should be re-running setup, but if I try that I get:
    FATAL ERROR: MODX Setup cannot continue.
    Make sure your PHP session configuration is valid and working.

    Any thoughts?


      • 3749
      • 24,544 Posts
      Did you run setup after moving the site? If not, do that.

      Check the path in the modx_workspaces table in PhpMyAdmin.


      ------------------------------------------------------------------------------------------
      PLEASE, PLEASE specify the version of MODX you are using.
      MODX info for everyone: http://bobsguides.com/modx.html [ed. note: BobRay last edited this post 12 years ago.]
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting
        • 38590
        • 22 Posts
        Hey BobRay, thx for replying

        Already changed path in database.

        Tried running setup, but:
        I guess I should be re-running setup, but if I try that I get:
        FATAL ERROR: MODX Setup cannot continue.
        Make sure your PHP session configuration is valid and working.
          • 38590
          • 22 Posts
          Hey BobRay, thx for replying

          Already changed path in database.

          Tried running setup, but:
          I guess I should be re-running setup, but if I try that I get:
          FATAL ERROR: MODX Setup cannot continue.
          Make sure your PHP session configuration is valid and working.
            • 3749
            • 24,544 Posts
            The first thing to do is delete all files in the core/cache directory and clear your browser cache and cookies.

            Then, check the paths and URLs in core/config/config.inc.php and the config.core.php files in the following directories:

            § MODX root directory
            § /manager/
            § /connectors/
            § /setup/includes/

            If the path in the Setup directory config.core.php file is wrong, you may be able to run Setup after correcting it and skip the following steps.

            In PhpMyAdmin, check the path in the modx_workspaces table.

            If there is an .htaccess file in the MODX root directory, check the rewrite base line (or rename the .htaccess file).

            Also, see if anything here helps: http://bobsguides.com/modx-troubleshooting.html.



            ------------------------------------------------------------------------------------------
            PLEASE, PLEASE specify the version of MODX you are using.
            MODX info for everyone: http://bobsguides.com/modx.html

              Did I help you? Buy me a beer
              Get my Book: MODX:The Official Guide
              MODX info for everyone: http://bobsguides.com/modx.html
              My MODX Extras
              Bob's Guides is now hosted at A2 MODX Hosting
              • 38590
              • 22 Posts
              It seems to be solved after removing the files in the cache folder through ftp.
              What I don't understand, doesn't "clear cache" in the MODx manager do exactly the same?

              Thx a lot for your help man!
                • 3749
                • 24,544 Posts
                Quote from: kennybrijs at May 08, 2012, 03:41 PM
                It seems to be solved after removing the files in the cache folder through ftp.
                What I don't understand, doesn't "clear cache" in the MODx manager do exactly the same?

                Thx a lot for your help man!

                It's supposed to, but it doesn't always work, especially on Windows hosts.


                ------------------------------------------------------------------------------------------
                PLEASE, PLEASE specify the version of MODX you are using.
                MODX info for everyone: http://bobsguides.com/modx.html
                  Did I help you? Buy me a beer
                  Get my Book: MODX:The Official Guide
                  MODX info for everyone: http://bobsguides.com/modx.html
                  My MODX Extras
                  Bob's Guides is now hosted at A2 MODX Hosting
                  • 12117
                  • 18 Posts
                  According to the docs on caching, the "Clear Cache" action in the manager doesn't "delete" the files in the core/cache folder. It's supposed to "refresh" these files (e.g. system settings cache).''

                  http://rtfm.modx.com/display/revolution20/Caching

                  In particular, the System and Context Settings Cache items are never deleted, only replaced.