?
avatar milux
milux
7 Nov 2016

Steps to reproduce the issue

Setup test environment with XAMPP on Windows, using Joomla 3.6.2.
Try to update to latest version using the built-in updater.

Expected result

Successful update to 3.6.4

Actual result

With "simple" error output:
Warning: file_put_contents(C:\xampp\htdocs\straug\tmp\joomla_3-6-4-stable-update_package-zip?format=zip&jcompat=my.zip): failed to open stream: No such file or directory in C:\xampp\htdocs\straug\libraries\joomla\filesystem\file.php on line 435

System information (as much as possible)

XAMPP test environment with PHP 7.0.10 on Windows 10 x64.

Additional comments

The problem is likely caused by "?" of the query string, being an invalid character for filenames on Windows.
I will submit a pull request which fixes this by resolving the actual filename, following the "Location" HTTP headers to the real download location on AWS.

avatar milux milux - open - 7 Nov 2016
avatar joomla-cms-bot joomla-cms-bot - change - 7 Nov 2016
Labels Added: ?
avatar mbabker
mbabker - comment - 7 Nov 2016

Additional context: joomla/joomla-websites#742

avatar milux milux - change - 7 Nov 2016
Title
Update seems 3.6.2 to 3.6.4 broken in Windows environment
Update 3.6.2 to 3.6.4 seems broken in Windows environment
avatar milux milux - edited - 7 Nov 2016
avatar milux milux - change - 7 Nov 2016
Title
Update seems 3.6.2 to 3.6.4 broken in Windows environment
Update 3.6.2 to 3.6.4 seems broken in Windows environment
avatar milux
milux - comment - 7 Nov 2016

@mbabker: Thanks, thought that I surely wasn't the first person to face this issue, but overlooked this issue when searching.

avatar jeckodevelopment
jeckodevelopment - comment - 8 Nov 2016

Closed since we have a PR for this: #12817

avatar jeckodevelopment jeckodevelopment - change - 8 Nov 2016
Status New Closed
Closed_Date 0000-00-00 00:00:00 2016-11-08 00:18:45
Closed_By jeckodevelopment
avatar jeckodevelopment jeckodevelopment - close - 8 Nov 2016

Add a Comment

Login with GitHub to post a comment