Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Posted

Oops! What have I done? I thought I was deleting the categories, just as I had deleted the 'products' table by clicking "Empty" in PHPMyAdmin, but something tells me that the 'category' table is different form the 'products' table, in an important way. What do I do now? re-install everything?

 

Now when I try to use EP to upload my file, it says:

Error 1062 - Duplicate entry '1-1' for key 1 which takes me back to the SQL, but I don't know what I did when I "emptied the category table". Can someone please help me rebuild it? Maybe there is another way to fix this problem?

 

EP just got finished downloading splitting and uploading a file, but I made the mistake of wrong product_model, and went back to empty my databse tables... I still don't see what I could've done?

 

Thanks,

 

Morrie

Posted

Yep. You shouldn't have done that. If you're going to delete portions of the database with phpMyAdmin, you'd better know what you're doing.

 

The categories table is referenced by products_to_categories and categories_description. You're best off restoring from backup and doing it properly.

 

-jared

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...