J'ai de gros ennuis depuis hier avec SMI.
Tout allait bien jusqu'à hier, j'étais sous Xubuntu 14.04 avec SMI 1.0.2 , seulement voilà hier matin gros plantage de Xubuntu suite sans doute à des mises à jours interrompue, je n'ai pas pu le réparer j'ai dû me résoudre à faire une mise à jour de version vers Xubuntu 16.04.
C'est là qu'ont commencés les problèmes, après avoir installé apache2 php mysql et le reste la page d'index n'affichait que le code, avec php7 , avec de l'aide j'ai donc installé un ppa pour pouvoir remettre un PHP5.6 , j'étais déjà content , je pouvait accéder à SMI, tout semblait normal, sauf que, quand je veux sauver une intervention ça se gâte, alors j'ai installé 1.0.4 pour voir et ai lancer les scripts de mise à jour 1.2->1.3 ça n'à rien fait, (normal il est vide) et ensuite 1.3->1.4 alors j'ai ces erreurs.
Code : Tout sélectionner
mysql> USE smi;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> SOURCE smi_1.0.3_to_1.0.4.sql;
Query OK, 0 rows affected (0,00 sec)
Query OK, 0 rows affected (0,07 sec)
ERROR 1067 (42000): Invalid default value for 'cocl_datecrea'
ERROR 1067 (42000): Invalid default value for 'cocl_datecrea'
ERROR 1072 (42000): Key column 'cocl_codecat' doesn't exist in table
ERROR 1067 (42000): Invalid default value for 'cocla_datecrea'
ERROR 1067 (42000): Invalid default value for 'pdt_datecrea'
Query OK, 0 rows affected (0,07 sec)
Records: 0 Duplicates: 0 Warnings: 0
Query OK, 0 rows affected (0,06 sec)
Records: 0 Duplicates: 0 Warnings: 0
Query OK, 0 rows affected (0,06 sec)
Records: 0 Duplicates: 0 Warnings: 0
Query OK, 0 rows affected (0,05 sec)
Records: 0 Duplicates: 0 Warnings: 0
Query OK, 0 rows affected (0,08 sec)
Records: 0 Duplicates: 0 Warnings: 0
Query OK, 0 rows affected (0,04 sec)
Records: 0 Duplicates: 0 Warnings: 0
Query OK, 0 rows affected (0,05 sec)
Records: 0 Duplicates: 0 Warnings: 0
Query OK, 0 rows affected (0,07 sec)
Records: 0 Duplicates: 0 Warnings: 0
Query OK, 0 rows affected (0,06 sec)
Records: 0 Duplicates: 0 Warnings: 0
Query OK, 0 rows affected (0,05 sec)
Records: 0 Duplicates: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'per_coclcat'
Query OK, 9 rows affected, 1 warning (0,06 sec)
Records: 9 Duplicates: 0 Warnings: 1
Query OK, 0 rows affected (0,07 sec)
Records: 0 Duplicates: 0 Warnings: 0
ERROR 1060 (42S21): Duplicate column name 'cons_coclcat_default'
ERROR 1060 (42S21): Duplicate column name 'cons_coclcat_typarr'
ERROR 1060 (42S21): Duplicate column name 'cons_coclcat_codeper'
ERROR 1060 (42S21): Duplicate column name 'cons_coclcat_pourm'
ERROR 1060 (42S21): Duplicate column name 'cons_coclcat_pour1'
ERROR 1060 (42S21): Duplicate column name 'cons_coclcat_pour2'
ERROR 1060 (42S21): Duplicate column name 'cons_coclcat_pour3'
ERROR 1060 (42S21): Duplicate column name 'cons_int_coupactif'
ERROR 1060 (42S21): Duplicate column name 'cons_int_coupc'
ERROR 1060 (42S21): Duplicate column name 'cons_int_coupm'
ERROR 1060 (42S21): Duplicate column name 'cons_int_coupma'
ERROR 1060 (42S21): Duplicate column name 'cons_int_coupman'
ERROR 1060 (42S21): Duplicate column name 'cons_int_coupsdp'
ERROR 1067 (42000): Invalid default value for 'txt_datecrea'
ERROR 1366 (HY000): Incorrect string value: '\xE9 vers...' for column 'txt_desc' at row 1
Query OK, 0 rows affected (0,03 sec)
Rows matched: 1 Changed: 0 Warnings: 0
mysql>
Pareil à l'encodage d'un nouveau client.
Je ne sais plus quoi faire, et c'est mon logiciel de commerce, je me retrouve bloqué, un grand merci pour votre aide.
En résumé:
Xubuntu 16.04
Noyaux: Linux 4.4.0-64-generic
PHP: 5.6
Mysql-common: 5.7.17
SMI 1.0.4