🎯Description of the issue
I've just updated to the latest version (3.13.0) from v3.11.1. However, upon update it appears the database isn't updating correctly.
▶🚶Reproduction steps
PHP ZipArchive class is not enabled in this server / stack trace below
📃Error log message
I've just updated to the latest version (3.13.0) from v3.11.1. However, upon update it appears the database isn't updating correctly.
▶🚶Reproduction steps
- Dashboard > Stats > 3.13.0 (3.11.1 DB) install update – check for updates
- Clicking "Install update" throws an error (see stack trace below)
- Trying /update error's "Can't perform automatic update" > PHP ZipArchive class is not enabled in this server. However, inside PHP PEAR Packages "Archive_Zip" module is installed.
PHP ZipArchive class is not enabled in this server / stack trace below
📃Error log message
Code:
Fatal error [42S02]: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'chv218.redirects' doesn't exist
Triggered in /lib/G/classes/class.db.php at line 180
Stack trace:
#0 /lib/G/classes/class.db.php(180): PDOStatement->execute()
#1 /lib/G/classes/class.db.php(206): G\DB->exec()
#2 /app/lib/classes/class.redirect.php(30): G\DB->fetchSingle()
#3 /app/lib/classes/class.redirect.php(35): CHV\Redirect::get('/install')
#4 /app/lib/classes/class.redirect.php(57): CHV\Redirect::getUrl('/install')
#5 /app/loader.php(780): CHV\Redirect::handle('/install')
#6 /lib/G/classes/class.handler.php(137): CHV\{closure}(G\Handler)
#7 /app/loader.php(788): G\Handler->__construct(Array)
#8 /index.php(20): include_once('/app/loader.php')