consti6731 Posted November 20, 2014 Share Posted November 20, 2014 (edited) Hello, My webshop is running 1.6.0.9 Today I received a last order for a specific category in my webshop. Now I want to delete these 2 products and then the whole category. So I tried to delte the category but nothing is happening. I set the category as not to show but the category shows. Then I tried to delete the products and also this does not work. Yes, the pictures disappeared from the products and also the information but the names and the price is still there. See this link: http://shop.ekruiwagen.nl/12-lite I switched of the cache setting and forced the system to compile pages but still no change. Is this because I am still have not closed the last order of this product? (tomorrow the transport company will pick it up and that will be the moment for me to close the order) Or can there be a different reason. Hope someone can help. Edited December 18, 2014 by consti6731 (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted November 21, 2014 Share Posted November 21, 2014 how are you removing them, exactly? Both products and category. Try enabling error reporting:config/defines.inc.php set PS_MODE_DEV to true. Then erase again and see if anything spanws. Unless you only want to disable them Link to comment Share on other sites More sharing options...
consti6731 Posted November 21, 2014 Author Share Posted November 21, 2014 Hello Nemo1 In the category's and by the products at the end of the category or product line there is a button with "delete" Now my order was processed I could delete the category. The category is gone in my list but still in the category menu on the website??? Very strange everything. Also the products are gone from my lists but they still show in the website but if you click on them I get an error message. When I switch on error report I et the following message while deleting another category: Fatal error: Call to a member function isRootCategoryForAShop() on a non-object in /www/propresta3/davilot/ekruiwagnew/controllers/admin/AdminCategoriesController.php on line 709 Link to comment Share on other sites More sharing options...
NemoPS Posted November 22, 2014 Share Posted November 22, 2014 It seems you need to debug a bit, open that file at line 7709, and before isRootCategoryForAShop() add like var_dump($id_category); see which number it displays before dying. It can't create a new category object out of that, for some reason Link to comment Share on other sites More sharing options...
consti6731 Posted November 24, 2014 Author Share Posted November 24, 2014 Hello Nemo1, Just checked your post this morning and started on the issue but it seemd to be all ok right now. The category is gone and the products are gone! Anyhow thanx for the effort you took to help me. Regards, Constantijn Link to comment Share on other sites More sharing options...
consti6731 Posted December 18, 2014 Author Share Posted December 18, 2014 Just found out today what was wrong. It was all the Google Chrome browser. I had more and more problems with PS. Turning on error report did not gave me any errors. At last I tried the shop with the IE browser and suddenly everything worked very fast ( as usual) and without any mistakes. So I cleared the cache and removed all cookies in my Chrome browser and now my whole shop works fine. 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