We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28449
    • 8 Posts
    Modx Version: Revolution 2.0.6-pl2

    When I use the modx Browser (for example by clicking on imageTV in a resource)
    and mostly when I didn’t wait until all menu-items in a tree (resources, elements or file manager) are showed (and don’t are - still - expanding).
    then i get this error : ’Please specify a valid directory ...’
    => the directories using don’t show up, I can’t use the browser ...



    In the system-setting: I filter on ’path’, there I have the following:
    filemanager_path: /assets/images/
    filemanager_path_relative: yes
    strip_image_paths: yes

    I want to leave these settings like how they are!



    I’m using the follow browsers: firefox, chrome, opera, ... (all in a linux-distro),
    (don’t know yet if this problem occurs in IE, and the same browsers in windows-environment)


    The only solution I get after this error: refresh the browserpage several times,
    and/or close the browserpage and open the same url on a new tab OR
    logout and login back and go again to resource,
    then wait until manager’s tree is fully expanded before I click on TV-image-button again ...
    then I can use the modx browser like how it should be (with a usable tree in stead of an error).

    But can there be another solution for this? (it’s so annoying ...)



    the only forum-message that I could find that handle’s the same issue:
    http://modxcms.com/forums/index.php/topic,56022.20.html

    and the bug they’ve been worked on : http://bugs.modx.com/issues/2738,
    (but here it’s about the filemanager not the modx browser)
      • 28215
      • 4,149 Posts
      Do ’assets/images/’.

      Also, make sure that directory exists.
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
        • 28449
        • 8 Posts
        Do ’assets/images/’.

        Also, make sure that directory exists.

        It feels more stable with that path ... but after a while the error comes again
        and the directory exists and is writeable (chmod777)

        I’m sure it has to do something with the expanding tree (from the manager itself), I never get this error when that is fully expanded before I clicked ...
          • 28449
          • 8 Posts
          Modx Version: Revolution 2.0.7-pl

          No changes, it runs smoother but the error still exists, a litle less frequent, but still ...



          But after a while I have a Solution for my problem!!!
          Every directory I used under ’assets/images/’ has in the mapname a ’_’ (underscore)
          and the errors given where always without this character (and without some other characters around),
          so now I’ve changed all these underscores with capital letters the problem never occurs anymore!


          Thanks a lot!
            • 12379
            • 460 Posts
              Mostly harmless.