jtaa Posted October 18, 2012 Share Posted October 18, 2012 I am trying to import this csv file into prestashop v1.5, but I am getting a 500 error on import. Setting this line in config/defines.inc.php: define('PS_MODE_DEV', false); to true reveals the error: [PrestaShopException] Parent category does not exist at line 381 in file classes/Category.php I am making sure to select the comma as a column delimiter, forcing ID's, and deleting old categories on import. Can someone please take a look at my csv file and tell me what is wrong as I cannot for the life of me work it out! categoriesimport.txt PS. You may notice peculiar "DELETE" labels in there. That is to try to overcome the issue of importing categories with the same name (which are actually in different subcategories in my store). Link to comment Share on other sites More sharing options...
joachim Posted November 3, 2012 Share Posted November 3, 2012 Hi, Facing the same problem, did you find any further info? Regards Link to comment Share on other sites More sharing options...
johngates Posted January 28, 2013 Share Posted January 28, 2013 FIX for this error, do not check "Delete all categories before import?", if you already checked this, reinstall prestashop, enter Back Office at Categories, delete all from there and then import csv categories without checking "Delete all categories before import?" Link to comment Share on other sites More sharing options...
ramesh91 Posted February 27, 2015 Share Posted February 27, 2015 (edited) Hi, i'm also getting this error many times. after a long time i found one think. when i mention any external url (Ex: http://modcom.info/webpics/computerplugcables/CFW9403.jpg) its shown the error. when i ignore this field products has imported successfully. So i want to import with image link. how can i import. please help me. Thanks in advance Edited February 27, 2015 by ramesh91 (see edit history) Link to comment Share on other sites More sharing options...
stnadmin Posted October 26, 2015 Share Posted October 26, 2015 FIX for this error, do not check "Delete all categories before import?", if you already checked this, reinstall prestashop, enter Back Office at Categories, delete all from there and then import csv categories without checking "Delete all categories before import?" This isn't a fix. This is a scratch and restart. Has this been filed as a BUG? 1 Link to comment Share on other sites More sharing options...
stnadmin Posted January 14, 2016 Share Posted January 14, 2016 Nothing on this issue yet? 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