• 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 in upgrade to r63

Started by Ruud, March 07, 2022, 05:04:38 PM  ( Read 8,298 times )

Ruud

A customer of mine tried to upgrade WB2.13r13 to WB2.13r63 but got some errors.

I found that in /install/install-struct.sql.php on line 63 an index was removed from the wrong table.
The table being processed is "groups" but the index is removed from "addons"
Code (install-struct.sql.php line 63) Select
ALTER TABLE `{TABLE_PREFIX}addons` DROP INDEX `ident_groups`;

I guess the $database->SqlImport() stops on an error, so the rest is not processed anymore.

    Luisehahne

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

    Luisehahne

    Its fixed, tks for the info

    was the wrong table , changed to
    <?php
    ALTER TABLE
    `{TABLE_PREFIX}groups` DROP INDEX `ident_groups`;

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

      \n\n