• Welcome to WebsiteBaker Community Forum. Please log in or sign up.
Welcome, Guest
News
Support WebsiteBaker
Your donations will help to:
PayPal
  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!
You can donate by clicking on the button below.

Error during install

Started by rumen, April 26, 2022, 02:05:01 PM  ( Read 10,631 times )

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,

    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.)

      "Never begin to stop - never stop beginning." Marcus Tullius Cicero (106-43 BC)

      rumen

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

        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

          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?

            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.)

              "Never begin to stop - never stop beginning." Marcus Tullius Cicero (106-43 BC)

              \n\n