Page 1 of 3 123 LastLast
Results 1 to 10 of 23
  1. #1
    Join Date
    Mar 2006
    Location
    Los Angeles
    Posts
    287
    Plugin Contributions
    3

    Default All categories and products are gone

    Hello,

    I am working on a site that was working fine up intil maybe an hour ago.
    I got a call from my client telling me that all the products dissapeared.

    I just checked and all the categories and products are gone. I am wondering if someone hacked the site. This site isn't even live yet.

    I really have no idea where to start investigating want went wrong.

    User error? I don't think my client could have deleted ALL the categories by accident unless there is a button to delete everything at the same time.
    Everything else on the site is intact.

    Is there a log I can check for activity?

    Any help in resolving this issue would be greatly appreciated.

  2. #2
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: All categories and products are gone

    Look at the database via phpMyAdmin, is there information in the tables? What does the host have to say?

  3. #3
    Join Date
    Mar 2006
    Location
    Los Angeles
    Posts
    287
    Plugin Contributions
    3

    Default Re: All categories and products are gone

    I was on the phone with GoDaddy but they didn't find anything. Just in case I'm going to change the admin folder which I was waiting to do right before launch. Now I know better.

    I have a last hope that I'll be able to restore the database.
    Coincidentally, last night I installed the SQL backup utility and I was testing it.
    I downloaded a backup successfully but when I tried testing the restore process on a separate store, it didn't work. I just viewed the sql file and it looks good so my last hope is to import it through phpmyadmin.

  4. #4
    Join Date
    Mar 2006
    Location
    Los Angeles
    Posts
    287
    Plugin Contributions
    3

    Default Re: All categories and products are gone

    I just noticed this at the end of the sql file

    Code:
    <div class="systemError">2013 Lost connection to MySQL server during query<br />in:<br />[select count(*) as total from sessions where sesskey = '3696b2ded4103e85d1c0d75700172a42']<br />If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.<br /></div><br />
    <b>Warning</b>:  Unknown(): A session is active. You cannot change the session module's ini settings at this time. in <b>Unknown</b> on line <b>0</b><br />

  5. #5
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: All categories and products are gone

    Surely you have posted this in the potential-hacks area for a reason.
    Have you followed the recommended steps for recovering from hacks and protecting yourself from intrusion?
    See link at the top of this section, or here, or in the wiki:
    http://www.zen-cart.com/wiki/index.p...ing_From_Hacks
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Mar 2006
    Location
    Los Angeles
    Posts
    287
    Plugin Contributions
    3

    Default Re: All categories and products are gone

    I just saw the admin_activity_log with phpmyadmin and I see where the categories were deleted by admin ID 3. I shouldn't have deleted the 2 other admin accounts to see which one was admin 3.

    The categories were definitely removed through the zen admin.

    7801 2006-09-30 16:20:46 3 categories.php cPath=5_38_43&cID=44&action=delete_category& 69.106.207.151
    7802 2006-09-30 16:20:49 3 categories.php action=delete_category_confirm&cPath=5_38_43& 69.106.207.151
    7803 2006-09-30 16:20:51 3 categories.php cPath=5_38_43& 69.106.207.151
    7804 2006-09-30 16:21:13 3 categories.php cPath=5_38&cID=43& 69.106.207.151
    7805 2006-09-30 16:21:20 3 categories.php cPath=5_38_43& 69.106.207.151
    7806 2006-09-30 16:21:29 3 categories.php cPath=5_38_43&action=new_category& 69.106.207.151
    7807 2006-09-30 16:22:03 3 categories.php cPath=5_38_43& 69.106.207.151
    7808 2006-09-30 16:22:22 3 categories.php cPath=5_38_43&action=new_category& 69.106.207.151
    7809 2006-09-30 16:23:29 3 categories.php cPath=5_38_43& 69.106.207.151
    7810 2006-09-30 16:24:15 3 categories.php cPath=5_38_43&cID=44&action=delete_category& 69.106.207.151
    7811 2006-09-30 16:24:26 3 categories.php action=delete_category_confirm&cPath=5_38_43& 69.106.207.151
    7812 2006-09-30 16:24:31 3 categories.php action=delete_category_confirm&cPath=5_38_43& 69.106.207.151
    7813 2006-09-30 16:24:33 3 categories.php cPath=5_38_43& 69.106.207.151
    7814 2006-09-30 16:27:31 3 categories.php cPath=5_38_43&cID=44&action=delete_category& 69.106.207.151
    7815 2006-09-30 16:27:38 3 categories.php cPath=5_38_43& 69.106.207.151

  7. #7
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: All categories and products are gone

    Look in your back up for the Admins.

  8. #8
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: All categories and products are gone

    69.106.207.151 Location: United States [City: Los Angeles, California]
    adsl-69-106-207-151.dsl.irvnca.pacbell.net


    Do you have a older database backup in which you could look up the name of admin #3 ?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  9. #9
    Join Date
    Mar 2006
    Location
    Los Angeles
    Posts
    287
    Plugin Contributions
    3

    Default Re: All categories and products are gone

    I just looked in the backup and admin 3 was an account I created for my client but I hadn't given him the login info yet.

    I need to verify if that is or isn't his ip address.
    If it isn't then it was definitely a hack.


    btw,

    I am trying to import my backup but it keeps timing out.
    The largest part of the sql file is the admin activity log. Can I remove that whole section?

  10. #10
    Join Date
    Mar 2006
    Location
    Los Angeles
    Posts
    287
    Plugin Contributions
    3

    Default Re: All categories and products are gone

    I am now wondering if I got hacked.
    My e-mail address was setup for that admin account.

    Yesterday when I went into Outlook, it began to download about a month or two worth of old email messages AGAIN. emails that I already had and some that I had deleted.

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Replies: 7
    Last Post: 16 Aug 2012, 06:31 PM
  2. All categories are gone! What happened? How do I fix it?
    By bparker in forum General Questions
    Replies: 6
    Last Post: 1 Nov 2010, 08:41 PM
  3. All categories and products gone!
    By arovuo in forum Bug Reports
    Replies: 7
    Last Post: 26 Jul 2007, 02:33 AM

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