Tentando di aggiornare da Docebo 4.0.5 su php 5.6 e MariaDB 10.3 ricevo questo errore:
Source pre-upgrade file: /home/docebo/public_html/upgrade/data/upg_data/20000_pre.php
Execute pre-upgrade func: preUpgrade20000
Upgrade db with file: /home/docebo/public_html/upgrade/data/upg_data/20000_db.sqlKey column 'code' doesn't exist in table
Esiste una soluzione nota per questo inconveniente?
Aggiornamento da Docebo 4.0.5 a Formalms 2.3
-
- Newbie
- Posts: 10
- Joined: Tue Mar 26, 2019 12:55 pm
- Version: forma.lms 2.0
Re: Aggiornamento da Docebo 4.0.5 a Formalms 2.3
Modifica il file /upgrade/data/upg_data/20000_db.sql.
Trova la riga
e sostituiscila con:
Trova la riga
Code: Select all
ALTER TABLE `core_plugin` DROP `code`;
Code: Select all
ALTER TABLE `core_plugin` DROP IF EXISTS `code`;
Per supporto GRATUITO contattatemi in privato qui
-
- Newbie
- Posts: 10
- Joined: Tue Mar 26, 2019 12:55 pm
- Version: forma.lms 2.0
Re: Aggiornamento da Docebo 4.0.5 a Formalms 2.3
Ho fatto ma ricevo ccomunque l'errore forse bisogna modificare altre righe dello script sql?
Re: Aggiornamento da Docebo 4.0.5 a Formalms 2.3
Lo stesso errore?
Per supporto GRATUITO contattatemi in privato qui
-
- Newbie
- Posts: 10
- Joined: Tue Mar 26, 2019 12:55 pm
- Version: forma.lms 2.0
Re: Aggiornamento da Docebo 4.0.5 a Formalms 2.3
Si stesso errore:
Upgrade database error
Upgrading to version: 2.0
Result: ERROR !!!
Source pre-upgrade file: /home/docebo/public_html/upgrade/data/upg_data/20000_pre.php
Execute pre-upgrade func: preUpgrade20000
Upgrade db with file: /home/docebo/public_html/upgrade/data/upg_data/20000_db.sqlKey column 'code' doesn't exist in table
Upgrade database error
Upgrading to version: 2.0
Result: ERROR !!!
Source pre-upgrade file: /home/docebo/public_html/upgrade/data/upg_data/20000_pre.php
Execute pre-upgrade func: preUpgrade20000
Upgrade db with file: /home/docebo/public_html/upgrade/data/upg_data/20000_db.sqlKey column 'code' doesn't exist in table
Re: Aggiornamento da Docebo 4.0.5 a Formalms 2.3
Ok.
Allora proviamo così:
ALTER TABLE `core_plugin` DROP INDEX `name`;
ALTER TABLE `core_plugin` DROP IF EXISTS `code`;
ALTER TABLE `core_plugin` ADD UNIQUE (`name`);
Allora proviamo così:
ALTER TABLE `core_plugin` DROP INDEX `name`;
ALTER TABLE `core_plugin` DROP IF EXISTS `code`;
ALTER TABLE `core_plugin` ADD UNIQUE (`name`);
Per supporto GRATUITO contattatemi in privato qui
-
- Newbie
- Posts: 10
- Joined: Tue Mar 26, 2019 12:55 pm
- Version: forma.lms 2.0
Re: Aggiornamento da Docebo 4.0.5 a Formalms 2.3
Aggiormanento riuscito. Grazie infinite!