lemoeb Posted February 11, 2016 Share Posted February 11, 2016 Come da oggetto vi informo che Prestashop 1.6.1.4 presenta un bug se installato su macchine che hanno come configurazione : Mysql 5.7Durante l'installazione del database si presenta il seguente errore : Errore SQL nella query All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead Questo è dipendente dalla query che crea la tabella : PREFIX_cart_product presente nel file dbstructure.sql Per risolvere questo problema, prima di effettuare l'installazione modificate la query che crea la tabella in questo modo : CREATE TABLE `PREFIX_cart_product` ( `id_cart` int(10) unsigned NOT NULL , `id_product` int(10) unsigned NOT NULL, `id_address_delivery` int(10) UNSIGNED DEFAULT '0', `id_shop` int(10) unsigned NOT NULL DEFAULT '1', `id_product_attribute` int(10) unsigned NOT NULL, `quantity` int(10) unsigned NOT NULL DEFAULT '0', `date_add` datetime NOT NULL, PRIMARY KEY (`id_cart`,`id_product`,`id_product_attribute`,`id_address_delivery`), KEY `id_product_attribute` (`id_product_attribute`), KEY `id_cart_order` (`id_cart`, `date_add`, `id_product`, `id_product_attribute`) ) ENGINE=ENGINE_TYPE DEFAULT CHARSET=utf8 COLLATION; e poi fate l'installazione senza problemi. Spero di essere stato utilie. Leandro 1 Link to comment Share on other sites More sharing options...
DavideZ Posted March 21, 2016 Share Posted March 21, 2016 Si, sei stato utile Link to comment Share on other sites More sharing options...
micelio Posted April 7, 2016 Share Posted April 7, 2016 la versione di Prestashop è la stessa 1.6.1.4 ho aggiornato dalla versione precedente 1.5.4 a questa, ed il problema che ho riscontro è che i prodotti con le combinazioni non funzionano più.. online selezionando il prodotto con una combinazione dopo 2" in automatico torna alla pagina iniziale della scelta.. in quei 2 secondi noto che il prezzo lo prende esatto.. Domanda: il problema è correlato a questa segnalazione o è diverso? il alternativa si può risolvere e come? Grazie! Link all'articolo: http://www.micelimoto.com/it/174-cavalletto-reversibile.html Link to comment Share on other sites More sharing options...
micelio Posted April 11, 2016 Share Posted April 11, 2016 il problema l'ho risolto in questo modo.. sono andato in B.O. Impostazioni>Prodotti qui ho selezionato (era già selezionato) il separatore dell'ancora dei prodotti ed ho salvato, Fatto! con me ha funzionato.. Grazie! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now