developer icon indicating copy to clipboard operation
developer copied to clipboard

[BUG] Updater does not update version in table.

Open AEon-Jan opened this issue 2 years ago • 3 comments

Describe the bug Version is not updated in the Database

To Reproduce Update -> check DB -> Update is still pending

Expected behavior Update will be dismissed when the Database Version is matching the Github version

Will Check on it Later

AEon-Jan avatar Dec 22 '21 13:12 AEon-Jan

Even if the update is Still pending ... it should be installed.

You could add the version manually to the database or just ignore the update button. Until i fixed it

AEon-Jan avatar Dec 22 '21 13:12 AEon-Jan

Already fix.

Open update.php

After that if (versioncheck($version, '6.2.0', 'update_618-620.php', $response)) { $version = '6.2.0'; }

add

if (versioncheck($version, '6.2.0.1', 'update_620-6201.php', $response)) { $version = '6.2.0.1'; } if (versioncheck($version, '6.2.1', 'update_dev_6201-621.php', $response)) { $version = '6.2.1'; }

change if (versioncheck($version, $devVersion, 'update_dev_620-6201.php', $response, true)) { to if (versioncheck($version, $devVersion, 'update_dev_6201-621.php', $response, true)) {

check if you have file . update_dev_6201-621.php open and check if have this

$query = $sql->prepare("INSERT INTO easywi_version (version,de,en) VALUES ('6.2.1','<div align="right">22.12.2021

for me works

4deevspt avatar Jan 02 '22 23:01 4deevspt

Will check that ASAP.

AEon-Jan avatar Feb 04 '22 17:02 AEon-Jan

Fixed

AEon-Jan avatar Jan 10 '23 13:01 AEon-Jan