[Skip to main content](#vessel-content)

#   RESOLVED: Delete Categories to Start shop over

##

- **[scottshort](/forum/user/5142-scottshort "View scottshort's Profile")**
- [![scottshort's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5142.jpg)](/forum/user/5142-scottshort "View scottshort's Profile") Topic Author
- [ Offline](/forum/user/5142-scottshort)
- Respect the Stash

Less More

- Posts: 76
- Thank you received: 1
-
-
-
-

14 years 5 months ago -  14 years 5 months ago [\#53136](#53136) by [scottshort](/forum/user/5142-scottshort "View scottshort's Profile")  *[RESOLVED: Delete Categories to Start shop over](/forum/4-how-to/53136-resolved-delete-categories-to-start-shop-over#53136 "Hi  I need to delete categories I created at root so I can re-enter them correctly in Products Category. I am getting an error message when I try to do this: &quot;You cannot delete a default category&quot;. Is there a way around this in Hikashop, or a way to delete these categories in cPanel? How do I delete them?  Thanks Scott")* was created by *[scottshort](/forum/user/5142-scottshort "View scottshort's Profile")*

Hi

I need to delete categories I created at root so I can re-enter them correctly in Products Category. I am getting an error message when I try to do this: "You cannot delete a default category". Is there a way around this in Hikashop, or a way to delete these categories in cPanel? How do I delete them?

Thanks
Scott

[ ![Cantdelete.png](/forum/attachment/4183) ](/forum/attachment/4183 "Cantdelete.png")

- [ ![Cantdelete.png](/forum/attachment/4183) ](/forum/attachment/4183 "Cantdelete.png") [ ](/forum/attachment/4183?download=1 "Cantdelete.png")

Last edit: 14 years 5 months ago by [scottshort](/forum/user/5142-scottshort "View scottshort's Profile"). Reason: RESOLVED

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzUzMTM2LXJlc29sdmVkLWRlbGV0ZS1jYXRlZ29yaWVzLXRvLXN0YXJ0LXNob3Atb3Zlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

14 years 5 months ago [\#53144](#53144) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Re: Delete Categories to Start shop over](/forum/4-how-to/53136-resolved-delete-categories-to-start-shop-over#53144 "Hi  I need to delete categories I created at root so I can re-enter them correctly in Products Category. I am getting an error message when I try to do this: &quot;You cannot delete a default category&quot;. Is there a way around this in Hikashop, or a way to delete these categories in cPanel? How do I delete them?  Thanks Scott")*

Hello Scott,

I think that you **can't** delete the default categories because Hikashop uses them.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzUzMTM2LXJlc29sdmVkLWRlbGV0ZS1jYXRlZ29yaWVzLXRvLXN0YXJ0LXNob3Atb3Zlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[scottshort](/forum/user/5142-scottshort "View scottshort's Profile")**
- [![scottshort's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5142.jpg)](/forum/user/5142-scottshort "View scottshort's Profile") Topic Author
- [ Offline](/forum/user/5142-scottshort)
- Respect the Stash

Less More

- Posts: 76
- Thank you received: 1
-
-
-
-

14 years 5 months ago [\#53146](#53146) by [scottshort](/forum/user/5142-scottshort "View scottshort's Profile")  Replied by *[scottshort](/forum/user/5142-scottshort "View scottshort's Profile")* on topic *[Re: Delete Categories to Start shop over](/forum/4-how-to/53136-resolved-delete-categories-to-start-shop-over#53146 "Hi  I need to delete categories I created at root so I can re-enter them correctly in Products Category. I am getting an error message when I try to do this: &quot;You cannot delete a default category&quot;. Is there a way around this in Hikashop, or a way to delete these categories in cPanel? How do I delete them?  Thanks Scott")*

Hi Mohamed, thanks for the help. But I only want to delete the product categories that I created.... then recreate them under the "products" category... We talked before about how I can not move theses categories because they have been created under the "root"... I assumed that I could just delete them and start over... now what?

Thanks
scott

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzUzMTM2LXJlc29sdmVkLWRlbGV0ZS1jYXRlZ29yaWVzLXRvLXN0YXJ0LXNob3Atb3Zlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

14 years 5 months ago [\#53154](#53154) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Re: Delete Categories to Start shop over](/forum/4-how-to/53136-resolved-delete-categories-to-start-shop-over#53154 "Hi  I need to delete categories I created at root so I can re-enter them correctly in Products Category. I am getting an error message when I try to do this: &quot;You cannot delete a default category&quot;. Is there a way around this in Hikashop, or a way to delete these categories in cPanel? How do I delete them?  Thanks Scott")*

You shouldn't have done this but if you want to start over you'll have to delete the hikashop_category table and instal hikashop again.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzUzMTM2LXJlc29sdmVkLWRlbGV0ZS1jYXRlZ29yaWVzLXRvLXN0YXJ0LXNob3Atb3Zlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[scottshort](/forum/user/5142-scottshort "View scottshort's Profile")**
- [![scottshort's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5142.jpg)](/forum/user/5142-scottshort "View scottshort's Profile") Topic Author
- [ Offline](/forum/user/5142-scottshort)
- Respect the Stash

Less More

- Posts: 76
- Thank you received: 1
-
-
-
-

14 years 5 months ago [\#53169](#53169) by [scottshort](/forum/user/5142-scottshort "View scottshort's Profile")  Replied by *[scottshort](/forum/user/5142-scottshort "View scottshort's Profile")* on topic *[Re: Delete Categories to Start shop over](/forum/4-how-to/53136-resolved-delete-categories-to-start-shop-over#53169 "Hi  I need to delete categories I created at root so I can re-enter them correctly in Products Category. I am getting an error message when I try to do this: &quot;You cannot delete a default category&quot;. Is there a way around this in Hikashop, or a way to delete these categories in cPanel? How do I delete them?  Thanks Scott")*

Hi again Mohamed, I misunderstood the tutorial "your first test sale". If I had known that all products and categories must be placed in default product folder.... I wouldn't have made this mistake. I never assumed that I wouldn't be able to move the files and reorder them later....

So where can I find this Hikashop_category table? Can I just delete the file in cPanel? Will I lose all of my Hikashop settings that Nicholas had helped me with? Thanks again for your help.

Regards
Scott

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzUzMTM2LXJlc29sdmVkLWRlbGV0ZS1jYXRlZ29yaWVzLXRvLXN0YXJ0LXNob3Atb3Zlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

14 years 5 months ago [\#53249](#53249) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Delete Categories to Start shop over](/forum/4-how-to/53136-resolved-delete-categories-to-start-shop-over#53249 "Hi  I need to delete categories I created at root so I can re-enter them correctly in Products Category. I am getting an error message when I try to do this: &quot;You cannot delete a default category&quot;. Is there a way around this in Hikashop, or a way to delete these categories in cPanel? How do I delete them?  Thanks Scott")*

We don't want you to delete the default categories. Otherwise, HikaShop won't work properly. If you start to create additional main categories, they will also be considered as default categories and HikaShop won't allow you to move them.

Normally, you should create your categories under the "product categories" category. That's actually what happens when you go in the categories listing, click on new, enter a name and save. The category is automatically added under the "product categories" category.

If you delete the hikashop_category table and reinstall, that will remove your categories and put the default categories. However, that also mean that you will loose the links to the products, you so won't be able to see the products anymore...
If you have only a handful of products, you can recreate them. But if you have a lot of them that's really not a practical solution.
If you want to move the categories without destroying the link between products and categories, you can edit the categories in the hikashop_category table and change the category_parent_id to the new parent id you would like. Then, you will have to edit a product category via the interface, and change the category parent category (so it must one a category which was not a main category before, otherwise you can't edit it. That will make hikashop reprocess the category tree so that it is inconsistent. If you don't do that second step, you will get strange results in the listings.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzUzMTM2LXJlc29sdmVkLWRlbGV0ZS1jYXRlZ29yaWVzLXRvLXN0YXJ0LXNob3Atb3Zlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[scottshort](/forum/user/5142-scottshort "View scottshort's Profile")**
- [![scottshort's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5142.jpg)](/forum/user/5142-scottshort "View scottshort's Profile") Topic Author
- [ Offline](/forum/user/5142-scottshort)
- Respect the Stash

Less More

- Posts: 76
- Thank you received: 1
-
-
-
-

14 years 5 months ago -  14 years 5 months ago [\#53300](#53300) by [scottshort](/forum/user/5142-scottshort "View scottshort's Profile")  Replied by *[scottshort](/forum/user/5142-scottshort "View scottshort's Profile")* on topic *[Re: Delete Categories to Start shop over](/forum/4-how-to/53136-resolved-delete-categories-to-start-shop-over#53300 "Hi  I need to delete categories I created at root so I can re-enter them correctly in Products Category. I am getting an error message when I try to do this: &quot;You cannot delete a default category&quot;. Is there a way around this in Hikashop, or a way to delete these categories in cPanel? How do I delete them?  Thanks Scott")*

Hi Nicolas, thanks for helping.

I have really messed things up and I haven't even started yet! :blush:
I had only created a few practice products and categories... but the categories are all in wrong place so I need to star over. I have already deleted all of my products [except for one test option that keeps showing up somehow ] so there is no concern about saving any categories-products relationships.......and now I need to delete all the categories and start over. The original category "Product Categories" I renamed and then I added a bunch more in the root as you can see from my first post.

**Can you give me the step by step instructions I need to follow to delete all of these categories** [and any remaining products like the option I can not find] and reset so I can start over? If it would help the situation, I could re-re- name the one category folder back to "Product Categories" if there is a way to selectively delete the rest of the category folders. If this is not possible, then I need to delete them all and reset the database.

One question: Will I loose all of my HikaShop settings like the timing fix you gave me for the translations windows, and the changes to my cart module in my product view, etc? ![:unsure:](/media/kunena/emoticons/18.png ":unsure:") I hope not, but if so, ok.

Thanks again for your help. Just found out that Hikari means "light".... I like that.

Regards
Scott

Last edit: 14 years 5 months ago by [scottshort](/forum/user/5142-scottshort "View scottshort's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzUzMTM2LXJlc29sdmVkLWRlbGV0ZS1jYXRlZ29yaWVzLXRvLXN0YXJ0LXNob3Atb3Zlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

14 years 5 months ago [\#53309](#53309) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Delete Categories to Start shop over](/forum/4-how-to/53136-resolved-delete-categories-to-start-shop-over#53309 "Hi  I need to delete categories I created at root so I can re-enter them correctly in Products Category. I am getting an error message when I try to do this: &quot;You cannot delete a default category&quot;. Is there a way around this in Hikashop, or a way to delete these categories in cPanel? How do I delete them?  Thanks Scott")*

It's easy to do really.
Just delete the table hikashop_category via phpmyadmin. Once that's done, install again HikaShop. If you did your modifications via the interface (no hacks in files via FTP) you won't loose anything and it will add back the default categories.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzUzMTM2LXJlc29sdmVkLWRlbGV0ZS1jYXRlZ29yaWVzLXRvLXN0YXJ0LXNob3Atb3Zlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[scottshort](/forum/user/5142-scottshort "View scottshort's Profile")**
- [![scottshort's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5142.jpg)](/forum/user/5142-scottshort "View scottshort's Profile") Topic Author
- [ Offline](/forum/user/5142-scottshort)
- Respect the Stash

Less More

- Posts: 76
- Thank you received: 1
-
-
-
-

14 years 5 months ago [\#53355](#53355) by [scottshort](/forum/user/5142-scottshort "View scottshort's Profile")  Replied by *[scottshort](/forum/user/5142-scottshort "View scottshort's Profile")* on topic *[Re: Delete Categories to Start shop over](/forum/4-how-to/53136-resolved-delete-categories-to-start-shop-over#53355 "Hi  I need to delete categories I created at root so I can re-enter them correctly in Products Category. I am getting an error message when I try to do this: &quot;You cannot delete a default category&quot;. Is there a way around this in Hikashop, or a way to delete these categories in cPanel? How do I delete them?  Thanks Scott")*

Hi Nicolas,

Can you tell me the command I must use to delete this Category table? I have never used phpMyAdmin. I found the following in the documentation but I want to be sure so I do not make a mistake.

> This error is apparently due to the fact HikaShop could not be installed properly and there are probably still some instances of HikaShop on your Extensions Manager.
> Please go on your Extensions Manager (click on the menu "Manage"), select HikaShop (the component) and uninstall it.
> If it can't be uninstalled from there, please access your phpMyAdmin and execute this query:
> • DELETE FROM &#96;jos\_menu&#96; WHERE link LIKE '%com\_hikashop%';
> • DELETE FROM jos\_extensions WHERE element = 'com\_hikashop';
> • DELETE FROM jos\_assets WHERE name='com\_hikashop';
> Then install HikaShop again... it should work.

Also, will this get rid of ghost product option that I still see now when I do a categories listing? see pic below:

[ ![productoption.jpg](/forum/attachment/4212) ](/forum/attachment/4212 "productoption.jpg")

If the above command will not get rid of this product option, can you give me the steps to do this as well?

Thanks again
Regards

Scott

- [ ![productoption.jpg](/forum/attachment/4212) ](/forum/attachment/4212 "productoption.jpg") [ ](/forum/attachment/4212?download=1 "productoption.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzUzMTM2LXJlc29sdmVkLWRlbGV0ZS1jYXRlZ29yaWVzLXRvLXN0YXJ0LXNob3Atb3Zlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

14 years 5 months ago [\#53360](#53360) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Delete Categories to Start shop over](/forum/4-how-to/53136-resolved-delete-categories-to-start-shop-over#53360 "Hi  I need to delete categories I created at root so I can re-enter them correctly in Products Category. I am getting an error message when I try to do this: &quot;You cannot delete a default category&quot;. Is there a way around this in Hikashop, or a way to delete these categories in cPanel? How do I delete them?  Thanks Scott")*

There is no need to enter a command. Go in phpmyadmin, open your database, click on the hikashop_category table and then on the delete button...

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzUzMTM2LXJlc29sdmVkLWRlbGV0ZS1jYXRlZ29yaWVzLXRvLXN0YXJ0LXNob3Atb3Zlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[scottshort](/forum/user/5142-scottshort "View scottshort's Profile")**
- [![scottshort's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5142.jpg)](/forum/user/5142-scottshort "View scottshort's Profile") Topic Author
- [ Offline](/forum/user/5142-scottshort)
- Respect the Stash

Less More

- Posts: 76
- Thank you received: 1
-
-
-
-

14 years 5 months ago [\#53392](#53392) by [scottshort](/forum/user/5142-scottshort "View scottshort's Profile")  Replied by *[scottshort](/forum/user/5142-scottshort "View scottshort's Profile")* on topic *[Re: Delete Categories to Start shop over](/forum/4-how-to/53136-resolved-delete-categories-to-start-shop-over#53392 "Hi  I need to delete categories I created at root so I can re-enter them correctly in Products Category. I am getting an error message when I try to do this: &quot;You cannot delete a default category&quot;. Is there a way around this in Hikashop, or a way to delete these categories in cPanel? How do I delete them?  Thanks Scott")*

Hi again Nicolas,

Thanks for the instructions. I deleted the hikashop_categories table and reinstalled HS. I want to avoid same error as before, but now on the add categories page, i do not see the original folders that I saw before like product categories, and I think, zones and a few others. I was hoping to see them so I could be sure to create my categories in this folder. From my attached pic, you can see that these folders are no where. I do not want to create another category under the root, but from the picture you can't see the product categories file.

Can you see anything wrong here? Where is default product categories folder? Do I need to create it now in the location on this page: please let me know, thanks.

scott

[ ![productcategories.jpg](/forum/attachment/4218) ](/forum/attachment/4218 "...categories.jpg")

- [ ![productcategories.jpg](/forum/attachment/4218) ](/forum/attachment/4218 "...categories.jpg") [ ](/forum/attachment/4218?download=1 "...categories.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzUzMTM2LXJlc29sdmVkLWRlbGV0ZS1jYXRlZ29yaWVzLXRvLXN0YXJ0LXNob3Atb3Zlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

14 years 5 months ago [\#53394](#53394) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Delete Categories to Start shop over](/forum/4-how-to/53136-resolved-delete-categories-to-start-shop-over#53394 "Hi  I need to delete categories I created at root so I can re-enter them correctly in Products Category. I am getting an error message when I try to do this: &quot;You cannot delete a default category&quot;. Is there a way around this in Hikashop, or a way to delete these categories in cPanel? How do I delete them?  Thanks Scott")*

This means that the installation script couldn't add back the categories. It's probably because it couldn't create the table.
Go in your database, then in the SQL menu and copy/paste that query and run it: Code:

CREATE TABLE IF NOT EXISTS &#96;jos_hikashop_category&#96; ( &#96;category_id&#96; int(10) unsigned NOT NULL AUTO_INCREMENT, &#96;category_parent_id&#96; int(10) unsigned NOT NULL DEFAULT '0', &#96;category_type&#96; varchar(255) NOT NULL, &#96;category_name&#96; varchar(255) NOT NULL, &#96;category_description&#96; text NOT NULL, &#96;category_published&#96; tinyint(4) NOT NULL DEFAULT '0', &#96;category_ordering&#96; int(10) unsigned NOT NULL DEFAULT '0', &#96;category_left&#96; int(10) unsigned NOT NULL DEFAULT '0', &#96;category_right&#96; int(10) unsigned NOT NULL DEFAULT '0', &#96;category_depth&#96; int(10) unsigned NOT NULL DEFAULT '0', &#96;category_namekey&#96; varchar(255) NOT NULL, &#96;category_created&#96; int(10) unsigned NOT NULL DEFAULT '0', &#96;category_modified&#96; int(10) unsigned NOT NULL DEFAULT '0', &#96;category_access&#96; varchar(255) NOT NULL DEFAULT 'all', &#96;category_menu&#96; int(10) unsigned DEFAULT '0', &#96;category_keywords&#96; varchar(255) NOT NULL, &#96;category_meta_description&#96; varchar(155) NOT NULL DEFAULT '', &#96;category_layout&#96; varchar(255) NOT NULL DEFAULT '', PRIMARY KEY (&#96;category_id&#96;), UNIQUE KEY &#96;category_namekey&#96; (&#96;category_namekey&#96;) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ;

Then, install again HikaShop and hopefully you should get back your categories.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzUzMTM2LXJlc29sdmVkLWRlbGV0ZS1jYXRlZ29yaWVzLXRvLXN0YXJ0LXNob3Atb3Zlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[scottshort](/forum/user/5142-scottshort "View scottshort's Profile")**
- [![scottshort's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5142.jpg)](/forum/user/5142-scottshort "View scottshort's Profile") Topic Author
- [ Offline](/forum/user/5142-scottshort)
- Respect the Stash

Less More

- Posts: 76
- Thank you received: 1
-
-
-
-

14 years 5 months ago -  14 years 5 months ago [\#53538](#53538) by [scottshort](/forum/user/5142-scottshort "View scottshort's Profile")  Replied by *[scottshort](/forum/user/5142-scottshort "View scottshort's Profile")* on topic *[Re: Delete Categories to Start shop over](/forum/4-how-to/53136-resolved-delete-categories-to-start-shop-over#53538 "Hi  I need to delete categories I created at root so I can re-enter them correctly in Products Category. I am getting an error message when I try to do this: &quot;You cannot delete a default category&quot;. Is there a way around this in Hikashop, or a way to delete these categories in cPanel? How do I delete them?  Thanks Scott")*

Hi Nicolas, I ran the script, but then I realized that all of my tables have prefix: **avphn** and this script made table with prefix **jos** ... and I still only see blank directory without default categories. Should I just rerun the script using avphn prefix instead of jos? Or do I need to delete this jos table first? If so, please give the comands to do that. Thanks again for your help with this and sorry for bother.

Regards
Scott

[ ![jos-or-avphn.jpg](/forum/attachment/4234) ](/forum/attachment/4234 "jos-or-avphn.jpg")

[ ![avphn-hikashop.jpg](/forum/attachment/4235) ](/forum/attachment/4235 "...n-hikashop.jpg")

- [ ![jos-or-avphn.jpg](/forum/attachment/4234) ](/forum/attachment/4234 "jos-or-avphn.jpg") [ ](/forum/attachment/4234?download=1 "jos-or-avphn.jpg")
- [ ![avphn-hikashop.jpg](/forum/attachment/4235) ](/forum/attachment/4235 "...n-hikashop.jpg") [ ](/forum/attachment/4235?download=1 "...n-hikashop.jpg")

Last edit: 14 years 5 months ago by [scottshort](/forum/user/5142-scottshort "View scottshort's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzUzMTM2LXJlc29sdmVkLWRlbGV0ZS1jYXRlZ29yaWVzLXRvLXN0YXJ0LXNob3Atb3Zlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

14 years 5 months ago [\#53545](#53545) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Delete Categories to Start shop over](/forum/4-how-to/53136-resolved-delete-categories-to-start-shop-over#53545 "Hi  I need to delete categories I created at root so I can re-enter them correctly in Products Category. I am getting an error message when I try to do this: &quot;You cannot delete a default category&quot;. Is there a way around this in Hikashop, or a way to delete these categories in cPanel? How do I delete them?  Thanks Scott")*

Yes, you need to change the prefix of the table in the query. No need to delete the table.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzUzMTM2LXJlc29sdmVkLWRlbGV0ZS1jYXRlZ29yaWVzLXRvLXN0YXJ0LXNob3Atb3Zlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[scottshort](/forum/user/5142-scottshort "View scottshort's Profile")**
- [![scottshort's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5142.jpg)](/forum/user/5142-scottshort "View scottshort's Profile") Topic Author
- [ Offline](/forum/user/5142-scottshort)
- Respect the Stash

Less More

- Posts: 76
- Thank you received: 1
-
-
-
-

14 years 5 months ago [\#53581](#53581) by [scottshort](/forum/user/5142-scottshort "View scottshort's Profile")  Replied by *[scottshort](/forum/user/5142-scottshort "View scottshort's Profile")* on topic *[Re: Delete Categories to Start shop over](/forum/4-how-to/53136-resolved-delete-categories-to-start-shop-over#53581 "Hi  I need to delete categories I created at root so I can re-enter them correctly in Products Category. I am getting an error message when I try to do this: &quot;You cannot delete a default category&quot;. Is there a way around this in Hikashop, or a way to delete these categories in cPanel? How do I delete them?  Thanks Scott")*

Hi Nicolas,

I installed the table as you can see in first pic:

[ ![category-table-created.jpg](/forum/attachment/4239) ](/forum/attachment/4239 "...le-created.jpg")

But still no default folders showing on add category page... can you see if i did anything wrong? Any additional suggestions?

[ ![no-folders.jpg](/forum/attachment/4240) ](/forum/attachment/4240 "no-folders.jpg")

Thanks again for your help.

Scott

- [ ![category-table-created.jpg](/forum/attachment/4239) ](/forum/attachment/4239 "...le-created.jpg") [ ](/forum/attachment/4239?download=1 "...le-created.jpg")
- [ ![no-folders.jpg](/forum/attachment/4240) ](/forum/attachment/4240 "no-folders.jpg") [ ](/forum/attachment/4240?download=1 "no-folders.jpg")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzUzMTM2LXJlc29sdmVkLWRlbGV0ZS1jYXRlZ29yaWVzLXRvLXN0YXJ0LXNob3Atb3Zlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

14 years 5 months ago [\#53583](#53583) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Delete Categories to Start shop over](/forum/4-how-to/53136-resolved-delete-categories-to-start-shop-over#53583 "Hi  I need to delete categories I created at root so I can re-enter them correctly in Products Category. I am getting an error message when I try to do this: &quot;You cannot delete a default category&quot;. Is there a way around this in Hikashop, or a way to delete these categories in cPanel? How do I delete them?  Thanks Scott")*

Now that you added the table, you need to install HikaShop again so that it can fill the table.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzUzMTM2LXJlc29sdmVkLWRlbGV0ZS1jYXRlZ29yaWVzLXRvLXN0YXJ0LXNob3Atb3Zlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[scottshort](/forum/user/5142-scottshort "View scottshort's Profile")**
- [![scottshort's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5142.jpg)](/forum/user/5142-scottshort "View scottshort's Profile") Topic Author
- [ Offline](/forum/user/5142-scottshort)
- Respect the Stash

Less More

- Posts: 76
- Thank you received: 1
-
-
-
-

14 years 5 months ago -  14 years 5 months ago [\#53630](#53630) by [scottshort](/forum/user/5142-scottshort "View scottshort's Profile")  Replied by *[scottshort](/forum/user/5142-scottshort "View scottshort's Profile")* on topic *[Re: Delete Categories to Start shop over](/forum/4-how-to/53136-resolved-delete-categories-to-start-shop-over#53630 "Hi  I need to delete categories I created at root so I can re-enter them correctly in Products Category. I am getting an error message when I try to do this: &quot;You cannot delete a default category&quot;. Is there a way around this in Hikashop, or a way to delete these categories in cPanel? How do I delete them?  Thanks Scott")*

Hi Nicolas

I now have product category folder. See first pic:

[ ![product-category-ok.jpg](/forum/attachment/4244) ](/forum/attachment/4244 "...ategory-ok.jpg")

But what about the other category folders that I had access to before [see first post]?

I can still reach the Brand Category folder via the Brand Manager page, and the Tax Category folder via the Tax Category Manager page, but I see no way to reach the order status category folder.

Do you suggest that I need to do something further regarding these category folders?

Regards
Scott

- [ ![product-category-ok.jpg](/forum/attachment/4244) ](/forum/attachment/4244 "...ategory-ok.jpg") [ ](/forum/attachment/4244?download=1 "...ategory-ok.jpg")

Last edit: 14 years 5 months ago by [scottshort](/forum/user/5142-scottshort "View scottshort's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzUzMTM2LXJlc29sdmVkLWRlbGV0ZS1jYXRlZ29yaWVzLXRvLXN0YXJ0LXNob3Atb3Zlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

14 years 5 months ago [\#53634](#53634) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Delete Categories to Start shop over](/forum/4-how-to/53136-resolved-delete-categories-to-start-shop-over#53634 "Hi  I need to delete categories I created at root so I can re-enter them correctly in Products Category. I am getting an error message when I try to do this: &quot;You cannot delete a default category&quot;. Is there a way around this in Hikashop, or a way to delete these categories in cPanel? How do I delete them?  Thanks Scott")*

The order statuses can be accessed via System-&gt;Order statuses.
That's the normal behavior. There is nothing else to do.

The following user(s) said Thank You: [scottshort](/forum/user/5142-scottshort "View scottshort's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzUzMTM2LXJlc29sdmVkLWRlbGV0ZS1jYXRlZ29yaWVzLXRvLXN0YXJ0LXNob3Atb3Zlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[scottshort](/forum/user/5142-scottshort "View scottshort's Profile")**
- [![scottshort's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar5142.jpg)](/forum/user/5142-scottshort "View scottshort's Profile") Topic Author
- [ Offline](/forum/user/5142-scottshort)
- Respect the Stash

Less More

- Posts: 76
- Thank you received: 1
-
-
-
-

14 years 5 months ago [\#53643](#53643) by [scottshort](/forum/user/5142-scottshort "View scottshort's Profile")  Replied by *[scottshort](/forum/user/5142-scottshort "View scottshort's Profile")* on topic *[Re: Delete Categories to Start shop over](/forum/4-how-to/53136-resolved-delete-categories-to-start-shop-over#53643 "Hi  I need to delete categories I created at root so I can re-enter them correctly in Products Category. I am getting an error message when I try to do this: &quot;You cannot delete a default category&quot;. Is there a way around this in Hikashop, or a way to delete these categories in cPanel? How do I delete them?  Thanks Scott")*

Thanks Nicolas - all resolved.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzUzMTM2LXJlc29sdmVkLWRlbGV0ZS1jYXRlZ29yaWVzLXRvLXN0YXJ0LXNob3Atb3Zlcj90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.126 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
