[wp-trac] [WordPress Trac] #38291: Can´t upgrade nor install plugins, wordpress or translations

WordPress Trac noreply at wordpress.org
Wed Oct 12 11:21:34 UTC 2016


#38291: Can´t upgrade nor install plugins, wordpress or translations
-----------------------------+-----------------------------
 Reporter:  lofesa           |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  Upgrade/Install  |    Version:  4.6.1
 Severity:  normal           |   Keywords:
  Focuses:                   |
-----------------------------+-----------------------------
 I allways get the message "Download failed. A valid URL was not provided"
 when I try to reinstall wordpress, update translations, plugins or install
 news plugins. I can do it manually.
 Searched these text message in code files at github, then added a number
 for each for differentiate and find the message becomes from wp-includes
 /class-http.php at line 264.
 I put these code into the "if" condition

 file_put_contents('path(to/the/file/variable.txt',$url,FILE_APPEND);
 file_put_contents('path(to/the/file/variable.txt',$arrURL,FILE_APPEND);

 and allways the variables are empty...but if I put the catch code before
 the if condition get these values

 https://api.wordpress.org/plugins/update-
 check/1.1/httpsapi.wordpress.org/plugins/update-
 check/1.1/http://version.wpbakery.com/?1476267260httpversion.wpbakery.com/1476267260https://api.wordpress.org/themes
 /update-check/1.1/httpsapi.wordpress.org/themes/update-
 check/1.1/https://api.wordpress.org/core/version-
 check/1.7/?version=4.6.1&php=7.0.11&locale=en_US&mysql=5.5.5&local_package=&blogs=1&users=2&multisite_enabled=0&initial_db_version=33056httpsapi.wordpress.org/core
 /version-
 check/1.7/version=4.6.1&php=7.0.11&locale=en_US&mysql=5.5.5&local_package=&blogs=1&users=2&multisite_enabled=0&initial_db_version=33056https://api.wordpress.org/plugins
 /update-check/1.1/httpsapi.wordpress.org/plugins/update-
 check/1.1/http://version.wpbakery.com/?1476267265httpversion.wpbakery.com/1476267265https://api.wordpress.org/core/checksums/1.0/?version=4.6.1&locale=en_UShttpsapi.wordpress.org/core/checksums/1.0/version=4.6.1&locale=en_US

 As you can see some url´s have loss the ":\/\/" between the http(s) and
 the url, I don´t know if this is the expected behaviour, but why the
 varibles are lossing their values between lines 262 and 264?

 I have tried to update/install flushing all caches, disabling all
 plugings, disabling child theme..... and allways get the same message
 "Upgrading from..URL Donwload failed. A valid URL was not provided"

 P.S. Sorry for my bad english.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/38291>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list