Author Topic: Error during install  (Read 94 times)

Offline rumen

  • Posts: 440
  • Gender: Male
Error during install
« on: April 26, 2022, 02:05:01 PM »
Hi there,
got error during install wb 2.13.1

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

Line is:

 
Code: [Select]
public function getQuery(string $sStatement)
    {

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

Regards,

Offline hgs

  • Betatester
  • **
  • Posts: 1540
    • EFG MG
Re: Error during install
« Reply #1 on: April 26, 2022, 02:46:13 PM »
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.)

Offline rumen

  • Posts: 440
  • Gender: Male
Re: Error during install
« Reply #2 on: April 26, 2022, 05:22:51 PM »
Apache2
PHP 8
MySQL
Localhost - on a local drive
pure brand new instalation

Offline Luisehahne

  • WebsiteBaker Org e.V.
  • **
  • Posts: 4512
  • Gender: Male
Re: Error during install
« Reply #3 on: April 26, 2022, 05:27:35 PM »
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!

Offline rumen

  • Posts: 440
  • Gender: Male
Re: Error during install
« Reply #4 on: April 26, 2022, 08:18:16 PM »
PHP version

Code: [Select]
~$ 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?

Offline hgs

  • Betatester
  • **
  • Posts: 1540
    • EFG MG
Re: Error during install
« Reply #5 on: April 27, 2022, 07:58:40 AM »
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.)

 

postern-length