Author Topic: Error in upgrade to r63  (Read 1598 times)

Offline Ruud

  • Posts: 3669
  • Gender: Male
  • Do not use PM for help! Please use the forum!
    • Dev4Me - Professional WebsiteBaker Development
Error in upgrade to r63
« on: March 07, 2022, 05:04:38 PM »
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.

Offline Luisehahne

  • WebsiteBaker Org e.V.
  • **
  • Posts: 4522
  • Gender: Male
Re: Error in upgrade to r63
« Reply #1 on: March 08, 2022, 07:39:38 AM »
Tks, i check it

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

Offline Luisehahne

  • WebsiteBaker Org e.V.
  • **
  • Posts: 4522
  • Gender: Male
Re: Error in upgrade to r63
« Reply #2 on: March 08, 2022, 07:48:58 AM »
Its fixed, tks for the info

was the wrong table , changed to
Code: [Select]
<?php
ALTER TABLE 
`{TABLE_PREFIX}groupsDROP 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!