We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 17715
    • 1 Posts
    I’m running Modx on a windows server machine with the docroot pointing to a file server. Everything seems to work fine, except that the file manager in the Admin seems to get confused about file names. It can read the directory structure, but it fails when trying to retrieve a file for editing or uploading a file. When clicking on a file, it returns "file does not exist!" When trying to upload a file, it says "the specified directory is not a directory".

    I’ve double checked permission settings and all looks good. This is confirmed by the fact that modx can write and delete cache files.

    The file manager is producing links like "https://mysite.com/manager/?a=41&file=\\fileserver\path\to\modxInstall\%2F\test.txt"

    I’ve played with numerous combinations of forward and back slashes, but nothing works. I then tried moving the files to the local disk. That worked fine.

    Any ideas? Has this been fixed in a newer release?

    Version of MODx: Revolution 2.0.4-pl2 Traditional
    Server OS: Windows Server
    Server Version: 2008 R2
    PHP Version: 5.3.4
    MySQL Version: 5.5.8
    pdo_mysql: unknown
    Browser type and version: Firefox 3.6 and 4b10
      • 31722
      • 5 Posts
      Hi,

      I’m having the same problem, but I can’t even get the file manager to view the directory...
      Keep getting this message: "Please specify a valid directory".
        • 22303 MODX Staff
        • 10,725 Posts
        Can you please report this as a bug at http://bugs.modx.com/projects/revo/issues so it gets addressed as soon as possible.
          • 28252
          • 7 Posts
          Am having the same proboem urk! :’(
            • 31722
            • 5 Posts
            Fixed it partially: use double slashes instead of single slash when setting the filemanager_path in System settings:
            //DATA/path/to/site/ should be ////DATA//path//to//site//
            Still can’t create folders, but am able to upload and edit files.