We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11190
    • 109 Posts
    Hello, all. I am trying to use the Manager to upload pdf files to my site using MODx 0.9.5 (Ubuntu 7.0.4 - Feisty). I go to Resources / Manage Files. I then click on assets and then docs. I click on Browse and select my file. It shows up in the list with an X in the check box. I click on Upload file and receive no error messages yet the file does not appear in the file list and is not in the directory if I check from the command line.

    The directory shows writable in the File Manager. It has the same permissions as the images directory to which I have successfully uploaded images. Here is the directory listing:

    drwxr-xr-x 2 www-data www-data 4096 2007-03-27 19:11 cache
    drwxr-xr-x 2 www-data www-data 4096 2007-03-31 00:35 css
    drwxr-xr-x 2 www-data www-data 4096 2007-05-21 13:22 docs
    drwxr-xr-x 2 www-data www-data 4096 2007-03-27 19:11 export
    drwxr-xr-x 2 www-data www-data 4096 2007-03-27 19:11 files
    drwxr-xr-x 2 www-data www-data 4096 2007-03-27 19:11 flash
    drwxr-xr-x 2 www-data www-data 4096 2007-05-18 11:50 images
    drwxr-xr-x 2 www-data www-data 4096 2007-03-27 19:11 import
    -rwxr-xr-x 1 www-data www-data 71 2007-03-27 19:11 index.html
    drwxr-xr-x 2 www-data www-data 4096 2007-03-27 19:11 js
    drwxr-xr-x 2 www-data www-data 4096 2007-03-27 19:11 media
    drwxr-xr-x 4 www-data www-data 4096 2007-03-27 19:11 modules
    drwxr-xr-x 3 www-data www-data 4096 2007-03-27 19:11 plugins
    drwxr-xr-x 2 www-data www-data 4096 2007-03-27 19:11 site
    drwxr-xr-x 9 www-data www-data 4096 2007-04-16 11:57 snippets
    drwxr-xr-x 4 www-data www-data 4096 2007-03-27 19:11 templates

    What am I doing wrong? Thanks - John
      http://www.spiritualoutreach.com
      Making Christianity intelligible to secular society
      • 11190
      • 109 Posts
      I have subsequently noticed that in contradiction to the documentation, files go in the files and not the docs directory. However, it still doesn’t work, i.e., if I manually copy the file into files, it is available in the link dialog but if I try to upload using the File Manager, it fails as previously described. Thanks - John
        http://www.spiritualoutreach.com
        Making Christianity intelligible to secular society
        • 1326
        • 40 Posts
        I have got the same problem. I don’t know if that comforts you. grin
          • 4018
          • 1,131 Posts
          What’s your LAMP setup like? What versions of Apache, MySQL, and PHP are you using? Also, how is PHP setup with Apache? CGI or module? Is Apache running under the www-data user/group? That can have an impact on things. Also, it looks like the directories are only writable by the www-data user (755). Probably need to make it writable to the group as well (775) or perhaps just make the directories you need writable to everyone (777). If this is just a local test server you can probably get away with that. smiley

          Jeff
            Jeff Whitfield

            "I like my coffee hot and strong, like I like my women, hot and strong... with a spoon in them."