We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 42503
    • 120 Posts
    Hi,
    I am getting problem while moving the development from local machine to client server. Front end is working fine but the manager backend is not showing any UI, after logging in it is still not showing the UI, only it is showing the lines of menu and standard text. I have tried to reinstalled which got successful but still the problem lies there. I have checked all the config files. I didnot got any success. While I check the chrome debugger I get following error.

    GET server path /assets/ext3/ext-all.js 404 (Not Found) /mitoni-new-site/managerer/:11
    GET server path /assets/ext3/adapter/ext/ext-base.js 404 (Not Found) /mitoni-new-site/managerer/:11
    GET server path /assets/ext3/resources/css/ext-all-notheme-min.css 404 (Not Found) /mitoni-new-site/managerer/:8
    GET server path /assets/modext/core/modx.js 404 (Not Found) /mitoni-new-site/managerer/:11
    GET server path /min/index.php?f=/managerer/templates/default/css/xtheme-modx.css,/managerer/templates/default/css/index.css 404 (Not Found) /mitoni-new-site/managerer/:9
    GET server path /min/index.php?f=/managerer/assets/modext/w…sets/modext/core/modx.view.js,/managerer/assets/modext/core/modx.layout.js 404 (Not Found) aaiprojects.com:11
    GET server path /layout/modx.config.js.php?action=&wctx=mgr 404 (Not Found) aaiprojects.com:11
    GET server path /min/index.php?f=/managerer/assets/modext/w…widgets/modx.panel.welcome.js,/managerer/assets/modext/sections/welcome.js 404 (Not Found) aaiprojects.com:11
    GET server path /lang.js.php?ctx=mgr&topic=topmenu,file,resource,welcome,configcheck&action= 404 (Not Found) aaiprojects.com:11
    GET server path /min/index.php?f=/managerer/assets/modext/c…/core/modx.console.js,/managerer/assets/modext/widgets/core/modx.portal.js 404 (Not Found) aaiprojects.com:11
    Uncaught ReferenceError: Ext is not defined aaiprojects.com:18
    (anonymous function) aaiprojects.com:18
    Uncaught ReferenceError: Ext is not defined aaiprojects.com:23
    (anonymous function) aaiprojects.com:23
    Uncaught ReferenceError: Ext is not defined aaiprojects.com:31
    (anonymous function) aaiprojects.com:31



    Please help I am in deep trouble.

    Thanks in advance.
      • 34084 ☆ A M B ☆
      • 756 Posts
      In your database table for {modx_}system_settings you might try to disable the compression for JS and CSS. There are two entries (compress_js and compress_css) that you can set the values to "0" (zero) and then clear site cache manually (remove all folders and files in the /core/cache/ folder). Then try to reload your manager URL.

      Cheers
        Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
        Visit CharlesMx.com for latest news and status updates.
        • 42503
        • 120 Posts
        No success, I have tried what you have suggested, but still not success. Please help.

        Quote from: charless at Apr 15, 2013, 10:12 PM
        In your database table for {modx_}system_settings you might try to disable the compression for JS and CSS. There are two entries (compress_js and compress_css) that you can set the values to "0" (zero) and then clear site cache manually (remove all folders and files in the /core/cache/ folder). Then try to reload your manager URL.

        Cheers
          • 34084 ☆ A M B ☆
          • 756 Posts
          How did you move the site? (ftp file by file) if you did a standard FTP migration using file to file then I'd strongly recommend zipping the site up locally and transfer just the single zip file and then unzip on the new server. There are a lot of files and most ftp programs will reports success when there are file transfer errors. The single zip file of all site files is a sure way to ensure all files are intact.

          Then of course rerun your ModX setup.

            Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
            Visit CharlesMx.com for latest news and status updates.
            • 42503
            • 120 Posts
            Yes I zip the folder then upload that into client server then runs the rest of the process. Also I have runs the setup but still no success.

            Quote from: charless at Apr 15, 2013, 10:56 PM
            How did you move the site? (ftp file by file) if you did a standard FTP migration using file to file then I'd strongly recommend zipping the site up locally and transfer just the single zip file and then unzip on the new server. There are a lot of files and most ftp programs will reports success when there are file transfer errors. The single zip file of all site files is a sure way to ensure all files are intact.

            Then of course rerun your ModX setup.

              • 42503
              • 120 Posts
              Still no success, can any one please help.
              Quote from: pronab.saha at Apr 15, 2013, 10:59 PM
              Yes I zip the folder then upload that into client server then runs the rest of the process. Also I have runs the setup but still no success.

              Quote from: charless at Apr 15, 2013, 10:56 PM
              How did you move the site? (ftp file by file) if you did a standard FTP migration using file to file then I'd strongly recommend zipping the site up locally and transfer just the single zip file and then unzip on the new server. There are a lot of files and most ftp programs will reports success when there are file transfer errors. The single zip file of all site files is a sure way to ensure all files are intact.

              Then of course rerun your ModX setup.

                • 3749
                • 24,544 Posts
                Check all the paths and urls in core/config/config.inc.php, especially the manager ones.
                  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
                  • 42503
                  • 120 Posts
                  I have check all the path in config file. It is ok.
                  Quote from: BobRay at Apr 16, 2013, 03:48 AM
                  Check all the paths and urls in core/config/config.inc.php, especially the manager ones.
                    • 34084 ☆ A M B ☆
                    • 756 Posts
                    From the looks of the errors then possibly your base href value is incorrect. If your local site was in a folder "/mitoni-new-site/" and now it's a top level that would cause this as all the request for resources are appended with "/mitoni-new-site/" before the resource. Double check your /core/config/config.inc.php file around line 45:

                    if (!defined('MODX_BASE_PATH')) {
                        $modx_base_path= '/var/www/sites/modxrevo/';
                        $modx_base_url= '/';
                        define('MODX_BASE_PATH', $modx_base_path);
                        define('MODX_BASE_URL', $modx_base_url);
                    }


                    Note the $modx_base_url as the base path used.

                    Cheers
                      Evo Revo // Ubuntu, CentOS, Win // Apache 2x, Lighttp (Lighty)
                      Visit CharlesMx.com for latest news and status updates.
                      • 30585
                      • 833 Posts
                      Can you try Firefox. This sounds a lot like an issue I have with Chrome every now and then. Try logging into your manager with Firefox after emptying your cache and see if there's a difference.
                        A MODx Fanatic