Thread: Duplicate order

Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Mar 2019
    Posts
    17
    Plugin Contributions
    0

    Default Duplicate order

    Hi guys,

    Yesterday all my orders from zencart show up as a duplicate. In the orders menu its shows the real one and a duplicate with a random cash amount and a wrong date. The email that gets send is good, but when i check the order it has a random value added to the total amount even tho the price of the product is good. Can anyone give me some tips on where this could be fixed? I havent done any changes to the site in over a year, all i have done is to add text to ez pages and products.

  2. #2
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,058
    Plugin Contributions
    61

    Default Re: Duplicate order

    What version of Zen Cart? What version of PHP?

    ~Melanie
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

  3. #3
    Join Date
    Mar 2019
    Posts
    17
    Plugin Contributions
    0

    Default Re: Duplicate order

    zencart 1.5.0 and php 5.6.4

  4. #4
    Join Date
    Jul 2012
    Posts
    16,753
    Plugin Contributions
    17

    Default Re: Duplicate order

    Besides a possible compatibility issue, there may be something associated with the checkout_confirmation page where the button remains accessible to click again but the site is taking a while to process and therefore the order gets logged multiple times. But basically Zen Cart 1.5.0 was not ready to support php 5.6 when it was released. That's why later versions were issued so that they could properly handle newer php versions. The recommended upgrade by reinstallation is covered here: http://www.zen-cart.com/entry.php?3-...d-of-upgrading
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5
    Join Date
    Mar 2019
    Posts
    17
    Plugin Contributions
    0

    Default Re: Duplicate order

    i dont think its a button issue since from what i can see since its not the same product multiple times or same order. it seems to keep adding some random test order from 2016 (even the comments for the order in the status bar). is there a way to find this test order and remove it? i dont seem to find it in the orders menu since it was deleted from there but it should still be in the database since it keeps poping up. also what i have noticed is the order id keeps skipping, for example i have order 168 168 then 170 170 and so on (the duplicate shares the id even tho they both redirect to the same order)

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,633
    Plugin Contributions
    88

    Default Re: Duplicate order

    What payment method(s) are being used when the order is duplicated? Are there any myDEBUG*.log files in the site's /cache directory?

  7. #7
    Join Date
    Mar 2019
    Posts
    17
    Plugin Contributions
    0

    Default Re: Duplicate order

    order is duplicated for both cash on delivery or card. in the cache i seem to have a couple files that get made daily. in the most recent i have 4 PHP warnings, 2 are Missing argument 2 for zen_round(), and 2 are Missing argument 2 for currencies::display_price(), both are located in order.php

  8. #8
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,058
    Plugin Contributions
    61

    Default Re: Duplicate order

    Can you remove the private directory names and post the log?
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

  9. #9
    Join Date
    Mar 2019
    Posts
    17
    Plugin Contributions
    0

    Default Re: Duplicate order

    sure, here it is

    [23-Sep-2019 11:34:35 Europe/Bucharest] PHP Warning: Missing argument 2 for zen_round(), called in /xxxx/xxxx/public_html/shop/zc_admin/orders.php on line 630 and defined in /xxxx/xxxx/public_html/shop/zc_admin/includes/functions/general.php on line 1629
    [23-Sep-2019 11:34:35 Europe/Bucharest] PHP Warning: Missing argument 2 for currencies::display_price(), called in /xxxx/xxxx/public_html/shop/zc_admin/orders.php on line 631 and defined in /xxxx/xxxx/public_html/shop/zc_admin/includes/classes/currencies.php on line 60
    [23-Sep-2019 11:34:35 Europe/Bucharest] PHP Warning: Missing argument 2 for zen_round(), called in /xxxx/xxxx/public_html/shop/zc_admin/orders.php on line 632 and defined in /xxxx/xxxx/public_html/shop/zc_admin/includes/functions/general.php on line 1629
    [23-Sep-2019 11:34:35 Europe/Bucharest] PHP Warning: Missing argument 2 for currencies::display_price(), called in /xxxx/xxxx/public_html/shop/zc_admin/orders.php on line 634 and defined in /xxxx/xxxx/public_html/shop/zc_admin/includes/classes/currencies.php on line 60

  10. #10
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,058
    Plugin Contributions
    61

    Default Re: Duplicate order

    It looks like the function was previously modified and then another plugin installed over it without merging to me. It's looking for another parameter. What mods do you have installed? Recent?

    ~Melanie
    PRO-Webs, Inc. :: Recent Zen Cart Projects :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are NOT answered. You are welcome to contact us via our website for professional engagements.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. [Duplicate] order.php
    By danilovig in forum Bug Reports
    Replies: 1
    Last Post: 27 Jul 2010, 05:30 PM
  2. Duplicate Sort Order
    By phlegma in forum Basic Configuration
    Replies: 0
    Last Post: 23 Mar 2008, 03:01 AM
  3. Creates duplicate order number but no order in cart
    By songenterprises in forum Managing Customers and Orders
    Replies: 1
    Last Post: 7 Nov 2007, 06:00 AM

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