Monday, February 1, 2016

Drush on Windows localhost: getting "Failed to get available update data from ..." error

Sometimes, when trying to install a new module with Drush on Windows local server, for example, Administration menu module:

>drush en admin_menu -y

you may see an error like:

simplexml_load_file(): I/O warning : failed to load external entity    [warning]

"" Project.php:72
Failed to get available update data from                                 [error]

https://updates.drupal.org/release-history/admin_menu/7.x



To avoid this, uncomment, or add the following line in php.ini file:

extension=php_openssl.dll

and then restart your server.

1 comment:

  1. Thanks for sharing in detail. Your blog is an inspiration! Apart of really useful tips, it's just really ! This post will be effectively Just about everything looks good displayed.
    Angularjs Development Services | node.js development services

    ReplyDelete