We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36147
    • 21 Posts
    after my upgrade to 2.2.1 most of the icons at the manager page are gone?

    Is there a solution for this?

    Thank you.
      • 32316
      • 387 Posts
      OK
      Yes
      You're welcome.

      I know that's not very helpful.
      But there must be a solution for this since I and many others have successfully updated to 2.2.1

      You have not provided much info. But I do have a couple suggestions.

      Can you use the manager? If so try this:
      1 - Uninstall and Remove any Extras you are not using.
      2 - Update any Extras that need updating.
      3 - Clear the Cache manually (toss the whole cache folder and its contents - core/cache/ )
      the first two steps fixed a couple weird problems I had with one update - not sure that it was the same as your problem. Good to do this even if it does not help. And of course clearing the cache is the standard "don't have a clue, but it can't hurt, its quick, and you'll kick yourself if you waste hours before trying it" cure.

      If this does not work or you cannot use the manger try upgrading again - sometimes files are damaged or go missing in the process of uploading them to the server, so redo the upgrade from scratch.
      Maybe it will work this time.

      Good Luck

        • 36147
        • 21 Posts
        thank you for your prompt reply and sorry for all the missing information.

        OK.
        1. Yes the manager ist working, except the only component I've installed (Gallery), which doesn't work, but it didn't work before the upgrade neither (other thread ;-))
        2. I deleted the cache
        3. What do you mean with Extras? Components etc.?

        I'll redo the upgrade and I'll see what happen.
          • 32316
          • 387 Posts
          extras - Gallery is an extra, if it is not working uninstall it completely. Once everything is working correctly try reinstalling it.

          Did you delete the cache manually by deleting the cache directory? (So not with the manager)
            • 36147
            • 21 Posts
            Yes I deleted the cache manually via ftp.

            Gallery is working now, I found out via Browser Console, that the permissions of the js folder from Gallery were wrong.

            I also found out why the Icons arent showing up, but I don't understand.

            At the Console it says that the icons were not found, but the path is right and the files are there??

            Any idea?

            UPDATE: Due to the lack of icons I even cannot check or uncheck permissions for user-roles! What a mess!

            [ed. note: telebube last edited this post 14 years, 5 months ago.]
              • 4583
              • 24 Posts
              telebube, your problem is http://www.meiereinlokal.de/meier/manager/templates and so on.
              You have an extra folder in the path. I don't know why that is. I have the same problem and don't know how to fix it. My site is a test site inside of a server. My problem I think is coming from the fact that modx is installed inside /public_html/folder1/folder2/modx and I only have access to folder2, not its parents. But I may be wrong, I'm no expert smiley [ed. note: capcaunu last edited this post 14 years, 5 months ago.]
                • 4583
                • 24 Posts
                I think I found this filed as a bug: Bug #7545 http://tracker.modx.com/issues/7545
                I'm not sure about how to use that information to fix the problem on my installation.
                  • 32316
                  • 387 Posts
                  You know you might want to try and set the compress_css and compress_js system settings to 0 - if you cannot use the manager do this in the database - they are in the modx_system_settings table.
                    • 36147
                    • 21 Posts
                    I did change the compress-css and compress_js to 0 already, it doesn't work.

                    I changed the index.php (/manager/min/index.php) using the bug report you mentioned, but after logging in the css file doesn't work.

                    I don't know whether I did the changings right, maybe someone can check?

                    $hasVirtualManagerURL = empty($min_documentRoot) || strpos(MODX_MANAGER_PATH, $min_documentRoot) !== 0 || strpos(MODX_MANAGER_PATH, MODX_MANAGER_URL) === false || substr(MODX_MANAGER_PATH, 0, strpos(MODX_MANAGER_PATH, MODX_MANAGER_URL)) !== $min_documentRoot;
                    if ($hasVirtualManagerURL) {
                        $min_serveOptions['minApp']['allowDirs'][] = MODX_MANAGER_PATH;
                        /* $min_serveOptions['minApp']['virtualDirs'][MODX_MANAGER_URL] = MODX_MANAGER_PATH; */
                        $min_serveOptions['minApp']['virtualDirs'][MODX_MANAGER_URL] = str_replace($_SERVER['DOCUMENT_ROOT'],'',MODX_MANAGER_PATH);
                    }
                    /* Änderung 13042012 Ergänzung */
                    if (strpos($_mindocumentRoot,'/',-1) === false) $min_documentRoot = $min_documentRoot.'/';
                    /* Änderung Ende */
                    
                    $hasVirtualAssetsURL = empty($min_documentRoot) || strpos(MODX_ASSETS_PATH, $min_documentRoot) !== 0 || strpos(MODX_ASSETS_PATH, MODX_ASSETS_URL) === false || substr(MODX_ASSETS_PATH, 0, strpos(MODX_ASSETS_PATH, MODX_ASSETS_URL)) !== $min_documentRoot;
                    /* Änderung 13042012 Ergänzung */
                    if (strpos($_mindocumentRoot,'/',-1) === false) $min_documentRoot = $min_documentRoot.'/';
                    /* Änderung Ende */
                    if ($hasVirtualAssetsURL) {
                        $min_serveOptions['minApp']['allowDirs'][] = MODX_ASSETS_PATH;
                        /* $min_serveOptions['minApp']['virtualDirs'][MODX_ASSETS_URL] = MODX_ASSETS_PATH; */
                        $min_serveOptions['minApp']['virtualDirs'][MODX_ASSETS_URL] = str_replace($_SERVER['DOCUMENT_ROOT'],'',MODX_ASSETS_PATH);
                    }
                    if (!empty($min_serveOptions['minApp']['virtualDirs'])) {
                        $min_serveOptions['minifierOptions']['text/css']['virtualDirs'] = $min_serveOptions['minApp']['virtualDirs'];
                    }
                      • 4583
                      • 24 Posts
                      Hey what do you know it worked! I set js and css compression to 0, cleared the cache and suddenly the image file paths are correct. Thank you!