We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 1841
    • 141 Posts
    Hi, I recently moved my Revolution 2.2pl2 install from a sub-domain to a main domain on the same server, connected to the same database.

    I followed the instructions on moving sites to the letter but since the move I am getting errors whenever I try and use the package manager and have the niggling issue with Articles in that it doesn't show the URL path of new articles and won't display the "latest posts" and "archives" in the posts - as if the pages are outside of the container.

    I've kept a test version running on the subdomain (on a copy of the database) but it started falling over so I tried deleting the install but now some files won't delete through FTP (file permission issues).

    Anyone had any experience with this, I used to have problems with modx and file permissions but this seemed to have been solved a long time ago.

    The errors I see in the log are:

     [2012-01-24 21:24:23] (ERROR @ /connectors/workspace/packages.php) Could not open file for reading: archivist-1.2.2-pl.transport.zip?revolution_version=Revolution-2.2.0-pl2
    [2012-01-24 21:24:23] (ERROR @ /connectors/workspace/packages.php) MODX could not download the file. You must enable allow_url_fopen, cURL or fsockopen to use remote transport packaging.
    [2012-01-24 21:24:23] (ERROR @ /connectors/workspace/packages.php) Could not transfer package archivist-1.2.2-pl.transport.zip to /var/www/vhosts/sfbook.com/httpdocs/core/packages/.
    [2012-01-24 21:24:25] (ERROR @ /connectors/workspace/packages.php) Could not open file for reading: getpage-1.2.2-pl.transport.zip?revolution_version=Revolution-2.2.0-pl2
    [2012-01-24 21:24:25] (ERROR @ /connectors/workspace/packages.php) MODX could not download the file. You must enable allow_url_fopen, cURL or fsockopen to use remote transport packaging.
    [2012-01-24 21:24:25] (ERROR @ /connectors/workspace/packages.php) Could not transfer package getpage-1.2.2-pl.transport.zip to /var/www/vhosts/sfbook.com/httpdocs/core/packages/.


    The manager keeps behaving oddly too, often when I click to edit a resource the resource window appears but the menu and header dissapear until I refresh the page.

    Help please!
      • 34926
      • 87 Posts
      This is a permissions related issue. MODx will need permission to read and write to be able to extract packages etc.

      If you don't have access to change permissions yourself you will need to contact a server admin. You might also have to change the default permissions MODx sets when it creates files (run an upgrade or fresh installation).
        • 1841
        • 141 Posts
        I tried running an upgrade but this didn't help at all and I have changed the folder permission on packages to 777 but I still get the same errors. Whenever the system creates new resources the owner is set differently too and I have to go into SSH to change.
          • 3749
          • 24,544 Posts
          Try setting the compress_css and compress_js System Settings to "no" in System -> System Settings (type compress in the search box at the upper right). I think that will fix the quirks in the Manager. I'm not sure it will help with Package Manager.


          ---------------------------------------------------------------------------------------------------------------
          PLEASE, PLEASE specify the version of MODX you are using . . . PLEASE!
          MODx info for everyone: http://bobsguides.com/modx.html
            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
            • 34926
            • 87 Posts
            I completely missed this part of the log you posted.

            You must enable allow_url_fopen, cURL or fsockopen to use remote transport packaging

            Are the actual packages being downloaded? Take a look in core/packages and see if there are any transport packages in there.
              • 1841
              • 141 Posts
              @Gibbs the transport packages that come up with errors - archivist and getpage are not there, however they are installed and working!

              @BobRay I was afraid someone would say that,I did try disabling the compression of css and JavaScript earlier but it went so slow it was pretty much unusable.

              Finally got you book by the way Bob, it rocks!
                • 1841
                • 141 Posts
                An update on some of the issues I've been seeing, I installed a new version of Revolution for a client and noticed 2 settings within the "system settings" area on the new install that aren't there on my existing site - both "New File Permissions" and "New Folder Permissions" are missing!

                Should I be reporting this as a bug? anyone else seen this before?
                  • 3749
                  • 24,544 Posts
                  I think those have been moved to permissions in access policies.

                  Thanks for buying the book. smiley


                  ---------------------------------------------------------------------------------------------------------------
                  PLEASE, PLEASE specify the version of MODX you are using . . . PLEASE!
                  MODx info for everyone: http://bobsguides.com/modx.html
                    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
                    • 1841
                    • 141 Posts
                    I have looked in access policies and can't see it there, installing a fresh copy of 2.2pl shows these 2 system settings within the "core area" but they just arn't there on my moved site!
                      • 3749
                      • 24,544 Posts
                      It sounds like I'm wrong about them being moved. I can't think of anything that would cause that and I doubt if you removed them yourself.


                      ---------------------------------------------------------------------------------------------------------------
                      PLEASE, PLEASE specify the version of MODX you are using . . . PLEASE!
                      MODx info for everyone: http://bobsguides.com/modx.html
                        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