marius_2305 Posted November 29, 2013 Share Posted November 29, 2013 Salut Am facut un import csv si am primit eroare de lungime a unui camp din baza de date (link_rewrite era setat pe 128 dar eu aveam nevoie de aprox 200 caractere). Am modificat in baza de date lungimea campului de la 128 caractere la 255 caractere dar la import csv imi da aceeasi eroare (campul importat nu poate fi mai mare de 128 caractere, cu toate ca am modificat aceasta lungime in baza de date). Acelasi lucru l-am patit si la alte modificari in baza de date, am schimbat valorile implicite ale unui camp (din "new" in "nou") dar la import imi da eorare si spune ca valoarea trebuie sa fie "new", cu toate ca am schimbat-o in baza de date. Cum se face sincronizarea dintre baza de date si importul csv, pentru a prelua modificarile din baza de date? Multumesc Link to comment Share on other sites More sharing options...
costi43 Posted November 29, 2013 Share Posted November 29, 2013 in AdminImport ai umblat??? daca nu verifica acolo, nu numai baza de date, pentru ca degeaba modifici mysql, dar nu faci modificare in php, adica tu dai comanda eronata Link to comment Share on other sites More sharing options...
marius_2305 Posted November 29, 2013 Author Share Posted November 29, 2013 Unde gasesc AdminImport? merci Link to comment Share on other sites More sharing options...
marius_2305 Posted November 29, 2013 Author Share Posted November 29, 2013 Am gasit AdminImportController dar chiar nu stiu unde sa modific ..... V-as fi recunoscator daca m-ati ajuta cu detalii. Multumesc Link to comment Share on other sites More sharing options...
valentin.g Posted November 29, 2013 Share Posted November 29, 2013 cauta si in clasa product.php sau category.php sa modifici valoarea 'link_rewrite' => array('type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isLinkRewrite', 'required' => true, 'size' => 128), 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