Use aliyun.com Hosting install drupal8-beta15.
The Hosting in China.
Select Chinese Simplified.
Save and continue.
Then get error message:

Notice: Use of undefined constant CURLOPT_TIMEOUT_MS - assumed 'CURLOPT_TIMEOUT_MS' in GuzzleHttp\Handler\CurlFactory->applyHandlerOptions() (line 354 of core/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php).
GuzzleHttp\Handler\CurlFactory->applyHandlerOptions(Object, Array)
GuzzleHttp\Handler\CurlFactory->create(Object, Array)
GuzzleHttp\Handler\CurlMultiHandler->__invoke(Object, Array)
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object, Array)
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object, Array)
GuzzleHttp\PrepareBodyMiddleware->__invoke(Object, Array)
GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object, Array)
GuzzleHttp\RedirectMiddleware->__invoke(Object, Array)
GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object, Array)
GuzzleHttp\HandlerStack->__invoke(Object, Array)
GuzzleHttp\Client->transfer(Object, Array)
GuzzleHttp\Client->requestAsync('head', 'http://ftp.drupal.org/files/translations/8.x/drupal/drupal-8.0.0-beta15....', Array)
GuzzleHttp\Client->request('head', 'http://ftp.drupal.org/files/translations/8.x/drupal/drupal-8.0.0-beta15....', Array)
GuzzleHttp\Client->__call('head', Array)
GuzzleHttp\Client->head('http://ftp.drupal.org/files/translations/8.x/drupal/drupal-8.0.0-beta15....')
install_check_localization_server('http://ftp.drupal.org/files/translations/8.x/drupal/drupal-8.0.0-beta15....')
install_check_translations('zh-hans', 'http://ftp.drupal.org/files/translations/%core/%project/%project-%versio...')
install_download_translation(Array)
install_run_task(Array, Array)
install_run_tasks(Array)
install_drupal(Object)
Warning: curl_setopt_array(): Array keys must be CURLOPT constants or equivalent integer values in GuzzleHttp\Handler\CurlFactory->create() (line 56 of core/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php).
GuzzleHttp\Handler\CurlFactory->create(Object, Array)
GuzzleHttp\Handler\CurlMultiHandler->__invoke(Object, Array)
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object, Array)
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object, Array)
GuzzleHttp\PrepareBodyMiddleware->__invoke(Object, Array)
GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object, Array)
GuzzleHttp\RedirectMiddleware->__invoke(Object, Array)
GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object, Array)
GuzzleHttp\HandlerStack->__invoke(Object, Array)
GuzzleHttp\Client->transfer(Object, Array)
GuzzleHttp\Client->requestAsync('head', 'http://ftp.drupal.org/files/translations/8.x/drupal/drupal-8.0.0-beta15....', Array)
GuzzleHttp\Client->request('head', 'http://ftp.drupal.org/files/translations/8.x/drupal/drupal-8.0.0-beta15....', Array)
GuzzleHttp\Client->__call('head', Array)
GuzzleHttp\Client->head('http://ftp.drupal.org/files/translations/8.x/drupal/drupal-8.0.0-beta15....')
install_check_localization_server('http://ftp.drupal.org/files/translations/8.x/drupal/drupal-8.0.0-beta15....')
install_check_translations('zh-hans', 'http://ftp.drupal.org/files/translations/%core/%project/%project-%versio...')
install_download_translation(Array)
install_run_task(Array, Array)
install_run_tasks(Array)
install_drupal(Object)

Comments

kwolfdrupal created an issue. See original summary.

fgm’s picture

Priority: Critical » Normal

IMO this is because your PHP is missing the CURL extension: CURLOPT_TIMEOUT_MS is a constant defined by the CURL extension. Nothing critical here.

As specified in the Drupal 8 requirements, https://www.drupal.org/requirements/php#extensions "Drupal 8 requires version PHP 5.5.9 or later, with the CURL extension."

It would be nice if the installer coud perform a requirements check on this, though ; so downgrading to normal.

fgm’s picture

Component: translation.module » install system
Status: Active » Needs review
StatusFileSize
new926 bytes

Here is a possible patch. Changing issue to install system since this is where this is triggered.

It might be possible to do the check later on, and then only if translation is enabled, but for most use cases, Drupal will need to be able to perform downloads, so it seems pointless to let the installation proceed, since CURL is the first requirement mentioned on the requirements page anyway.

