WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.9 R22 is now available!


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.13.x) »
  • General Help & Support »
  • Error in upgrade to r63
  • Print
Pages: [1]   Go Down

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

Offline Ruud

  • Posts: 3671
  • 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.
Logged
Dev4me - WebsiteBaker modules - WBhelp.org

Offline Luisehahne

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

Dietmar
Logged
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: 4548
  • 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}groups` DROP INDEX `ident_groups`;
Dietmar
Logged
Note: Once the code has been generated, it is easy to debug. It's not a bug, it's a feature!

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.13.x) »
  • General Help & Support »
  • Error in upgrade to r63
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2