We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26429
    • 3 Posts
    Am i the only one having problems getting the file-manager to respect the ’filemanager_path’ context setting? Currently i’m stuck serving all of the /assets files for all contexts from a single domain because the file-manager wont load up the correct filemanager_path when trying to add/pick an asset to display on the resource content.

    I’m temporarily dealing with it, but i’d like to confirm that others are having this problem as it might increase the priority.

    i created a ticket for it (http://svn.modxcms.com/jira/browse/MODX-2184), but im not completely convinced that its a bug, so hopefully this community will steer me in the right direction laugh
      • 19604 ☆ A M B ☆
      • 179 Posts
      No, you are not alone. I am stuck with the same problem: One core installation should serve some subdomains. But I cannot get the file manager not to get the images from the assets folder of the main installation but to get them from the subdomain folders. Since the main folder is not available for the subdomains, no images are visible. Too bad.

      Anybody out there who mastered the problem with the filemanager and contexts?

      best
      Hans
        MINDEFFECTS – DESIGN for PRINT, WEB and MEDIA
        http://twitter.com/mindeffects · http://www.facebook.com/mindeffects · http://www.youtube.com/mindeffects/ · skype://mindeffects_oliver
        • 32075
        • 13 Posts
        I encountered the same problem but with Revolution 2.0.2 - are there any other settings needed? I set the filemanager_path to the directory /home/mydomain/public_html/clients/assets/ and the filemanager_url to http://clients.mydomain.com/assets/ but I cannot upload files via the filemanager and TinyMCE (the filemanager shows correctly the directories and files but uploading an image gives the message ’the specified directory is not a directory’).
          • 8385
          • 11 Posts
          Quote from: webbear at Sep 20, 2010, 06:22 AM

          I encountered the same problem but with Revolution 2.0.2 - are there any other settings needed? I set the filemanager_path to the directory /home/mydomain/public_html/clients/assets/ and the filemanager_url to http://clients.mydomain.com/assets/ but I cannot upload files via the filemanager and TinyMCE (the filemanager shows correctly the directories and files but uploading an image gives the message ’the specified directory is not a directory’).

          I get the same error.

          Revolution 2.0.2-pl - Traditional, PHP 5.2.11, MySQL 5.1.45, pdo_mysql is installed, Firefox 3.6.10 (Win7)

            • 28215
            • 4,149 Posts
            splittingred Reply #5, 16 years ago
              shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
              • 8385
              • 11 Posts
              I changed the 2 files


              • core/model/modx/modfilehandler.class.php
              • manager/assets/modext/widgets/system/modx.tree.directory.js

              cleared MODx and Browser Cache, but still getting the same error sad
                • 32075
                • 13 Posts
                me too
                  • 8385
                  • 11 Posts
                  It only works if the context and the user get the same filemanager_path.
                  Is it also possible that one user has a different path on each context ?


                  Edit: After the update to Revo 2.0.3 it’s working fine, thx for fixing smiley