We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 31873
    • 1 Posts
    Hello!

    I use MODx Revolution 2.0.5-pl (traditional)for my site. Recently I’ve moved my site from personal server to a hosting. Now I have problems with package installation. When I try to install a package I receive such error:

    ...
    PHP warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/var/www/sites/mysite.org/htdocs/core/packages/gallery-1.2.0-rc1.transport.zip) is not within the allowed path(s): (/home/httpd/vhosts/mysite.org/httpdocs:/tmp)
    ...
    PHP warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/var/www/sites/mysite.org/htdocs/core/packages/) is not within the allowed path(s): (/home/httpd/vhosts/mysite.org/httpdocs:/tmp)
    ....

    where /var/www/sites/mysite.org/ is path to my site in OLD server, and /home/httpd/vhosts/mysite.org is the path to my site on the NEW one. I’ve found and replaced the old path in all files with find/sed commands and verified result with grep, but I still got the error.

    Please help me to fix it.
      • 3749
      • 24,544 Posts
      The answer should be here:

      http://www.google.com/search?q=open_basedir
        Did I help you? Buy me a beer
        Get my Book: MODX:The Official Guide
        MODX info for everyone: http://bobsguides.com/modx.html
        My MODX Extras
        Bob's Guides is now hosted at A2 MODX Hosting