We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 33608
    • 27 Posts
    I've never seen this issue before. Fresh install on a new host (MivaMerchant) that I'm not too familiar with. They have an older plesk interface setup, so I don't know how much control over php.ini I have.

    I'm looking to create a new context and the manager page displaying all contexts says action_err_ns where the table should be. then when I hit the add button I get the same error.

    Help?

    Sorry, I forgot to include some details:
    MODx 2.2.7
    PHP 5.3.3
    MySQL 5.1.69
      • 18373 ☆ A M B ☆
      • 3,141 Posts
      What's the link in the url bar when you get that error?

      action_err_ns means "action not set" which sounds like it didn't get the ?a=<number here> parameter, or the action it points to doesn't exist.

      Did you do a manual install or use some sort of one-click install offered by the host?

      Are you getting any errors in the MODX error log, or the server error log?
        Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

        Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.
        • 33608
        • 27 Posts
        http://www.crestwoodsuites.com/manager/?a=73

        this is in the MODx error log, which sounds useful...
        [2013-05-01 23:08:28] (ERROR @ /connectors/workspace/namespace.php) Error caching lexicon topic lexicon/en/core/namespace
          • 33608
          • 27 Posts
          I unzipped the .zip file on my local machine and uploaded the whole structure to the hosting server. Traditional version.

          I get the same popup error when I use the Manager->clear cache menu item, and also when I pull up the Reports->System Info.

          Thanks for the help Mark.
            • 33608
            • 27 Posts
            Still looking for any good ideas on this one.

            I have the network tab open and nothing is throwing a 404 or any other error. I've tried a few things but nothing is really shedding any light. Any ideas?
              • 33608
              • 27 Posts
              More information. I have been doing more testing and I'm running into this issue in more places.

              I decided to skip this issue and see if I could work around it. I can't create a new resource, I get the same pop-up message.
              Nothing new shows up in the MODx error log, and this error started showing up in the apache error log:

              Mon May 06 14:57:56 2013] [warn] [client 74.95.36.145] mod_fcgid: stderr: PHP Notice: Undefined index: action in /var/www/vhosts/.../httpdocs/core/model/modx/modconnectorrequest.class.php on line 61, referer: http://www.....com/manager/?a=66

              I added those dots in there, please know that the path is correct and so is the domain name.
                • 3749
                • 24,544 Posts
                Did you run setup on the host after moving the files? That's necessary to straighten out all the paths.
                  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
                  • 33608
                  • 27 Posts
                  Bob! I'm so glad you took a peek at this thread, you're like a MODx legend!

                  This is actually a brand new install without anything special happening. Things have been a little weird on this host, but I'm really not sure where to start configuring. It's gotta be something weird going on with the host, as I did a clean install of 2.2.6 on a different domain's virtual host path. Same issue.

                  All the paths are correct, i guess I could have edited that PHP notice to look like this:
                  Mon May 06 14:57:56 2013] [warn] [client 74.95.36.145] mod_fcgid: stderr: PHP Notice: Undefined index: action in /var/www/vhosts/mysite.com/httpdocs/core/model/modx/modconnectorrequest.class.php on line 61, referer: http://www.mysite.com/manager/?a=66

                  Any ideas?
                    • 3749
                    • 24,544 Posts
                    Thanks for the kind words. I'm assuming that you ran setup, though you didn't really answer that question.

                    I can see where the code in modconnectorrequest.class.php could use some better sanity checking. Unfortunately, the action value is coming from somewhere else and I don't know where.

                    Have you tried deleting all files in the core/cache directory and clearing your browser cache and cookies? A leftover cookie can cause all kinds of weirdness in the Manager.
                      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
                      • 33608
                      • 27 Posts
                      Sorry about that. This was a typical install, upload, browse to /setup, run the checks, got the green light and everything installed correctly.

                      I just manually deleted everything in the /core/cache folder and popped it open in firefox (never browsed to it before, so no cookies previously existed). Same issues, it's gotta be server side issues...