taysam’s picture

Version: 8.0.0-beta15 » 8.2.6
Assigned: Unassigned » taysam
Issue tags: +Requirements problem

Requirements problem
Error message
Notice: Use of undefined constant CURLOPT_TIMEOUT_MS - assumed 'CURLOPT_TIMEOUT_MS' in GuzzleHttp\Handler\CurlFactory->applyHandlerOptions() (line 375 of vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php).
GuzzleHttp\Handler\CurlFactory->applyHandlerOptions(Object, Array) (Line: 44)
GuzzleHttp\Handler\CurlFactory->create(Object, Array) (Line: 39)
GuzzleHttp\Handler\CurlHandler->__invoke(Object, Array) (Line: 28)
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object, Array) (Line: 51)
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object, Array) (Line: 42)
GuzzleHttp\PrepareBodyMiddleware->__invoke(Object, Array) (Line: 30)
GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object, Array) (Line: 68)
GuzzleHttp\RedirectMiddleware->__invoke(Object, Array) (Line: 59)
GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object, Array) (Line: 67)
GuzzleHttp\HandlerStack->__invoke(Object, Array) (Line: 275)
GuzzleHttp\Client->transfer(Object, Array) (Line: 123)
GuzzleHttp\Client->requestAsync('head', 'http://ftp.drupal.org/files/translations/8.x/drupal/drupal-8.2.6.pt-br.po', Array) (Line: 129)
GuzzleHttp\Client->request('head', 'http://ftp.drupal.org/files/translations/8.x/drupal/drupal-8.2.6.pt-br.po', Array) (Line: 87)
GuzzleHttp\Client->__call('head', Array) (Line: 1409)
GuzzleHttp\Client->head('http://ftp.drupal.org/files/translations/8.x/drupal/drupal-8.2.6.pt-br.po') (Line: 1409)
install_check_localization_server('http://ftp.drupal.org/files/translations/8.x/drupal/drupal-8.2.6.pt-br.po') (Line: 1865)
install_check_translations('pt-br', 'http://ftp.drupal.org/files/translations/%core/%project/%project-%versio...') (Line: 1349)
install_download_translation(Array) (Line: 661)
install_run_task(Array, Array) (Line: 539)
install_run_tasks(Array) (Line: 116)
install_drupal(Object) (Line: 44)
Warning: curl_setopt_array(): Array keys must be CURLOPT constants or equivalent integer values in GuzzleHttp\Handler\CurlFactory->create() (line 57 of vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php).
GuzzleHttp\Handler\CurlFactory->create(Object, Array) (Line: 39)
GuzzleHttp\Handler\CurlHandler->__invoke(Object, Array) (Line: 28)
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object, Array) (Line: 51)
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object, Array) (Line: 42)
GuzzleHttp\PrepareBodyMiddleware->__invoke(Object, Array) (Line: 30)
GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object, Array) (Line: 68)
GuzzleHttp\RedirectMiddleware->__invoke(Object, Array) (Line: 59)
GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object, Array) (Line: 67)
GuzzleHttp\HandlerStack->__invoke(Object, Array) (Line: 275)
GuzzleHttp\Client->transfer(Object, Array) (Line: 123)
GuzzleHttp\Client->requestAsync('head', 'http://ftp.drupal.org/files/translations/8.x/drupal/drupal-8.2.6.pt-br.po', Array) (Line: 129)
GuzzleHttp\Client->request('head', 'http://ftp.drupal.org/files/translations/8.x/drupal/drupal-8.2.6.pt-br.po', Array) (Line: 87)
GuzzleHttp\Client->__call('head', Array) (Line: 1409)
GuzzleHttp\Client->head('http://ftp.drupal.org/files/translations/8.x/drupal/drupal-8.2.6.pt-br.po') (Line: 1409)
install_check_localization_server('http://ftp.drupal.org/files/translations/8.x/drupal/drupal-8.2.6.pt-br.po') (Line: 1865)
install_check_translations('pt-br', 'http://ftp.drupal.org/files/translations/%core/%project/%project-%versio...') (Line: 1349)
install_download_translation(Array) (Line: 661)
install_run_task(Array, Array) (Line: 539)
install_run_tasks(Array) (Line: 116)
install_drupal(Object) (Line: 44)
Notice: Use of undefined constant CURLOPT_TIMEOUT_MS - assumed 'CURLOPT_TIMEOUT_MS' in GuzzleHttp\Handler\CurlFactory->applyHandlerOptions() (line 375 of vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php).
GuzzleHttp\Handler\CurlFactory->applyHandlerOptions(Object, Array) (Line: 44)
GuzzleHttp\Handler\CurlFactory->create(Object, Array) (Line: 39)
GuzzleHttp\Handler\CurlHandler->__invoke(Object, Array) (Line: 493)
GuzzleHttp\Handler\CurlFactory::retryFailedRewind(Object, Object, Array) (Line: 147)
GuzzleHttp\Handler\CurlFactory::finishError(Object, Object, Object) (Line: 103)
GuzzleHttp\Handler\CurlFactory::finish(Object, Object, Object) (Line: 43)
GuzzleHttp\Handler\CurlHandler->__invoke(Object, Array) (Line: 28)
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object, Array) (Line: 51)
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object, Array) (Line: 42)
GuzzleHttp\PrepareBodyMiddleware->__invoke(Object, Array) (Line: 30)
GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object, Array) (Line: 68)
GuzzleHttp\RedirectMiddleware->__invoke(Object, Array) (Line: 59)
GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object, Array) (Line: 67)
GuzzleHttp\HandlerStack->__invoke(Object, Array) (Line: 275)
GuzzleHttp\Client->transfer(Object, Array) (Line: 123)
GuzzleHttp\Client->requestAsync('head', 'http://ftp.drupal.org/files/translations/8.x/drupal/drupal-8.2.6.pt-br.po', Array) (Line: 129)
GuzzleHttp\Client->request('head', 'http://ftp.drupal.org/files/translations/8.x/drupal/drupal-8.2.6.pt-br.po', Array) (Line: 87)
GuzzleHttp\Client->__call('head', Array) (Line: 1409)
GuzzleHttp\Client->head('http://ftp.drupal.org/files/translations/8.x/drupal/drupal-8.2.6.pt-br.po') (Line: 1409)
install_check_localization_server('http://ftp.drupal.org/files/translations/8.x/drupal/drupal-8.2.6.pt-br.po') (Line: 1865)
install_check_translations('pt-br', 'http://ftp.drupal.org/files/translations/%core/%project/%project-%versio...') (Line: 1349)
install_download_translation(Array) (Line: 661)
install_run_task(Array, Array) (Line: 539)
install_run_tasks(Array) (Line: 116)
install_drupal(Object) (Line: 44)
Warning: curl_setopt_array(): Array keys must be CURLOPT constants or equivalent integer values in GuzzleHttp\Handler\CurlFactory->create() (line 57 of vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php).
GuzzleHttp\Handler\CurlFactory->create(Object, Array) (Line: 39)
GuzzleHttp\Handler\CurlHandler->__invoke(Object, Array) (Line: 493)
GuzzleHttp\Handler\CurlFactory::retryFailedRewind(Object, Object, Array) (Line: 147)
GuzzleHttp\Handler\CurlFactory::finishError(Object, Object, Object) (Line: 103)
GuzzleHttp\Handler\CurlFactory::finish(Object, Object, Object) (Line: 43)
GuzzleHttp\Handler\CurlHandler->__invoke(Object, Array) (Line: 28)
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object, Array) (Line: 51)
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object, Array) (Line: 42)
GuzzleHttp\PrepareBodyMiddleware->__invoke(Object, Array) (Line: 30)
GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object, Array) (Line: 68)
GuzzleHttp\RedirectMiddleware->__invoke(Object, Array) (Line: 59)
GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object, Array) (Line: 67)
GuzzleHttp\HandlerStack->__invoke(Object, Array) (Line: 275)
GuzzleHttp\Client->transfer(Object, Array) (Line: 123)
GuzzleHttp\Client->requestAsync('head', 'http://ftp.drupal.org/files/translations/8.x/drupal/drupal-8.2.6.pt-br.po', Array) (Line: 129)
GuzzleHttp\Client->request('head', 'http://ftp.drupal.org/files/translations/8.x/drupal/drupal-8.2.6.pt-br.po', Array) (Line: 87)
GuzzleHttp\Client->__call('head', Array) (Line: 1409)
GuzzleHttp\Client->head('http://ftp.drupal.org/files/translations/8.x/drupal/drupal-8.2.6.pt-br.po') (Line: 1409)
install_check_localization_server('http://ftp.drupal.org/files/translations/8.x/drupal/drupal-8.2.6.pt-br.po') (Line: 1865)
install_check_translations('pt-br', 'http://ftp.drupal.org/files/translations/%core/%project/%project-%versio...') (Line: 1349)
install_download_translation(Array) (Line: 661)
install_run_task(Array, Array) (Line: 539)
install_run_tasks(Array) (Line: 116)
install_drupal(Object) (Line: 44)
Notice: Use of undefined constant CURLOPT_TIMEOUT_MS - assumed 'CURLOPT_TIMEOUT_MS' in GuzzleHttp\Handler\CurlFactory->applyHandlerOptions() (line 375 of vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php).
GuzzleHttp\Handler\CurlFactory->applyHandlerOptions(Object, Array) (Line: 44)
GuzzleHttp\Handler\CurlFactory->create(Object, Array) (Line: 39)
GuzzleHttp\Handler\CurlHandler->__invoke(Object, Array) (Line: 493)
GuzzleHttp\Handler\CurlFactory::retryFailedRewind(Object, Object, Array) (Line: 147)
GuzzleHttp\Handler\CurlFactory::finishError(Object, Object, Object) (Line: 103)
GuzzleHttp\Handler\CurlFactory::finish(Object, Object, Object) (Line: 43)
GuzzleHttp\Handler\CurlHandler->__invoke(Object, Array) (Line: 493)
GuzzleHttp\Handler\CurlFactory::retryFailedRewind(Object, Object, Array) (Line: 147)
GuzzleHttp\Handler\CurlFactory::finishError(Object, Object, Object) (Line: 103)
GuzzleHttp\Handler\CurlFactory::finish(Object, Object, Object) (Line: 43)
GuzzleHttp\Handler\CurlHandler->__invoke(Object, Array) (Line: 28)
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object, Array) (Line: 51)
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object, Array) (Line: 42)
GuzzleHttp\PrepareBodyMiddleware->__invoke(Object, Array) (Line: 30)
GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object, Array) (Line: 68)
GuzzleHttp\RedirectMiddleware->__invoke(Object, Array) (Line: 59)
GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object, Array) (Line: 67)
GuzzleHttp\HandlerStack->__invoke(Object, Array) (Line: 275)
GuzzleHttp\Client->transfer(Object, Array) (Line: 123)
GuzzleHttp\Client->requestAsync('head', 'http://ftp.drupal.org/files/translations/8.x/drupal/drupal-8.2.6.pt-br.po', Array) (Line: 129)
GuzzleHttp\Client->request('head', 'http://ftp.drupal.org/files/translations/8.x/drupal/drupal-8.2.6.pt-br.po', Array) (Line: 87)
GuzzleHttp\Client->__call('head', Array) (Line: 1409)
GuzzleHttp\Client->head('http://ftp.drupal.org/files/translations/8.x/drupal/drupal-8.2.6.pt-br.po') (Line: 1409)
install_check_localization_server('http://ftp.drupal.org/files/translations/8.x/drupal/drupal-8.2.6.pt-br.po') (Line: 1865)
install_check_translations('pt-br', 'http://ftp.drupal.org/files/translations/%core/%project/%project-%versio...') (Line: 1349)
install_download_translation(Array) (Line: 661)
install_run_task(Array, Array) (Line: 539)
install_run_tasks(Array) (Line: 116)
install_drupal(Object) (Line: 44)
Warning: curl_setopt_array(): Array keys must be CURLOPT constants or equivalent integer values in GuzzleHttp\Handler\CurlFactory->create() (line 57 of vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php).
GuzzleHttp\Handler\CurlFactory->create(Object, Array) (Line: 39)
GuzzleHttp\Handler\CurlHandler->__invoke(Object, Array) (Line: 493)
GuzzleHttp\Handler\CurlFactory::retryFailedRewind(Object, Object, Array) (Line: 147)
GuzzleHttp\Handler\CurlFactory::finishError(Object, Object, Object) (Line: 103)
GuzzleHttp\Handler\CurlFactory::finish(Object, Object, Object) (Line: 43)
GuzzleHttp\Handler\CurlHandler->__invoke(Object, Array) (Line: 493)
GuzzleHttp\Handler\CurlFactory::retryFailedRewind(Object, Object, Array) (Line: 147)
GuzzleHttp\Handler\CurlFactory::finishError(Object, Object, Object) (Line: 103)
GuzzleHttp\Handler\CurlFactory::finish(Object, Object, Object) (Line: 43)
GuzzleHttp\Handler\CurlHandler->__invoke(Object, Array) (Line: 28)
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object, Array) (Line: 51)
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object, Array) (Line: 42)
GuzzleHttp\PrepareBodyMiddleware->__invoke(Object, Array) (Line: 30)
GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object, Array) (Line: 68)
GuzzleHttp\RedirectMiddleware->__invoke(Object, Array) (Line: 59)
GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object, Array) (Line: 67)
GuzzleHttp\HandlerStack->__invoke(Object, Array) (Line: 275)
GuzzleHttp\Client->transfer(Object, Array) (Line: 123)
GuzzleHttp\Client->requestAsync('head', 'http://ftp.drupal.org/files/translations/8.x/drupal/drupal-8.2.6.pt-br.po', Array) (Line: 129)
GuzzleHttp\Client->request('head', 'http://ftp.drupal.org/files/translations/8.x/drupal/drupal-8.2.6.pt-br.po', Array) (Line: 87)
GuzzleHttp\Client->__call('head', Array) (Line: 1409)
GuzzleHttp\Client->head('http://ftp.drupal.org/files/translations/8.x/drupal/drupal-8.2.6.pt-br.po') (Line: 1409)
install_check_localization_server('http://ftp.drupal.org/files/translations/8.x/drupal/drupal-8.2.6.pt-br.po') (Line: 1865)
install_check_translations('pt-br', 'http://ftp.drupal.org/files/translations/%core/%project/%project-%versio...') (Line: 1349)
install_download_translation(Array) (Line: 661)
install_run_task(Array, Array) (Line: 539)
install_run_tasks(Array) (Line: 116)
install_drupal(Object) (Line: 44)
Notice: Use of undefined constant CURLOPT_TIMEOUT_MS - assumed 'CURLOPT_TIMEOUT_MS' in GuzzleHttp\Handler\CurlFactory->applyHandlerOptions() (line 375 of vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php).
GuzzleHttp\Handler\CurlFactory->applyHandlerOptions(Object, Array) (Line: 44)
GuzzleHttp\Handler\CurlFactory->create(Object, Array) (Line: 39)
GuzzleHttp\Handler\CurlHandler->__invoke(Object, Array) (Line: 28)
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object, Array) (Line: 51)
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object, Array) (Line: 42)
GuzzleHttp\PrepareBodyMiddleware->__invoke(Object, Array) (Line: 30)
GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object, Array) (Line: 68)
GuzzleHttp\RedirectMiddleware->__invoke(Object, Array) (Line: 59)
GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object, Array) (Line: 67)
GuzzleHttp\HandlerStack->__invoke(Object, Array) (Line: 275)
GuzzleHttp\Client->transfer(Object, Array) (Line: 123)
GuzzleHttp\Client->requestAsync('head', 'http://ftp.drupal.org', Array) (Line: 129)
GuzzleHttp\Client->request('head', 'http://ftp.drupal.org', Array) (Line: 87)
GuzzleHttp\Client->__call('head', Array) (Line: 1409)
GuzzleHttp\Client->head('http://ftp.drupal.org') (Line: 1409)
install_check_localization_server('http://ftp.drupal.org') (Line: 1869)
install_check_translations('pt-br', 'http://ftp.drupal.org/files/translations/%core/%project/%project-%versio...') (Line: 1349)
install_download_translation(Array) (Line: 661)
install_run_task(Array, Array) (Line: 539)
install_run_tasks(Array) (Line: 116)
install_drupal(Object) (Line: 44)
Warning: curl_setopt_array(): Array keys must be CURLOPT constants or equivalent integer values in GuzzleHttp\Handler\CurlFactory->create() (line 57 of vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php).
GuzzleHttp\Handler\CurlFactory->create(Object, Array) (Line: 39)
GuzzleHttp\Handler\CurlHandler->__invoke(Object, Array) (Line: 28)
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object, Array) (Line: 51)
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object, Array) (Line: 42)
GuzzleHttp\PrepareBodyMiddleware->__invoke(Object, Array) (Line: 30)
GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object, Array) (Line: 68)
GuzzleHttp\RedirectMiddleware->__invoke(Object, Array) (Line: 59)
GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object, Array) (Line: 67)
GuzzleHttp\HandlerStack->__invoke(Object, Array) (Line: 275)
GuzzleHttp\Client->transfer(Object, Array) (Line: 123)
GuzzleHttp\Client->requestAsync('head', 'http://ftp.drupal.org', Array) (Line: 129)
GuzzleHttp\Client->request('head', 'http://ftp.drupal.org', Array) (Line: 87)
GuzzleHttp\Client->__call('head', Array) (Line: 1409)
GuzzleHttp\Client->head('http://ftp.drupal.org') (Line: 1409)
install_check_localization_server('http://ftp.drupal.org') (Line: 1869)
install_check_translations('pt-br', 'http://ftp.drupal.org/files/translations/%core/%project/%project-%versio...') (Line: 1349)
install_download_translation(Array) (Line: 661)
install_run_task(Array, Array) (Line: 539)
install_run_tasks(Array) (Line: 116)
install_drupal(Object) (Line: 44)
Notice: Use of undefined constant CURLOPT_TIMEOUT_MS - assumed 'CURLOPT_TIMEOUT_MS' in GuzzleHttp\Handler\CurlFactory->applyHandlerOptions() (line 375 of vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php).
GuzzleHttp\Handler\CurlFactory->applyHandlerOptions(Object, Array) (Line: 44)
GuzzleHttp\Handler\CurlFactory->create(Object, Array) (Line: 39)
GuzzleHttp\Handler\CurlHandler->__invoke(Object, Array) (Line: 493)
GuzzleHttp\Handler\CurlFactory::retryFailedRewind(Object, Object, Array) (Line: 147)
GuzzleHttp\Handler\CurlFactory::finishError(Object, Object, Object) (Line: 103)
GuzzleHttp\Handler\CurlFactory::finish(Object, Object, Object) (Line: 43)
GuzzleHttp\Handler\CurlHandler->__invoke(Object, Array) (Line: 28)
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object, Array) (Line: 51)
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object, Array) (Line: 42)
GuzzleHttp\PrepareBodyMiddleware->__invoke(Object, Array) (Line: 30)
GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object, Array) (Line: 68)
GuzzleHttp\RedirectMiddleware->__invoke(Object, Array) (Line: 59)
GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object, Array) (Line: 67)
GuzzleHttp\HandlerStack->__invoke(Object, Array) (Line: 275)
GuzzleHttp\Client->transfer(Object, Array) (Line: 123)
GuzzleHttp\Client->requestAsync('head', 'http://ftp.drupal.org', Array) (Line: 129)
GuzzleHttp\Client->request('head', 'http://ftp.drupal.org', Array) (Line: 87)
GuzzleHttp\Client->__call('head', Array) (Line: 1409)
GuzzleHttp\Client->head('http://ftp.drupal.org') (Line: 1409)
install_check_localization_server('http://ftp.drupal.org') (Line: 1869)
install_check_translations('pt-br', 'http://ftp.drupal.org/files/translations/%core/%project/%project-%versio...') (Line: 1349)
install_download_translation(Array) (Line: 661)
install_run_task(Array, Array) (Line: 539)
install_run_tasks(Array) (Line: 116)
install_drupal(Object) (Line: 44)
Warning: curl_setopt_array(): Array keys must be CURLOPT constants or equivalent integer values in GuzzleHttp\Handler\CurlFactory->create() (line 57 of vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php).
GuzzleHttp\Handler\CurlFactory->create(Object, Array) (Line: 39)
GuzzleHttp\Handler\CurlHandler->__invoke(Object, Array) (Line: 493)
GuzzleHttp\Handler\CurlFactory::retryFailedRewind(Object, Object, Array) (Line: 147)
GuzzleHttp\Handler\CurlFactory::finishError(Object, Object, Object) (Line: 103)
GuzzleHttp\Handler\CurlFactory::finish(Object, Object, Object) (Line: 43)
GuzzleHttp\Handler\CurlHandler->__invoke(Object, Array) (Line: 28)
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object, Array) (Line: 51)
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object, Array) (Line: 42)
GuzzleHttp\PrepareBodyMiddleware->__invoke(Object, Array) (Line: 30)
GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object, Array) (Line: 68)
GuzzleHttp\RedirectMiddleware->__invoke(Object, Array) (Line: 59)
GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object, Array) (Line: 67)
GuzzleHttp\HandlerStack->__invoke(Object, Array) (Line: 275)
GuzzleHttp\Client->transfer(Object, Array) (Line: 123)
GuzzleHttp\Client->requestAsync('head', 'http://ftp.drupal.org', Array) (Line: 129)
GuzzleHttp\Client->request('head', 'http://ftp.drupal.org', Array) (Line: 87)
GuzzleHttp\Client->__call('head', Array) (Line: 1409)
GuzzleHttp\Client->head('http://ftp.drupal.org') (Line: 1409)
install_check_localization_server('http://ftp.drupal.org') (Line: 1869)
install_check_translations('pt-br', 'http://ftp.drupal.org/files/translations/%core/%project/%project-%versio...') (Line: 1349)
install_download_translation(Array) (Line: 661)
install_run_task(Array, Array) (Line: 539)
install_run_tasks(Array) (Line: 116)
install_drupal(Object) (Line: 44)
Notice: Use of undefined constant CURLOPT_TIMEOUT_MS - assumed 'CURLOPT_TIMEOUT_MS' in GuzzleHttp\Handler\CurlFactory->applyHandlerOptions() (line 375 of vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php).
GuzzleHttp\Handler\CurlFactory->applyHandlerOptions(Object, Array) (Line: 44)
GuzzleHttp\Handler\CurlFactory->create(Object, Array) (Line: 39)
GuzzleHttp\Handler\CurlHandler->__invoke(Object, Array) (Line: 493)
GuzzleHttp\Handler\CurlFactory::retryFailedRewind(Object, Object, Array) (Line: 147)
GuzzleHttp\Handler\CurlFactory::finishError(Object, Object, Object) (Line: 103)
GuzzleHttp\Handler\CurlFactory::finish(Object, Object, Object) (Line: 43)
GuzzleHttp\Handler\CurlHandler->__invoke(Object, Array) (Line: 493)
GuzzleHttp\Handler\CurlFactory::retryFailedRewind(Object, Object, Array) (Line: 147)
GuzzleHttp\Handler\CurlFactory::finishError(Object, Object, Object) (Line: 103)
GuzzleHttp\Handler\CurlFactory::finish(Object, Object, Object) (Line: 43)
GuzzleHttp\Handler\CurlHandler->__invoke(Object, Array) (Line: 28)
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object, Array) (Line: 51)
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object, Array) (Line: 42)
GuzzleHttp\PrepareBodyMiddleware->__invoke(Object, Array) (Line: 30)
GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object, Array) (Line: 68)
GuzzleHttp\RedirectMiddleware->__invoke(Object, Array) (Line: 59)
GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object, Array) (Line: 67)
GuzzleHttp\HandlerStack->__invoke(Object, Array) (Line: 275)
GuzzleHttp\Client->transfer(Object, Array) (Line: 123)
GuzzleHttp\Client->requestAsync('head', 'http://ftp.drupal.org', Array) (Line: 129)
GuzzleHttp\Client->request('head', 'http://ftp.drupal.org', Array) (Line: 87)
GuzzleHttp\Client->__call('head', Array) (Line: 1409)
GuzzleHttp\Client->head('http://ftp.drupal.org') (Line: 1409)
install_check_localization_server('http://ftp.drupal.org') (Line: 1869)
install_check_translations('pt-br', 'http://ftp.drupal.org/files/translations/%core/%project/%project-%versio...') (Line: 1349)
install_download_translation(Array) (Line: 661)
install_run_task(Array, Array) (Line: 539)
install_run_tasks(Array) (Line: 116)
install_drupal(Object) (Line: 44)
Warning: curl_setopt_array(): Array keys must be CURLOPT constants or equivalent integer values in GuzzleHttp\Handler\CurlFactory->create() (line 57 of vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php).
GuzzleHttp\Handler\CurlFactory->create(Object, Array) (Line: 39)
GuzzleHttp\Handler\CurlHandler->__invoke(Object, Array) (Line: 493)
GuzzleHttp\Handler\CurlFactory::retryFailedRewind(Object, Object, Array) (Line: 147)
GuzzleHttp\Handler\CurlFactory::finishError(Object, Object, Object) (Line: 103)
GuzzleHttp\Handler\CurlFactory::finish(Object, Object, Object) (Line: 43)
GuzzleHttp\Handler\CurlHandler->__invoke(Object, Array) (Line: 493)
GuzzleHttp\Handler\CurlFactory::retryFailedRewind(Object, Object, Array) (Line: 147)
GuzzleHttp\Handler\CurlFactory::finishError(Object, Object, Object) (Line: 103)
GuzzleHttp\Handler\CurlFactory::finish(Object, Object, Object) (Line: 43)
GuzzleHttp\Handler\CurlHandler->__invoke(Object, Array) (Line: 28)
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object, Array) (Line: 51)
GuzzleHttp\Handler\Proxy::GuzzleHttp\Handler\{closure}(Object, Array) (Line: 42)
GuzzleHttp\PrepareBodyMiddleware->__invoke(Object, Array) (Line: 30)
GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object, Array) (Line: 68)
GuzzleHttp\RedirectMiddleware->__invoke(Object, Array) (Line: 59)
GuzzleHttp\Middleware::GuzzleHttp\{closure}(Object, Array) (Line: 67)
GuzzleHttp\HandlerStack->__invoke(Object, Array) (Line: 275)
GuzzleHttp\Client->transfer(Object, Array) (Line: 123)
GuzzleHttp\Client->requestAsync('head', 'http://ftp.drupal.org', Array) (Line: 129)
GuzzleHttp\Client->request('head', 'http://ftp.drupal.org', Array) (Line: 87)
GuzzleHttp\Client->__call('head', Array) (Line: 1409)
GuzzleHttp\Client->head('http://ftp.drupal.org') (Line: 1409)
install_check_localization_server('http://ftp.drupal.org') (Line: 1869)
install_check_translations('pt-br', 'http://ftp.drupal.org/files/translations/%core/%project/%project-%versio...') (Line: 1349)
install_download_translation(Array) (Line: 661)
install_run_task(Array, Array) (Line: 539)
install_run_tasks(Array) (Line: 116)
install_drupal(Object) (Line: 44)
Translations directory The directory sites/default/files/translations exists.
Translations directory The translations directory is writable.
Error Internet The translation server is offline.
The installer requires to contact the translation server to download a translation file. Check your internet connection and verify that your website can reach the translation server at http://ftp.drupal.org.
Check the messages and try again.

