We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
  • About a week after upgrading a site from:

    2.2.16 to 2.3 to 2.3.6 to 2.4.2

    We can no longer edit or save a resource.

    Getting this error when we try to save a resource:

    Code: 404 Not Found
    {"success":false,"message":"action_err_ns","total":0,"data":[],"object":{"code":404}}
    


    And this when we attempt to unpublish a resource in the tree using right-clicking:

    action_err_ns
    


    We also updated the Extras. Searched the forum and found references to these errors, particulary action_err_ns but in many cases there was no response or the solution didn't work.
      • 3749
      • 24,544 Posts
      If it helps, the error means that no action was specified in the call to the processor.

      Is there anything in the MODX error log that might apply?
        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
      • Not sure. There are failed to cache messages, failed preparing contexts, and context key errors:

        2016-03-07 14:18:27] (ERROR @ /index.php) Could not prepare context: template-us-en
        [2016-03-07 14:18:30] (ERROR @ /index.php) Could not prepare context: template-us-en
        [2016-03-08 13:49:32] (ERROR @ /connectors/lang.js.php) Error caching lexicon topic lexicon/en/core/resource
        [2016-03-16 10:51:00] (ERROR @ /index.php) Error 42S22 executing statement: 
        Array
        (
            [0] => 42S22
            [1] => 1054
            [2] => Unknown column 'modRedirect.context_key' in 'field list'
        )
        
        [2016-03-16 10:51:01] (ERROR @ /index.php) Error 42S22 executing statement: 
        Array
        (
            [0] => 42S22
            [1] => 1054
            [2] => Unknown column 'modRedirect.context_key' in 'field list'
        )
        
        [2016-03-16 10:51:01] (ERROR @ /index.php) Error 42S22 executing statement: 
        Array
        (
            [0] => 42S22
            [1] => 1054
            [2] => Unknown column 'modRedirect.context_key' in 'field list'
        )
        
        [2016-03-16 10:51:01] (ERROR @ /index.php) Error 42S22 executing statement: 
        Array
        (
            [0] => 42S22
            [1] => 1054
            [2] => Unknown column 'modRedirect.context_key' in 'field list'
        )
        
        [2016-03-16 10:53:33] (ERROR @ /index.php) Error 42S22 executing statement: 
        Array
        (
            [0] => 42S22
            [1] => 1054
            [2] => Unknown column 'modRedirect.context_key' in 'field list'
        )
        
        [2016-03-16 10:53:49] (ERROR @ /index.php) Error 42S22 executing statement: 
        Array
        (
            [0] => 42S22
            [1] => 1054
            [2] => Unknown column 'modRedirect.context_key' in 'field list'
        )
        
        [2016-03-16 10:53:49] (ERROR @ /index.php) Error 42S22 executing statement: 
        Array
        (
            [0] => 42S22
            [1] => 1054
            [2] => Unknown column 'modRedirect.context_key' in 'field list'
        )
        
        [2016-03-16 15:00:22] (ERROR @ /manager/index.php) Could not cache context settings for mgr.
        [2016-03-16 15:00:25] (ERROR @ /connectors/modx.config.js.php) Error caching lexicon topic lexicon/en/core/resource
        


        Can no longer logout either.
          • 3749
          • 24,544 Posts
          It could be a problem with your context switching system. I would first try deleting all files in the core/cache directory if you haven't already.
            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
          • Yes did that. We're going to rollback to 2.2.15 and start all over again.
              • 3749
              • 24,544 Posts
              I would add 2.3.0 and 2.4.0 to your list of versions. The .0 versions are often where database changes are made.
                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