We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 51279
    • 4 Posts
    Packages can be download, but cant install.
    Push "Install" button, but nothing happens.
    MODx Revo version = 2.4.2
    Please help.
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Are there any entries in the Error Reports? Are there any Javascript errors in your browser console?
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 51279
        • 4 Posts
        Quote from: sottwell at Oct 21, 2015, 09:08 AM
        Are there any entries in the Error Reports?

        core/cache/logs/error.log

        [2015-10-21 11:46:59] (ERROR @ core/model/modx/processors/system/config_check.inc.php : 94) PHP warning: curl_setopt() [<a href='function.curl-setopt'>function.curl-setopt</a>]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set
        [2015-10-21 11:47:00] (ERROR @ /manager/index.php) [configcheck] check core lockdown curl err: 6
        [2015-10-21 12:19:14] (ERROR @ core/model/modx/processors/system/config_check.inc.php : 94) PHP warning: curl_setopt() [<a href='function.curl-setopt'>function.curl-setopt</a>]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set
        [2015-10-21 12:47:21] (ERROR @ core/model/modx/processors/system/config_check.inc.php : 94) PHP warning: curl_setopt() [<a href='function.curl-setopt'>function.curl-setopt</a>]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set
        [2015-10-21 13:29:16] (ERROR @ /connectors/index.php) Error caching lexicon topic lexicon/en/core/setting
        [2015-10-21 13:31:11] (ERROR @ core/model/modx/processors/system/config_check.inc.php : 94) PHP warning: curl_setopt() [<a href='function.curl-setopt'>function.curl-setopt</a>]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set
        [2015-10-21 14:59:12] (ERROR @ core/model/modx/processors/system/config_check.inc.php : 94) PHP warning: curl_setopt() [<a href='function.curl-setopt'>function.curl-setopt</a>]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set

        Quote from: sottwell at Oct 21, 2015, 09:08 AM
        Are there any Javascript errors in your browser console?
        Nope
          • 28042 ☆ A M B ☆
          • 24,524 Posts
          Check in the core/packages directory to see if they are actually getting downloaded. Those errors look like cURL isn't able to download anything.
            Studying MODX in the desert - http://sottwell.com
            Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
            Join the Slack Community - http://modx.org
            • 51279
            • 4 Posts
            Package directory contains all extra content, has been downloaded.

              • 3749
              • 24,544 Posts
              I think the only solution may be to get your host to turn off safe_mode (or change hosts: http://bobsguides.com/modx-friendly-hosts.html ).

              It shouldn't be on in the first place:


              http://php.net/manual/en/features.safe-mode.php

              On second thought, another option would be to upgrade PHP to 5.4.0 or above, where safe_mode doesn't exist.
                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
                • 51279
                • 4 Posts
                Quote from: BobRay at Oct 21, 2015, 02:23 PM
                I think the only solution may be to get your host to turn off safe_mode

                phpinfo() return this:


                PHP Version 5.3.24
                Directive Local Value Master Value
                safe_mode Off Off
                open_basedir no value no value

                apache2handler
                Loaded Modules core mod_authn_file mod_authn_default mod_authz_host mod_authz_groupfile mod_authz_user mod_authz_default mod_auth_basic mod_include mod_filter mod_deflate mod_log_config mod_logio mod_env mod_expires mod_headers mod_unique_id mod_setenvif mod_version mod_proxy mod_proxy_connect mod_proxy_ftp mod_proxy_http mod_proxy_scgi mod_proxy_ajp mod_proxy_balancer mod_ssl itk http_core mod_mime mod_dav mod_status mod_autoindex mod_asis mod_suexec mod_cgi mod_dav_fs mod_dav_lock mod_negotiation mod_dir mod_actions mod_userdir mod_alias mod_rewrite mod_so mod_php5 mod_rpaf-2

                curl
                cURL support enabled
                cURL Information 7.27.0
                Age 3
                Features
                AsynchDNS No
                Debug No
                GSS-Negotiate No
                IDN Yes
                IPv6 Yes
                Largefile Yes
                NTLM Yes
                SPNEGO No
                SSL Yes
                SSPI No
                krb4 No
                libz Yes
                CharConv No
                Protocols dict, file, ftp, ftps, gopher, http, https, imap, imaps, pop3, pop3s, rtsp, smtp, smtps, telnet, tftp
                Host x86_64-unknown-linux-gnu
                SSL Version OpenSSL/1.0.0
                ZLib Version 1.2.3
                  • 3749
                  • 24,544 Posts
                  That suggests that it's an open_basedir issue.
                    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