? ? ?
avatar toivo
toivo
11 Dec 2020

Steps to reproduce the issue

Install J4 Beta6-dev Full version of 11 December from Nightly Builds.
Download J4 Beta6-dev Update of 11 December from Nightly Builds.
Go to System - Global Configuration – Server and set Error Reporting to ‘Maximum’.
Select 'Yes' in Logging - Log Almost Everything.
Run System – Update – Joomla – Upload & Update

Expected result

Joomla! Update is completed.

Actual result

Joomla! Update reports an error at 90%
ERROR: Invalid AJAX data
Fatal error: Uncaught ValueError: Path cannot be empty in C:\www\joomla4\administrator\com_joomlaupdate\restore.php:874
Stack trace attached.

System information (as much as possible)

Windows 10, Wampserver 3.2.4
Apache 2.4.46a, MySQL 8.0.22, PHP 8.0.0

Additional comments

The same update works all right in PHP 7.4.13.
Stack Trace
screen shot 2020-12-11 at 09 32 54
screen shot 2020-12-11 at 09 33 14
screen shot 2020-12-11 at 09 33 39
screen shot 2020-12-11 at 09 34 16

avatar toivo toivo - open - 11 Dec 2020
avatar joomla-cms-bot joomla-cms-bot - labeled - 11 Dec 2020
avatar alikon
alikon - comment - 11 Dec 2020

probably solved in 3.x with #31442 but didn't check yet

avatar alikon alikon - change - 11 Dec 2020
Labels Added: ?
avatar alikon alikon - labeled - 11 Dec 2020
avatar toivo
toivo - comment - 11 Dec 2020

@alikon Just tested Upload & Update in 3.9.24-dev using PHP 8.0.0 and the update finished all right.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31634.

avatar gostn
gostn - comment - 12 Dec 2020

@toivo looks like issue can be closed.

avatar toivo
toivo - comment - 12 Dec 2020

@gostn what makes you think it can be closed? 3.9.24-dev is not Beta6-dev, where is the PR that fixes this issue in J4?


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31634.

avatar gostn
gostn - comment - 12 Dec 2020

probably solved in 3.x with #31442 but didn't check yet
@alikon Just tested Upload & Update in 3.9.24-dev using PHP 8.0.0 and the update finished all right.

thats made me think but overlooked the issue is about j4.

avatar N6REJ N6REJ - change - 12 Dec 2020
Labels Added: ?
avatar N6REJ N6REJ - labeled - 12 Dec 2020
avatar wilsonge
wilsonge - comment - 18 Dec 2020

Can you try testing again since I've merged all the staging code into 4.x

avatar toivo
toivo - comment - 18 Dec 2020

@wilsonge Thanks, now the update using the Upload & Update tab finished all right with today's Beta6-dev update.


This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/31634.

avatar wilsonge wilsonge - change - 18 Dec 2020
Status New Closed
Closed_Date 0000-00-00 00:00:00 2020-12-18 18:02:42
Closed_By wilsonge
avatar wilsonge wilsonge - close - 18 Dec 2020
avatar wilsonge
wilsonge - comment - 18 Dec 2020

Awesome - thanks! I'm going to close this then. We can open a fresh issue in the future because we'll be sure we have the code from staging so it would be an unrelated issue

Add a Comment

Login with GitHub to post a comment