WebsiteBaker Community Forum

WebsiteBaker Support (2.13.x) => General Help & Support => Topic started by: Ruud on March 07, 2022, 05:04:38 PM

Title: Error in upgrade to r63
Post by: Ruud 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.
Title: Re: Error in upgrade to r63
Post by: Luisehahne on March 08, 2022, 07:39:38 AM
Tks, i check it

Dietmar
Title: Re: Error in upgrade to r63
Post by: Luisehahne 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