We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26503
    • 620 Posts
    Having massive problems updating both modx & packages

    If I try to update modx 2.1.5-pl -> 2.2.4 all manager pages are blank but have the top navigation present.

    If I try to update some packages before updating modx 2.2.0 I get a popup error "action_err_ns" whenever I click on update for each package.

    I've tried:
    - restoring & re-installing multiple times
    - tried installing 2.1.5 -> 2.2.0 -> 2.2.2 -> 2.2.3 -> 2.2.4 ~ no love there...
    - I've tried toggling the compress js/css
    - clearing the cache [my backup & restore scripts actually do this as well]
    - checked permissions many times
    - tweaked php settings [gave more memory, checked safe mode etc]

    completely stumped!!

    now no matter what the cache popup always remains blank and does not clear the cache...

    help! [ed. note: sean69 last edited this post 14 years, 2 months ago.]
      *** Not just websites, we also create signage, banners, print, trade show displays and more! ***

      Sean Kimball CLP, CLS.
      Technical Director / Sr. Developer | BigBlock Studios
      ._______________________________________________.
      Bigblock Studios http://www.bigblockstudios.ca Web site design & development.
      27-1300 King Street East. Box 167 Oshawa, Ontario L1H8J4 Canada.
      phone/fax: 905-426-5525
      • 26503
      • 620 Posts
      Now I get the "action_err_ns" when I try to modify system settings, I can't even load the settings in the manager

      now I'm getting this on a "new" install when trying to connect to the database...

      Connecting to database server:  
      No processor specified!


      well found out what the action_err_ns is supposed to say:

      core/lexicon/en/action.inc.php:$_lang['action_err_ns'] = 'No action specified!';
      


      Getting a lot of this in chrome dev tools:

      
      Uncaught TypeError: Cannot read property 'prototype' of undefined ext-base.js:7
      Uncaught TypeError: Cannot read property 'prototype' of undefined ext-base.js:7
      Uncaught TypeError: Cannot read property 'prototype' of undefined ext-base.js:7
      Uncaught TypeError: undefined is not a function ext-all.js:7
      Uncaught TypeError: undefined is not a function ext-all.js:7
      2
      Uncaught TypeError: undefined is not a function ext-all.js:7
      create ext-all.js:7
      Ext.extend.load modx.js:74
      Ext.extend.clearCache modx.js:134
      onclick /manager/:82
      
      [ed. note: sean69 last edited this post 14 years, 2 months ago.]
        *** Not just websites, we also create signage, banners, print, trade show displays and more! ***

        Sean Kimball CLP, CLS.
        Technical Director / Sr. Developer | BigBlock Studios
        ._______________________________________________.
        Bigblock Studios http://www.bigblockstudios.ca Web site design & development.
        27-1300 King Street East. Box 167 Oshawa, Ontario L1H8J4 Canada.
        phone/fax: 905-426-5525
        • 34109
        • 119 Posts
        Have you manually cleared out the cache folder? Don't rely on MODX to do this 100%, especially on an upgrade/server move. Clear out your browser cache or fire up a private browsing window and then give it another go. Hope this helps...
          Studio Republic
          http://www.studiorepublic.com
          0845 226 3205
          @christodhunter
          • 10596
          • 18 Posts
          I wont recommend clearing out cache with modx. Clear everything under your /cache , it will do.
            • 26503
            • 620 Posts
            I've solved part of this, the 'action_err_ns' was caused by php/apache wigging out and setting the post_max_size to 128 BYTES ... probably I forgot to add the 'M' when setting these. So now I can use the manager again but still cannot upgrade the manager or gallery.

            - I can try to re-install [upgrade] 2.1.5 -> 2.1.5 and still wind up with the partial blank manager pages & javascript errors. [I've tried every browser I have as well]

            Still no love, getting set for another marathon after 5 tonight.



            And yes - I do clear the cache manually from a shell.
            About the modx clear cache function not being reliable:
            - I find that if there are huge files in the cache [like a 1G+ error log] the script won't run
            - It does clear the cache, just doesn't look like it because directories in the cache folder are not removed.
              *** Not just websites, we also create signage, banners, print, trade show displays and more! ***

              Sean Kimball CLP, CLS.
              Technical Director / Sr. Developer | BigBlock Studios
              ._______________________________________________.
              Bigblock Studios http://www.bigblockstudios.ca Web site design & development.
              27-1300 King Street East. Box 167 Oshawa, Ontario L1H8J4 Canada.
              phone/fax: 905-426-5525
              • 16277 ☆ A M B ☆
              • 19 Posts
              I had this exact thing yesterday - blank manager screen on upgrade from 2.1.5 -> 2.2.4, it was even showing the 'old style' login screen and nav bar. Some pages, like 'New Symlink' worked ok but most did not.

              I went through all the suggestions above and I deleted the manager theme and re-installed, still no luck.

              Then I released it was picking up the CSS from the Analytics plugin (WTF?); I deleted the Analytics folder from /manager/templates/ and it fixed it.

              I uninstalled the plugin then re-installed.

              An easy fix but not the first place I would have expected to look TBH.
                • 26503
                • 620 Posts
                *scratch*scratch*scratch*

                really??

                I have not been able to get back to this, but the analytics dashboard plugin is installed - I will definitely give it a try.
                  *** Not just websites, we also create signage, banners, print, trade show displays and more! ***

                  Sean Kimball CLP, CLS.
                  Technical Director / Sr. Developer | BigBlock Studios
                  ._______________________________________________.
                  Bigblock Studios http://www.bigblockstudios.ca Web site design & development.
                  27-1300 King Street East. Box 167 Oshawa, Ontario L1H8J4 Canada.
                  phone/fax: 905-426-5525
                  • 26503
                  • 620 Posts
                  Finally got this fixed.

                  I really don't know what the problem was, but I solved by deleting the manager/ directory & upgrading again ... seems to be fine now.
                    *** Not just websites, we also create signage, banners, print, trade show displays and more! ***

                    Sean Kimball CLP, CLS.
                    Technical Director / Sr. Developer | BigBlock Studios
                    ._______________________________________________.
                    Bigblock Studios http://www.bigblockstudios.ca Web site design & development.
                    27-1300 King Street East. Box 167 Oshawa, Ontario L1H8J4 Canada.
                    phone/fax: 905-426-5525