?
avatar peterpeter
peterpeter
21 Nov 2016

Hi Folks

Found an issue on updating/reinstalling Joomla on my localhost (Win7/64, PHP 5.5.11 ) and need confirmation.

As the URL to the update package as now a query in it, the updating routine tries to save a file from

https://downloads.joomla.org/cms/joomla3/3-6-4/joomla_3-6-4-stable-update_package-zip?format=zip&jcompat=my.zip

to the $target
C:/Users/roger/Websites/joomla/kunden/joomlasite/tmp/joomla_3-6-4-stable-update_package-zip?format=zip&jcompat=my.zip

The file_puts_content in JFile::write fails and returns false (not catched nor logged).
(administrator/components/com_joomlaupdate/models/default.php:323)

Is this just on my system, or does the file_put_contents function on Win-PHP having a problem with queries in a
filename in general?

Now, to update a Joomla on localhost, I have to download the package manually, copy it to the tmp folder, start the debugger and correct the package filename, in models download method.

Can someone confirm that behaviour?

Steps to reproduce the issue

Reinstall a Joomla 3.6.4 on Win7/64 localhost, if posible with PHP 5.5.11

Expected result

Reinstall Joomla successful, at least catch and log the false from the JFiles::write() with a more informative message

Actual result

Reinstalling fails with the general (java script-) error 'The archive file is corrupt, truncated or archive parts are missing'

System information (as much as possible)

win7/64 - PHP 5.5.11 - on localhost/xampp
screen shot 2016-11-21 at 05 30 22

avatar peterpeter peterpeter - open - 21 Nov 2016
avatar zero-24
zero-24 - comment - 21 Nov 2016

@peterpeter please try with this patch applyed: #12817

avatar peterpeter
peterpeter - comment - 21 Nov 2016

Will test it at evening, thanks.

avatar zero-24
zero-24 - comment - 21 Nov 2016

?

avatar peterpeter peterpeter - change - 22 Nov 2016
Status New Closed
Closed_Date 0000-00-00 00:00:00 2016-11-22 07:34:21
Closed_By peterpeter
avatar peterpeter peterpeter - close - 22 Nov 2016
avatar peterpeter
peterpeter - comment - 22 Nov 2016

As this patch is allready merged, I tested this with the staging branch, and it worked well now.

Thanks ?

avatar theonesp
theonesp - comment - 6 Feb 2017

Hello, I'm getting the 'The archive file is corrupt, truncated or archive parts are missing' error for the last joomla update: 3.6.5

How should I proceed?

avatar zero-24
zero-24 - comment - 6 Feb 2017

Please retry it. If there is still a issue please move this question to a Joomla Forum. You can also download the update manually and upload it using the manual update in com_joomlaupdate

avatar theonesp
theonesp - comment - 6 Feb 2017

Could you let me known the steps for performing a manual update?

Thanks!

On Monday, 6 February 2017, zero-24 notifications@github.com wrote:

Please retry it. If there is still a issue please move this question to a
Joomla Forum. You can also download the update manually and upload it using
the manual update in com_joomlaupdate


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#12955 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH-Y_pwHf2PqT8_qNYLZdRG2Art288z5ks5rZ1uWgaJpZM4K4Fvn
.

--
Miguel


[image: MIT][image: imes]

*Miguel Ángel Armengol de la Hoz * maarmeng@mit.edu / Sponsored Research
Fellow
*MIT - Institute for Medical Engineering and Science *
Laboratory for Computational Physiology
MIT, E25-505 - 77 Massachusetts Ave.
Cambridge, MA 02139

avatar zero-24
zero-24 - comment - 6 Feb 2017

Download the last package (here 3.6.5) from https://downloads.joomla.org/cms/joomla3/3-6-5/joomla_3-6-5-stable-update_package-zip?format=zip
Go to your Backend -> Components -> Joomla! Update -> Upload & Update -> Upload your package there -> Confirm your User / PW -> done.

avatar theonesp
theonesp - comment - 6 Feb 2017

Sorry, after Joomla! Update can't find the Upload & Update section:

[image: Imágenes integradas 1]

Miguel


[image: MIT][image: imes]

*Miguel Ángel Armengol de la Hoz * maarmeng@mit.edu / Sponsored Research
Fellow
*MIT - Institute for Medical Engineering and Science *
Laboratory for Computational Physiology
MIT, E25-505 - 77 Massachusetts Ave.
Cambridge, MA 02139

2017-02-06 14:30 GMT-05:00 zero-24 notifications@github.com:

