We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 16861 ☆ A M B ☆
    • 86 Posts
    I am using Revo 2.0.5-pl. Recently I changed the domain name on the server (using Peer1). After updating my core/config/config.inc.php, clear cache and flush sessions, everything is working...except...the Package Management. I can download packages, but they won’t install. Right now, I have downloaded FormIt, TinyMCE and Wayfinder and get the following error on each:

    PHP warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/var/www/vhosts/domain1.com/httpdocs/core/packages/formit-1.5.3-rc2.transport.zip) is not within the allowed path(s): (/var/www/vhosts/domain2.com/httpdocs:/tmp)


    Is there another file besides the config that I need to change for this?

    Thanks

    UPDATE:

    In the database, the "modx_workspaces" table had the old path. I updated it and all is good now!
      Lee Brinckley
      Manassas, VA (Washington DC)
      Twitter - @leebrinckley
      http://www.leebrinckley.com
      • 18373 ☆ A M B ☆
      • 3,141 Posts
      Whenever I change something in the server environment (including moving servers, moving in/out of a subdir etc) I usually run setup in upgrade mode. That catches silly things like the workspaces table, as well as modifying the config file.

      Glad you got it fixed though.
        Mark Hamstra • Developer spending his days working on Premium Extras and a MODX Site Dashboard with the ability to remotely upgrade MODX and extras to make the MODX world a little better.

        Tweet me @mark_hamstra, check my infrequent blog at markhamstra.com, my slightly more frequent ramblings at MODX.today or see code at Github.