Version: 8.2.6 » 8.2.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.

Version: 8.2.x-dev » 8.9.x-dev

Drupal 8.8.7 was released on June 3, 2020 and is the final full bugfix release for the Drupal 8.8.x series. Branches prior to 8.8.x are not supported, and Drupal 8.8.x will not receive any further development aside from security fixes. Sites should prepare to update to Drupal 8.9.0 or Drupal 9.0.0 for ongoing support.

Bug reports should be targeted against the 8.9.x-dev branch from now on, and new development or disruptive changes should be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

avpaderno’s picture

Assigned: taysam » Unassigned
Issue tags: -Requirements problem

Version: 8.9.x-dev » 9.2.x-dev

Drupal 8 is end-of-life as of November 17, 2021. There will not be further changes made to Drupal 8. Bugfixes are now made to the 9.3.x and higher branches only. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.2.x-dev » 9.3.x-dev

Version: 9.3.x-dev » 9.4.x-dev

Drupal 9.3.15 was released on June 1st, 2022 and is the final full bugfix release for the Drupal 9.3.x series. Drupal 9.3.x will not receive any further development aside from security fixes. Drupal 9 bug reports should be targeted for the 9.4.x-dev branch from now on, and new development or disruptive changes should be targeted for the 9.5.x-dev branch. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

quietone’s picture

Status: Needs review » Closed (outdated)
Issue tags: +Bug Smash Initiative

@kwolfdrupal, Thank you for reporting this problem. We rely on issue reports like this to improve Drupal core.

The reports of this problem are on Drupal 8, which is now EOL. I tested this using ddev by disabling the php curl module and I also did 'apt remove curl' to be sure. I then started the install in a language other than English and the translations were downloaded.

Therefore, closing as outdated. If this is incorrect reopen the issue, by setting the status to 'Active', and add a comment explaining what still needs to be done.

Thanks!