Download the last package (here 3.6.5) from https://downloads.joomla.org/
cms/joomla3/3-6-5/joomla_3-6-5-stable-update_package-zip?format=zip
Go to your Backend -> Components -> Joomla! Update -> Upload & Update ->
Upload your package there -> Confirm your User / PW -> done.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#12955 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH-Y_vfRU2rxd6gWXS8H4z3P2rwXEKIOks5rZ3TegaJpZM4K4Fvn
.

avatar zero-24
zero-24 - comment - 6 Feb 2017

[image: Imágenes integradas 1]

There is not image attached

avatar theonesp
theonesp - comment - 6 Feb 2017

Sorry, what about now?

Miguel


[image: MIT][image: imes]

*Miguel Ángel Armengol de la Hoz * maarmeng@mit.edu / Sponsored Research
Fellow
*MIT - Institute for Medical Engineering and Science *
Laboratory for Computational Physiology
MIT, E25-505 - 77 Massachusetts Ave.
Cambridge, MA 02139

2017-02-06 14:43 GMT-05:00 zero-24 notifications@github.com:

[image: Imágenes integradas 1]

There is not image attached


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#12955 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH-Y_lqv_IPsYawnEvHgd7lVb3g4LTI6ks5rZ3fVgaJpZM4K4Fvn
.

avatar theonesp
theonesp - comment - 7 Feb 2017

Hello?
after Joomla! Update can't find the Upload & Update section:

Miguel


[image: MIT][image: imes]

*Miguel Ángel Armengol de la Hoz * maarmeng@mit.edu / Sponsored Research
Fellow
*MIT - Institute for Medical Engineering and Science *
Laboratory for Computational Physiology
MIT, E25-505 - 77 Massachusetts Ave.
Cambridge, MA 02139

2017-02-06 14:46 GMT-05:00 Miguel Ángel Armengol de la Hoz <maarmeng@mit.edu

:

Sorry, what about now?

Miguel


[image: MIT][image: imes]

*Miguel Ángel Armengol de la Hoz * maarmeng@mit.edu / Sponsored Research
Fellow
*MIT - Institute for Medical Engineering and Science *
Laboratory for Computational Physiology
MIT, E25-505 - 77 Massachusetts Ave.
Cambridge, MA 02139

2017-02-06 14:43 GMT-05:00 zero-24 notifications@github.com:

[image: Imágenes integradas 1]

There is not image attached


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#12955 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH-Y_lqv_IPsYawnEvHgd7lVb3g4LTI6ks5rZ3fVgaJpZM4K4Fvn
.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 7 Feb 2017

You don't get this Tab?
1

avatar theonesp
theonesp - comment - 7 Feb 2017

No, I have

Installed Joomla version 3.4.4, might this be an issue?

Miguel


[image: MIT][image: imes]

*Miguel Ángel Armengol de la Hoz * maarmeng@mit.edu / Sponsored Research
Fellow
*MIT - Institute for Medical Engineering and Science *
Laboratory for Computational Physiology
MIT, E25-505 - 77 Massachusetts Ave.
Cambridge, MA 02139

2017-02-07 9:39 GMT-05:00 Franz Wohlkönig notifications@github.com:

You don't get this Tab?
[image: 1]
https://cloud.githubusercontent.com/assets/8235763/22695538/5e9eba18-ed4b-11e6-9e82-10d699d22ba7.JPG


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#12955 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH-Y_g5CVmc7XqszDz1c9hTkRoaMp-Bkks5raIIOgaJpZM4K4Fvn
.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 7 Feb 2017

I would for Security-Reason Update on latest stable Release

avatar theonesp
theonesp - comment - 7 Feb 2017

the problem is I can't update!!!! hahaha
that is the reason why I am writing... Joomla won't let me do it

Miguel


[image: MIT][image: imes]

*Miguel Ángel Armengol de la Hoz * maarmeng@mit.edu / Sponsored Research
Fellow
*MIT - Institute for Medical Engineering and Science *
Laboratory for Computational Physiology
MIT, E25-505 - 77 Massachusetts Ave.
Cambridge, MA 02139

2017-02-07 10:01 GMT-05:00 Franz Wohlkönig notifications@github.com:

I would for Security-Reason Update on latest stable Release
https://github.com/joomla/joomla-cms/releases/tag/3.6.5


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#12955 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH-Y_ij37jk9R8EFVAeimqX1-jH0yUdgks5raIdcgaJpZM4K4Fvn
.

avatar franz-wohlkoenig
franz-wohlkoenig - comment - 7 Feb 2017

Then please ask at forums, this repository concerns Joomla coding.

Add a Comment

Login with GitHub to post a comment