Jump to content

(SOLVED) Can't remove products and category


Recommended Posts

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 by consti6731 (see edit history)
Link to comment
Share on other sites

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

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

  • 4 weeks later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...