Page 1 of 3 123 LastLast
Results 1 to 10 of 24
  1. #1
    Join Date
    Mar 2008
    Posts
    268
    Plugin Contributions
    0

    Default All My Categories & Products Have Been Deleted... HELP!

    I was adding new products to the back end and the computer crashed and when i reloaded all my categories and products have been deleted. What can i do?

    www.dpmautostyling.co.uk

  2. #2
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: All My Categories & Products Have Been Deleted... HELP!

    When you say "back end", what do you mean? Were you performing a SQL command to upload data?

  3. #3
    Join Date
    Mar 2008
    Posts
    268
    Plugin Contributions
    0

    Default Re: All My Categories & Products Have Been Deleted... HELP!

    I was in the admin backend adding new products.

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: All My Categories & Products Have Been Deleted... HELP!

    If you look at your database tables for
    products
    products_description
    categories
    categories_description
    products_to_categories

    do you see your data in them?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Mar 2008
    Posts
    268
    Plugin Contributions
    0

    Default Re: All My Categories & Products Have Been Deleted... HELP!

    Where are the data base tables?

    When in the admin/backend if you look in the Catalog - Categories/Products section there's nothing there.

  6. #6
    Join Date
    Apr 2008
    Location
    London
    Posts
    596
    Plugin Contributions
    0

    Default Re: All My Categories & Products Have Been Deleted... HELP!

    Of course, you can always reinstall the database from your last back-up.
    You did back-up, right?

  7. #7
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: All My Categories & Products Have Been Deleted... HELP!

    The database is SEPARATE from the core files.

    You will need to login to your host admin account on your server, then use the MySQL function there to access your database.

    On a server with C-Panel, this is usually via a program called phpMyAdmin.

  8. #8
    Join Date
    Mar 2008
    Posts
    268
    Plugin Contributions
    0

    Default Re: All My Categories & Products Have Been Deleted... HELP!

    Getting this message when trying to fix it...

    SQL query:
    INSERT INTO `zen_product_types`
    VALUES ( 1, 'Product - General', 'product', 1, 'Y', '', '2005-06-14 22:59:11', '2005-06-14 22:59:11' ) , ( 2, 'Product - Music', 'product_music', 1, 'Y', '', '2005-06-14 22:59:11', '2005-06-14 22:59:11' ) , ( 3, 'Document - General', 'document_general', 3, 'N', '', '2005-06-14 22:59:11', '2005-06-14 22:59:11' ) , ( 4, 'Document - Product', 'document_product', 3, 'Y', '', '2005-06-14 22:59:11', '2005-06-14 22:59:11' ) , ( 5, 'Product - Free Shipping', 'product_free_shipping', 1, 'Y', '', '2005-06-14 22:59:11', '2005-06-14 22:59:11' ) ;

    MySQL said:
    #1062 - Duplicate entry '1' for key 1

    Anyone know what it means?

  9. #9
    Join Date
    Jan 2008
    Posts
    1,700
    Plugin Contributions
    6

    Default Re: All My Categories & Products Have Been Deleted... HELP!

    It means you're trying to insert data which already exists. What are you attempting to do, an entire import? You haven't answered Ajeh's question.

  10. #10
    Join Date
    Aug 2005
    Posts
    66
    Plugin Contributions
    0

    Default Re: All My Categories & Products Have Been Deleted... HELP!

    Hi! I help out with DPM's site and am trying to sort the problem for...

    If you check www.dpmautostyling.co.uk you can the problem - the categories are missing. Apparently DPM was in the middle of updating some stuff in the admin and suffered a crash and that is the result. I thought a simple dbase restore would cure the problem but when trying to restore that sql message is encountered. Drop tables and create table are both present in the sql backup.

    @ ajeh - yes those tables are all present and contain data
    @ bigbadboy - yes daily updates are in place. The sql used was from the last available backup.


    In addition when I checked the dbase several tables were in need of repair. These now all report as being OK.

    Hope the extra info helps...

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. v139h Finding all products that have been assigned an attribute.
    By bi11i in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 28 Aug 2012, 02:20 PM
  2. Has problem with deleted products in NEW PRODUCTS been resolved?
    By kevinmc3 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 7 May 2009, 10:13 AM
  3. Replies: 1
    Last Post: 30 Nov 2007, 05:05 PM
  4. All of my products have been deleted!
    By canemasters in forum General Questions
    Replies: 4
    Last Post: 12 Oct 2007, 02:47 AM
  5. Help! Product Categories all Deleted
    By jhaydon in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 6 Sep 2007, 07:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg