Error in upgrade to 2.5.5

Developer
Tól től Iran, Islamic Republic of
Tagság nov. 2023 óta

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
Tól től Sweden
Tagság máj. 2013 óta
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
Tól től Iran, Islamic Republic of
Tagság nov. 2023 óta

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

more than twice

tim
Founder
Tól től Sweden
Tagság máj. 2013 óta
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
Tól től Iran, Islamic Republic of
Tagság nov. 2023 óta

I have access to phpmyadmin if need to clear the table

Developer
Tól től Iran, Islamic Republic of
Tagság nov. 2023 óta

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
Tól től Sweden
Tagság máj. 2013 óta
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
Tól től Iran, Islamic Republic of
Tagság nov. 2023 óta

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
Tól től Sweden
Tagság máj. 2013 óta
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.

Te
Ez a weboldal nem használ cookie-kat és nem használ harmadik féltől származó nyomkövetési technológiát. Úgy gondoljuk, hogy jobban tudjuk csinálni, mint mások, és tényleg gondolunk az Ön magánéletére.