Fork me on GitHub

Problem with Files module on Windows  Bottom

  • I submitted a ticket in the Cozi for this but haven't heard from Albert yet.

    http://code.zikula.org/files/ticket/7

    The problem superficially appears to be with the FileUtil class but this seems to me unlikely since the functionality is very "core" and I would have thought serious errors would have been worked out before now.

    Any suggestions, or have seen something like this before?
  • Yes, same problem here.

    I opened this ticket in the core:
    http://code.zikula.org/core/ticket/1838

    the problem is that a path like c:\myfiles gets turned into /c/myfiles. In my case I was able to omit the drive letter because Zikula is running on the same physical drive.

    Hope that helps
  • Do you get the JSON error as well?
  • In the end it was not exactly what I wanted so I uninstalled it and I am using the Downloads module instead.

    I had JSON errors with MediaAttach 1.1 but I don't remember any with Files 1.0.
  • It works! No JSON errors. So you must have the folder on the same drive as your site files, and you remove the drive letter from the path, it works. So my actual path was:

    C:\wwwroot\site.org\filesFolder

    which doesn't work, I changed the path to:

    /wwwroot/site.org/filesFolder

    which does work.

    Thanks!
  • goexplore

    In the end it was not exactly what I wanted so I uninstalled it and I am using the Downloads module instead.

    I had JSON errors with MediaAttach 1.1 but I don't remember any with Files 1.0.


    BTW JSON errors with MediaAttach seem to be related to getting the path wrong there too. You can have the path set "right enough" so that MediaAttach works, with JSON errors, but the JSON errors go away when it is "really right".

This list is based on users active over the last 60 minutes.