Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2007
    Posts
    2
    Plugin Contributions
    0

    Default Problem in pending orders

    I am using Zen Cart v1.3.8a/v1.3.8

    Some days ago, I had a problem that I could not see the orders. This happened after I switched off something from the admin pannel by mistake. After I contacted my web server administrator, he tried to solve this problem, and with my concent he deleted some orders.

    The he realised that it was my mistake, switched the item on again and everything became fine.

    Now the problem is that in the admin pannel i am still viewing 9 orders pending but when you click you will find nothing. If a new order is made, I will find 10 pending but when ou click on it you will only find 1. So the counter is displaying that there are 9 orders extra (probably is that my administrator deleted 9 orders).
    Is there any way of resetting the number to 0
    and
    very unlikely but is it possible to retrive the deleted orders?

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Problem in pending orders

    Sounds like he deleted the orders from the "orders" table by manually hacking away at data via phpMyAdmin instead of using the "delete" button in your admin. That has left all kinds of other records out of sync.
    You can "retrieve" the deleted orders by restoring those deleted records from the backup you made of the database before you went in and deleted things. You do make regular backups right?
    Restoring those specific records will require very careful study of the database backup file to identify the right ones before loading JUST those ones into your database. I STRONGLY recommend you commission that task to someone who knows what they're doing when it comes to database content.

    Or, if you want to delete all the other components of those orders, go and hack away in phpMyAdmin and delete the corresponding records from all the other tables that store order details: http://www.zen-cart.com/wiki/index.p...#Order_History


    REMEMBER: Manually hacking at raw database data can cause unpredictable results in your store, and if done incorrectly can cause serious data corruption, rendering your store unusable. PROCEED AT YOUR OWN RISK, and ALWAYS make backups before making changes to anything.
    .

    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.

  3. #3
    Join Date
    Apr 2007
    Posts
    2
    Plugin Contributions
    0

    Default Re: Problem in pending orders

    thanks very much for your support. To tell you the truth i never made backups of the database.

    could you please tell me how?

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Problem in pending orders

    This is one of a few ways to do a database backup by extracting its contents to a file you can store on your PC or CD for safekeeping: https://www.zen-cart.com/tutorials/i...hp?article=103
    .

    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.

 

 

Similar Threads

  1. v150 Pending Credit Card Orders - Not posting orders after manual approval
    By CherVickers in forum Built-in Shipping and Payment Modules
    Replies: 20
    Last Post: 3 Jan 2015, 05:28 PM
  2. Intermittent Coupon Problem -- orders marked Pending
    By Rasyr in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 5
    Last Post: 4 Apr 2011, 08:11 AM
  3. Pending orders
    By scorpio4646 in forum Managing Customers and Orders
    Replies: 6
    Last Post: 27 Aug 2009, 05:17 PM
  4. "Reviews Pending Approval" Link is active, but no reviews pending... problem...
    By dontknowwhatimdoing in forum Customization from the Admin
    Replies: 7
    Last Post: 12 Aug 2008, 05:01 AM
  5. Pending Orders Inacurate
    By mdegeiso in forum Managing Customers and Orders
    Replies: 0
    Last Post: 12 Jun 2007, 08:32 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR