Error during install

hgs

Currently only go back to php 8.0.
LG Harald

"Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

rumen

PHP version

~$ php -version
PHP 8.1.2 (cli) (built: Apr  7 2022 17:46:26) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.2, Copyright (c) Zend Technologies
    with Zend OPcache v8.1.2, Copyright (c), by Zend Technologies


What can I do to fix it?

Luisehahne

Seems to be an error that only happens under php version 8.1.x
WB 2.13.1 is testet from php 7.4.x until php 8.0.x.

Dietmar
Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!

rumen

Apache2
PHP 8
MySQL
Localhost - on a local drive
pure brand new instalation

hgs

Can you give us some more information?


       
  • Was it a new installation or upgradeif yes, from which WB version?
  • which php version is running on the server?
LG Harald

"Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

rumen

Hi there,
got error during install wb 2.13.1

There was an uncatched exception
Duplicate column name 'ct_color'
in line (724) of (/framework/class.database.php):


Line is:

public function getQuery(string $sStatement)
    {

    if (false === ($this->result = $this->oDbHandle->query($sStatement))) {
        $this->error = $this->oDbHandle->error;
    }
        return $this->result;
    }


Regards,