Post by clivejo » Tue Oct 11, 2022 7:07 am

When I click the Upgrade button from admin interface, the process seems to get stuck on "Copying files..." It doesn't show any error messages or progress any further no matter how long I leave it.

Only entry in error logs is:

Code: Select all

Error:  Undefined constant ZipArchive::RDONLY
File: /admin/controller/tool/upgrade.php
Line: 155
Anyone shed some light on what is wrong?

Newbie

Posts

Joined
Mon Jun 06, 2022 4:22 am

Post by ADD Creative » Tue Oct 11, 2022 9:38 pm

Could be your PHP version or an issue with your PHP zip extension.

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by soydemadrid » Sat Nov 12, 2022 6:26 pm

Hi have the exact same problem. Here is the error in my logs:

2022-11-12 10:11:01 - TypeError: dirname(): Argument #2 ($levels) must be of type int, string given
File: /public_html/admin/controller/tool/upgrade.php
Line: 171

Newbie

Posts

Joined
Thu May 07, 2015 3:03 pm

Post by ADD Creative » Sat Nov 12, 2022 6:32 pm

soydemadrid wrote:
Sat Nov 12, 2022 6:26 pm
Hi have the exact same problem. Here is the error in my logs:

2022-11-12 10:11:01 - TypeError: dirname(): Argument #2 ($levels) must be of type int, string given
File: /public_html/admin/controller/tool/upgrade.php
Line: 171
Looks like a bug. See. https://github.com/opencart/opencart/pull/11605

www.add-creative.co.uk


Expert Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom
Who is online

Users browsing this forum: No registered users and 1 guest