Error in upgrade to 2.5.5

Developer
From Iran, Islamic Republic of
Member since nov. 2023

Hello
show this error message when update from 2.5.4 to 2.5.5

Upgrade 2.5.5

Checking PHP version... 8.2.13 [OK]

Checking for PHP extensions... [OK]

Checking application database version... 2.5.4 [OK]

Upgrading database to 2.5.5...
Fatal error: 1060 - Duplicate column name 'priority' ALTER TABLE lcu16q_orders_items ADD COLUMN priority INT(11) NOT NULL DEFAULT 0 AFTER dim_class; in ~/includes/library/lib_database.inc.php (Line 177)

tim
Founder
From Sweden
Member since mai 2013
tim

:( I will research if this column was partially added before this release.
It's not possible that you ran the upgrade twice, no?

Developer
From Iran, Islamic Republic of
Member since nov. 2023

It is likely
I was forced to refresh the page because of the bad state of the Internet lines

more than twice

tim
Founder
From Sweden
Member since mai 2013
tim

When resuming a corrupted upgrade this is the expected outcome.
lcu16q_orders_items.priority already exists because the previous run added it.

Did you manage to resolve this with a backup?

Developer
From Iran, Islamic Republic of
Member since nov. 2023

I have access to phpmyadmin if need to clear the table

Developer
From Iran, Islamic Republic of
Member since nov. 2023

Hello

Install show this error message too:

[quote]Installer
System Requirements

    PHP    5.4 - 8.1 [8.2.13]
    register_globals = off [OK]
    arg_separator.output = & [OK]
    memory_limit = 512M

    Fatal error: Uncaught Error: Call to undefined function return_bytes() in /htdocs/install/index.php:327 Stack trace: #0 {main} thrown in /htdocs/install/index.php on line 327[/quote]

tim
Founder
From Sweden
Member since mai 2013
tim

Very odd, the function is defined in ~/install/includes/functions.inc.php (Line 5) and is included in the script ~/install/index.php (Line 10). So producing an error on line 327 should be impossible. I can't confirm an error, are the files modified by any chance?

[quote]I have access to phpmyadmin if need to clear the table[/quote]
A fresh install will clean any existing tables, but start off with an empty table if you feel you want to restart from scratch.

Developer
From Iran, Islamic Republic of
Member since nov. 2023

Thank you tim

Install  link Problem solved
FileZilla uploaded the file incompletely

But the upgrade problem still remains I wanted to try my luck with softaculous which showed this message

Hmm ... it looks like the actual version of the installation is 2.5.5 and not 2.5.4.
Click here to update Softaculous records.

tim
Founder
From Sweden
Member since mai 2013
tim

Your files are probably 2.5.5 and your database 2.5.4. See the lc_settings mysql table and the key named platform_version. This is updated when an upgrade patch ran successfully.

You
This website uses no cookies and no third party tracking technology. We think we can do better than others and really think about your privacy.