We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37012
    • 32 Posts
    I have tried migrating site to a testing environment. There are a few problems:
    1) manger can not clear the cache consistently - sometimes the window remains open, but sometimes it is successful. This is an old problem and not 2.2. related.
    2) manager can not flush sessions: flush_sess_err ... Same as above
    3) having cleared the cache manually (otherwise you get Could not find action file at: controllers/default/welcome.php as in documentation), now I get another message: Could not find action file at: controllers/default/index.php. There is no tree on the left but tabs (Resources, Elements, Files) is there. Have re-checked core/config/config.inc.php. Any ideas about this?
    4) after this I re-ran the setup. In install log there is exactly the same stuff as in my first post http://forums.modx.com/thread?thread=73073#dis-post-407137, note that js settings are now off.

    Environment: IIS 7.5, SQL Server Express, MODX revo 2.1.2-pl, quip 2.0.4-rc2, PHP 5.2
    • Hi,

      Sorry for not replying sooner, did you manage to resolve this?

      1) Sounds like the permissions are incorrect on the cache folder IIS needs full write / modify access to cache and all sub folders

      2) This sounds like a PHP permission issue, if you create a test.php file on your web server with the following <?php phpinfo(); ?> then run the page in the browser look for the PHP Session Path once you find this navigate to this folder in windows and make sure that network service has full modify rights to the folder.

      3) I had a similar issue the other day with a MAMP migration to a Linux Apache server I checked all my config files and eventually found in the database a table called MODX_workspaces in here you need to edit the path to make sure it is correct.

      http://rtfm.modx.com/display/revolution20/Moving+Your+Site+to+a+New+Server

      1
      SELECT `path` FROM `your_revo_db`.`workspaces`;
      Change "your_revo_db" to your database name, and add an appropriate prefix to the "workspaces" table if necessary, e.g. `modx_workspaces`.

      If the path on the new server is different than on the old server, you will need to update this record. You can edit it using a GUI editor (like SQL-Yog or phpMyAdmin), or you can execute the following command (again, you need to customize the query depending on your database, prefix, and the path to your data):

      UPDATE `your_revo_db`.`workspaces` SET path='/path/to/modx_doc_root/core/' WHERE id='1';
        http://www.onesmarthost.co.uk
        UK MODX Hosting with love.
        • 37012
        • 32 Posts
        I was not able to resolve the problem [3]. I did read the documentation and correct the database entry earlier. To verify that the problem is not with the paths I created the same paths as on original server, and changed only $http_host in config.inc.php. Again the same problem.