We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21054
    • 78 Posts
    I’ve been reading the previous topics relating to this issue but I can’t seem to get it working either way.

    PHP ver: 5.2.13

    Configuration command: ’./configure’ ’--enable-soap’ ’--prefix=/usr/local/php5’ ’--with-mysql=/usr’ ’--with-gd’ ’--with-zlib’ ’--with-kerberos’ ’--enable-ftp’ ’--enable-gd-native-ttf’ ’--with-freetype-dir=/usr’ ’--with-jpeg-dir=/usr’ ’--with-xpm-dir=/usr’ ’--with-png-dir=/usr’ ’--enable-bcmath’ ’--with-gettext’ ’--enable-mbstring’ ’--with-curl’ ’--with-imap’ ’--enable-calendar’ ’--with-mhash=/usr’ ’--with-openssl=/usr’ ’--enable-exif’ ’--with-mhash=/usr’ ’--with-mcrypt=/usr’ ’--with-imap-ssl’ ’--with-xsl=/usr’ ’--with-config-file-path=/home/sys/php5’ ’--with-pgsql=/usr’ ’--with-pdo-mysql’ ’--with-pdo-pgsql’ ’--with-mysqli’ ’--with-pear’ ’--with-iconv’ ’--enable-fastcgi’

    curl info:

    cURL support enabled
    cURL Information libcurl/7.18.2 OpenSSL/0.9.8g zlib/1.2.3.3 libidn/1.8 libssh2/0.18

    More related info:

    allow_url_fopen: On

    Yet... when I check the error logs on MODx:

    [2011-06-27 06:58:35] (ERROR @ /connectors/workspace/packages-rest.php) Could not open file for reading: http://modx.com/extras/download/?id=4dd402c4f2455473fd000008&revolution_version=Revolution-2.1.1-pl
    [2011-06-27 06:58:35] (ERROR @ /connectors/workspace/packages-rest.php) MODX could not download the file. You must enable allow_url_fopen, cURL or fsockopen to use remote transport packaging.
    [2011-06-27 06:58:35] (ERROR @ /connectors/workspace/packages-rest.php) Could not download package at: http://modx.com/extras/download/?id=4dd402c4f2455473fd000008


    What the?




      • 21496
      • 225 Posts
      Hi - I have exactly the same issue: an error message despite cURL is enabled and allow_url_fopen is on. Could you resolve the issue in between?
        René
        • 21496
        • 225 Posts
        Never mind - I could resolve the issue. The problem was the value in 'open_basedir' (PHP settings). After removing the paths there and setting them to NULL, the error went away.
          René
        • What is your provider URL? If you upgraded from 2.0.x, you may need to update this to rest.modx.com (was formerly rest.modxcms.com) to avoid redirects, which cURL is not allowed to follow based on open_basedir restrictions.
            • 21496
            • 225 Posts
            Not sure what you mean by rest.modx.com? I was doing a fresh install from scratch with 2.1.3 and was running into this issue with an account on https://www.simplexwebs.com/
              René
              • 19873
              • 67 Posts
              I would not consider this solved. Check my post http://forums.modx.com/thread/72778/package-management-fix-fails#dis-post-404747. It seems that the package URLs are just wrong.

              What I thought was a more technical issue turns out to be a simple hyperlink problem, but how can it be solved?
                • 3749
                • 24,544 Posts
                Patience. wink
                  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
                  • 12410
                  • 353 Posts
                  Getting it too. Any fix? My migx tv form tabs are blank.

                   [2014-10-31 10:53:50] (ERROR @ /connectors/workspace/packages.php) Could not open file for reading: migx-2.8.1-pl.transport.zip?revolution_version=Revolution-2.2.14-pl
                  [2014-10-31 10:53:50] (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.
                  [2014-10-31 10:53:50] (ERROR @ /connectors/workspace/packages.php) Could not transfer package migx-2.8.1-pl.transport.zip to /var/www/html/xyz.com/htdocs/core/packages/.
                  


                  cURL is enabled
                    • 3749
                    • 24,544 Posts
                    Make sure the core/packages directory is writable.
                      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