We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 38662
    • 8 Posts
    I've had this problem for the last few years (which has prevented me from ever adopting Revo), but realise eventually I need to make the switch and would like some guidance on how to resolve this issue.

    Everything seems to work fine, except for the ability to download packages. It always gets stuck at "Please wait... Downloading..." regardless of which extra I'd like to install. The only way to get out of it is to refresh the page.

    Here is some info:

    • Clean install of Revo 2.3.5
    • The core/packages permissions is set to 777
    • I've tried learning the cache, setting its folder to 777 and doing a clean install again
    • I've renamed the main ht.access file to .htaccess but haven't modified it since install
    • It is in a sub-domain, where one level lower is a separate Evo installation (I've had the same problem when the install was at root level, though but am willing to try to install a test at root level to see if I get the same problem if it might relate to it.

    • Using Hepsia control panel (not cPanel)
    • OS: Debian GNU/Linux
    • PHP Version: 5.3.29
    • MySQL version: 5.5.38

    • PHP Configure Command:
      './configure' '--enable-soap' '--prefix=/usr/local/php5.3' '--libdir=/usr/local/php5.3/lib/' '--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=/usr/local/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.3' '--with-pgsql=/usr' '--with-pdo-mysql' '--with-pdo-pgsql' '--with-mysqli' '--with-pear' '--with-iconv' '--enable-fastcgi' '--with-tidy' '--with-xmlrpc' '--enable-zip' '--enable-intl' '--enable-sockets'
    • PHP Server AP: CGI/FastCGI
    • PHP Virtual Directory Support: disabled
    • PHP Streams: https, ftps, compress.zlib, php, file, glob, data, http, ftp, phar, zip
    • PHP Stream Socket Transports: tcp, udp, unix, udg, ssl, sslv3, sslv2, tls
    • PHP Stream Filters: zlib.*, convert.iconv.*, mcrypt.*, mdecrypt.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk

    PHP ini (I've removed comments but included most commented out commands for reference):

    engine = On
    zend.ze1_compatibility_mode = Off
    
    short_open_tag = On
    asp_tags = Off
    precision    =  14
    y2k_compliance = On
    
    output_buffering = 4096
    ;output_handler =
    
    zlib.output_compression = Off
    ;zlib.output_compression_level = -1
    ;zlib.output_handler =
    
    implicit_flush = Off
    serialize_precision = 100
    allow_call_time_pass_reference = Off
    
    safe_mode = Off
    safe_mode_gid = Off
    safe_mode_allowed_env_vars = PHP_
    safe_mode_protected_env_vars = LD_LIBRARY_PATH
    
    ;open_basedir =
    ; ignore_user_abort = On
    
    ; realpath_cache_size=16k
    ; realpath_cache_ttl=120
    
    expose_php = On
    
    max_execution_time = 30
    max_input_time = 60	
    memory_limit = 128M     
    
    error_reporting = E_ALL & ~E_NOTICE
    ;error_reporting = E_ALL & ~E_NOTICE | E_STRICT
    ;error_reporting = E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR
    ;error_reporting  =  E_ALL
    
    display_errors = On
    display_startup_errors = Off
    log_errors = Off
    log_errors_max_len = 1024
    ignore_repeated_errors = Off
    ignore_repeated_source = Off
    
    report_memleaks = On
    track_errors = Off
    ;html_errors = Off
    
    ;arg_separator.input = ";&"
    variables_order = "GPCS"
    
    register_globals = Off
    register_long_arrays = Off
    register_argc_argv = Off
    
    auto_globals_jit = On
    post_max_size = 8M
    
    magic_quotes_gpc = Off
    magic_quotes_runtime = Off
    magic_quotes_sybase = Off
    
    default_mimetype = "text/html"
    ;default_charset = "iso-8859-1"
    
    ;always_populate_raw_post_data = On
    
    ; UNIX: "/path1:/path2"
    ;include_path = ".:/php/includes"
    
    ; Windows: "\path1;\path2"
    ;include_path = ".;c:\php\includes"
    
    enable_dl = On
    
    ; cgi.force_redirect = 1
    ; cgi.nph = 1
    ; cgi.redirect_status_env = ;
    
    ; fastcgi.impersonate = 1;
    ; fastcgi.log = 0
    
    ;cgi.rfc2616_headers = 0
    file_uploads = On
    
    ;upload_tmp_dir =
    upload_max_filesize = 16M
    
    allow_url_fopen = On
    allow_url_include = Off
    
    ; user_agent="PHP"
    default_socket_timeout = 60
    ; auto_detect_line_endings = Off
    
    ;extension=php_bz2.dll
    ;extension=php_curl.dll
    ;extension=php_dba.dll
    ;extension=php_dbase.dll
    ;extension=php_exif.dll
    ;extension=php_fdf.dll
    ;extension=php_gd2.dll
    ;extension=php_gettext.dll
    ;extension=php_gmp.dll
    ;extension=php_ifx.dll
    ;extension=php_imap.dll
    ;extension=php_interbase.dll
    ;extension=php_ldap.dll
    ;extension=php_mbstring.dll
    ;extension=php_mcrypt.dll
    ;extension=php_mhash.dll
    ;extension=php_mime_magic.dll
    ;extension=php_ming.dll
    ;extension=php_msql.dll
    ;extension=php_mssql.dll
    ;extension=php_mysql.dll
    ;extension=php_mysqli.dll
    ;extension=php_oci8.dll
    ;extension=php_openssl.dll
    ;extension=php_pdo.dll
    ;extension=php_pdo_firebird.dll
    ;extension=php_pdo_mssql.dll
    ;extension=php_pdo_mysql.dll
    ;extension=php_pdo_oci.dll
    ;extension=php_pdo_oci8.dll
    ;extension=php_pdo_odbc.dll
    ;extension=php_pdo_pgsql.dll
    ;extension=php_pdo_sqlite.dll
    ;extension=php_pgsql.dll
    ;extension=php_pspell.dll
    ;extension=php_shmop.dll
    ;extension=php_snmp.dll
    ;extension=php_soap.dll
    ;extension=php_sockets.dll
    ;extension=php_sqlite.dll
    ;extension=php_sybase_ct.dll
    ;extension=php_tidy.dll
    ;extension=php_xmlrpc.dll
    ;extension=php_xsl.dll
    ;extension=php_zip.dll
    
    ;date.timezone =
    ;date.default_latitude = 31.7667
    ;date.default_longitude = 35.2333
    ;date.sunrise_zenith = 90.583333
    ;date.sunset_zenith = 90.583333
    ;filter.default = unsafe_raw
    ;filter.default_flags =
    ;iconv.input_encoding = ISO-8859-1
    ;iconv.internal_encoding = ISO-8859-1
    ;iconv.output_encoding = ISO-8859-1
    ;sqlite.assoc_case = 0
    ;xmlrpc_error_number = 0
    ;xmlrpc_errors = 0
    ;pcre.recursion_limit=100000
    ;pcre.backtrack_limit=100000
    
    define_syslog_variables  = Off
    
    SMTP = localhost
    smtp_port = 25
    
    ;mail.force_extra_parameters =
    sql.safe_mode = Off
    
    ;odbc.default_db    =  Not yet implemented
    ;odbc.default_user  =  Not yet implemented
    ;odbc.default_pw    =  Not yet implemented
    
    odbc.allow_persistent = On
    odbc.check_persistent = On
    odbc.max_persistent = -1
    odbc.max_links = -1
    odbc.defaultlrl = 4096
    odbc.defaultbinmode = 1
    
    mysql.allow_persistent = On
    mysql.max_persistent = -1
    mysql.max_links = -1
    mysql.connect_timeout = 60
    mysql.trace_mode = Off
    mysqli.max_links = -1
    mysqli.default_port = 3306
    mysqli.reconnect = Off
    
    msql.allow_persistent = On
    msql.max_persistent = -1
    msql.max_links = -1
    
    ;oci8.privileged_connect = Off
    ;oci8.max_persistent = -1
    ;oci8.persistent_timeout = -1
    ;oci8.ping_interval = 60
    ;oci8.statement_cache_size = 20
    ;oci8.default_prefetch = 10
    ;oci8.old_oci_close_semantics = Off
    
    pgsql.allow_persistent = On
    pgsql.auto_reset_persistent = Off
    pgsql.max_persistent = -1
    pgsql.max_links = -1
    
    sybase.allow_persistent = On
    sybase.max_persistent = -1
    
    sybase.max_links = -1
    ;sybase.interface_file = "/usr/sybase/interfaces"
    sybase.min_error_severity = 10
    sybase.min_message_severity = 10
    sybase.compatability_mode = Off
    
    sybct.allow_persistent = On
    sybct.max_persistent = -1
    sybct.max_links = -1
    sybct.min_server_severity = 10
    sybct.min_client_severity = 10
    
    ;browscap = extra/browscap.ini
    
    ifx.allow_persistent = On
    ifx.max_persistent = -1
    ifx.max_links = -1
    
    session.save_handler = files
    ;  session.save_path = "N;MODE;/path"
    session.use_cookies = 1
    ;session.cookie_secure =
    session.name = PHPSESSID
    session.cookie_path = /
    session.gc_probability = 1
    session.gc_divisor     = 1000
    session.gc_maxlifetime = 1440
    session.bug_compat_warn = 1
    session.cache_limiter = nocache
    session.cache_expire = 180
    
    url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    
    mssql.allow_persistent = On
    mssql.max_persistent = -1
    mssql.max_links = -1
    mssql.min_error_severity = 10
    mssql.min_message_severity = 10
    mssql.compatability_mode = Off
    ;mssql.connect_timeout = 5
    ;mssql.timeout = 60
    ;mssql.textlimit = 4096
    ;mssql.textsize = 4096
    ;mssql.batchsize = 0
    ;mssql.datetimeconvert = On
    mssql.secure_connection = Off
    ;msdlib defaults to 25
    ;mssql.max_procs = -1
    ;mssql.charset = "ISO-8859-1"
    
    ;assert.active = On
    ;assert.warning = On
    ;assert.bail = Off
    ;assert.callback = 0
    ;assert.quiet_eval = 0
    
    ;com.typelib_file =
    ;com.allow_dcom = true
    ;com.autoregister_typelib = true
    ;com.autoregister_casesensitive = false
    ;com.autoregister_verbose = true
    
    ;mbstring.language = Japanese
    ;mbstring.internal_encoding = EUC-JP
    ;mbstring.http_input = auto
    ;mbstring.http_output = SJIS
    ;mbstring.encoding_translation = Off
    ;mbstring.detect_order = auto
    ;mbstring.substitute_character = none;
    ;mbstring.func_overload = 0
    ;mbstring.strict_encoding = Off
    
    ;fbsql.allow_persistent = On
    ;fbsql.autocommit = On
    ;fbsql.show_timestamp_decimals = Off
    ;fbsql.default_database =
    ;fbsql.default_database_password =
    ;fbsql.default_host =
    ;fbsql.default_password =
    ;fbsql.default_user = "_SYSTEM"
    ;fbsql.generate_warnings = Off
    ;fbsql.max_connections = 128
    ;fbsql.max_links = 128
    ;fbsql.max_persistent = -1
    ;fbsql.max_results = 128
    
    ;gd.jpeg_ignore_warning = 0
    
    ;exif.encode_unicode = ISO-8859-15
    ;exif.decode_unicode_motorola = UCS-2BE
    ;exif.decode_unicode_intel    = UCS-2LE
    ;exif.encode_jis =
    ;exif.decode_jis_motorola = JIS
    ;exif.decode_jis_intel    = JIS
    
    tidy.clean_output = Off
    
    soap.wsdl_cache_enabled=1
    soap.wsdl_cache_dir="/tmp"
    soap.wsdl_cache_ttl=86400
    
    date.timezone = "UTC"
    
    ;zend_extension=/usr/local/Zend5/lib/ioncube_loader_lin_5.2.so
    ;zend_extension_manager.optimizer=/usr/local/Zend5/lib/Optimizer-3.2.0
    ;zend_extension_manager.optimizer_ts=/usr/local/Zend5/lib/Optimizer_TS-3.2.0
    ;zend_optimizer.version=3.2.0
    ;zend_extension=/usr/local/Zend5/lib/ZendExtensionManager.so
    ;zend_extension_ts=/usr/local/Zend5/lib/ZendExtensionManager_TS.so


    There aren't any server-side error logs, but I haven't checked much beyond that.

    Any guidance/assistance would be greatly appreciated.

    This question has been answered by multiple community members. See the first response.

    [ed. note: nelsonc last edited this post 8 years, 8 months ago.]
    • Make sure your server has cURL installed and enabled. https://rtfm.modx.com/revolution/2.x/getting-started/server-requirements
        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
      • discuss.answer
        • 3749
        • 24,544 Posts
        Uncomment this:

        ;extension=php_curl.dll
          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
        • It's not a Windows server installation, so that won't do any good.
          OS: Debian GNU/Linux
            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
            • 38662
            • 8 Posts
            Thanks! Can't believe I missed that.

            Now that I can go past the "Please wait..." phase it now finally progresses to say "Downloading...". However, the download fails and I now get this error message:

            "Could not download and create transport package with signature:"

            Quote from: BobRay at Aug 14, 2015, 06:59 PM
            Uncomment this:

            ;extension=php_curl.dll
              • 3749
              • 24,544 Posts
              It's possible that the MODX server timed out (it does sometimes) or that your core/packages directory is not writable. That error could occur if the download failed, or if the package couldn't be saved.

              Is there anything in the MODX error log?
                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
                • 38662
                • 8 Posts
                Thanks for replying so quickly.

                Error log:
                [2015-09-04 04:48:10] (ERROR @ /connectors/index.php) Could not open file for reading: http://modx.s3.amazonaws.com/extras/4d556be8b2b083396d0008bd/wayfinder-2.3.3-pl.transport.zip?revolution_version=Revolution-2.4.0-pl
                [2015-09-04 05:04:13] (ERROR @ /connectors/index.php) MODX could not download the file. You must enable allow_url_fopen, cURL or fsockopen to use remote transport packaging.


                Both cURL and fsockopen is on.

                I did notice, service side that a bunch of IP addresses from amazonaws.com was blocked. About 10 of them. Should I be adding these to the "trusted" list?

                Quote from: BobRay at Sep 04, 2015, 04:59 AM
                It's possible that the MODX server timed out (it does sometimes) or that your core/packages directory is not writable. That error could occur if the download failed, or if the package couldn't be saved.

                Is there anything in the MODX error log?
                • discuss.answer
                  • 38662
                  • 8 Posts
                  Problem resolved! It was indeed the server I'm using, blocking outgoing connections.

                  I simply whitelisted this range: 54.231.0.0/16

                  Quote from: BobRay at Sep 04, 2015, 04:59 AM
                  It's possible that the MODX server timed out (it does sometimes) or that your core/packages directory is not writable. That error could occur if the download failed, or if the package couldn't be saved.

                  Is there anything in the MODX error log?