We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25551 ☆ A M B ☆
    • 1,231 Posts
    I just been checking out all the tabs in the manager and noticed I have an error in my "Manage Files" option. I’m using 0.9.6.3

    Directory listing for:/


    Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/home/sites/mysite.com/public_html/) is not within the allowed path(s): (/home/mysite:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/mysite/public_html/manager/actions/files.dynamic.php on line 354
    To top level
    Up one level




    Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/home/sites/mysite.com/public_html/) is not within the allowed path(s): (/home/mysite:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/mysite/public_html/manager/actions/files.dynamic.php on line 416
    Invalid path "/home/sites/mysite.com/public_html/"
    Filename Modified File size Options
    This directory is empty.
    Directories: 0
    Files: 0
    Data: 0 B
    Directory writable?
    Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/home/sites/mysite.com/public_html/) is not within the allowed path(s): (/home/mysite:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/mysite/public_html/manager/actions/files.dynamic.php on line 509
    No.


    Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/home/sites/mysite.com/public_html/) is not within the allowed path(s): (/home/mysite:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/mysite/public_html/manager/actions/files.dynamic.php on line 516
    Upload feature inhibited - make sure uploads are supported and the directory is writable for PHP

    I don’t want to start poking around the permissions etc till I asked what it might be first.
      Ross Sivills - MD AugmentBLU Edinburgh, Scotland UK
      AugmentBLU - MODX Partner

      BLUcart - MODX Revolution E-Commerce & Shopping Cart
      • 22303 MODX Staff
      • 10,725 Posts
      Check you file_manager_path in the system settings; it appears to be set to /home/sites/mysite.com/public_html/ but your open_basedir restrictions specify /home/mysite as the only accessible path.
        • 25551 ☆ A M B ☆
        • 1,231 Posts
        Thanks OG, some how the setting was incorrect but that’s it fixed now... thanks!
          Ross Sivills - MD AugmentBLU Edinburgh, Scotland UK
          AugmentBLU - MODX Partner

          BLUcart - MODX Revolution E-Commerce & Shopping Cart
          • 33337
          • 3,975 Posts
          This usually happens when you move the installs and forget to update the paths accordingly.

          I catch myself into this often tongue shhh....
            Zaigham R - MODX Professional | Skype | Email | Twitter

            Digging the interwebs for #MODX gems and bringing it to you. modx.link