RESSOURCES.PRO Posted September 24, 2009 Share Posted September 24, 2009 Bonjour,en voulant nettoyer la base de données (après intall) j'ai du faire une gaffe (apparemment dans la table `ps_category`)du coup je ne peux pas ajouter de produits quand je clique sur l'onglet 'Catalogue' ça affiche une page vide avec le message : "Category cannot be loaded"Quelqu'un peut-il me dire comment réparer ma bourde ?Merci beaucoup Link to comment Share on other sites More sharing options...
RESSOURCES.PRO Posted September 24, 2009 Author Share Posted September 24, 2009 Bonsoirpersonne n'a une idée pour mon problème de catalogue? Link to comment Share on other sites More sharing options...
anafor Posted September 26, 2009 Share Posted September 26, 2009 Sorry, I don't speak french, but I have the same problem.)) This error tells, that object of the class "Category" couldn't been created.(See line 45 in /admin/tabs/AdminCatalog.php) It can happen when there is no categories in the database at all(in my case) i think. So, try to add them using phpMyAdmin or CSV Import. Good luck! Link to comment Share on other sites More sharing options...
RESSOURCES.PRO Posted September 27, 2009 Author Share Posted September 27, 2009 Hello anafor, thank you so much for your contribution. Everything I tried ended in failure! So I simply reinstalled the script. But thank you again for your help. Best regards Link to comment Share on other sites More sharing options...
dave666 Posted June 6, 2012 Share Posted June 6, 2012 czyściłeś kategorię i produkty dodaj poprzez phpmyadmin scieżkę sql INSERT INTO `PREFIX_category` (`id_category`, `id_parent`, `level_depth`, `nleft`, `nright`, `active`, `date_add`, `date_upd`, `position`) VALUES (1, 0, 0, 1, 8, 1, NOW(), NOW(), 0); prestshop potrzebuje pierwszej pustej kategori dlatego jest błąd -------------------------------------------------------------------------------------------------- clean the print category and add products through phpmyadmin sql path INSERT INTO `PREFIX_category` (`id_category`, `id_parent`, `level_depth`, `nleft`, `nright`, `active`, `date_add`, `date_upd`, `position`) VALUES (1, 0, 0, 1, 8, 1, NOW(), NOW(), 0); prestshop needs to first empty the category because it is a bug 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