Results 1 to 7 of 7
  1. #1
    Join Date
    Jun 2004
    Posts
    613
    Plugin Contributions
    0

    Default help - order number problems after upgrade

    ok

    I upgraded the shop to the latest version from 1.2.4

    Customer placed order but had problems so I logged in as himand finished it. It created a new order as order number 0.

    I used the 'change order number feature' and re numbered 0 to 2500. Then I created a test order to test it. the test order is order number 0 again

    Where does it get the next order number from?

    TIA

  2. #2
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: help - order number problems after upgrade

    There are a huge number of possibilities here.

    What payment module are you using when doing these tests?
    What addons/contributions are installed?
    What customizations exist in this store?
    What procedures did you follow to do the upgrade?
    .

    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
    Jun 2004
    Posts
    613
    Plugin Contributions
    0

    Default Re: help - order number problems after upgrade

    Quote Originally Posted by DrByte View Post
    There are a huge number of possibilities here.

    What payment module are you using when doing these tests?
    What addons/contributions are installed?
    What customizations exist in this store?
    What procedures did you follow to do the upgrade?
    Protx
    master password, multisite and column layout
    mostly just css stuff
    started with a new store and added my template

    trying to find where it actually creates the order. Shirley that's one page?

    Thanks

  4. #4
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: help - order number problems after upgrade

    Try check/money order to see if it is the payment
    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  5. #5
    Join Date
    Jun 2004
    Posts
    613
    Plugin Contributions
    0

    Default Re: help - order number problems after upgrade

    Quote Originally Posted by Kim View Post
    Try check/money order to see if it is the payment
    :) I did

    ok it seems that my orders table needed the orders id to be set to autoincrement and I needed to add and orders_id field to the beginning of the $sql_data_array

    I'm pretty sure I've just bodged it but it's working right now.

    thanks

  6. #6
    Join Date
    Jun 2003
    Posts
    33,721
    Plugin Contributions
    0

    Default Re: help - order number problems after upgrade

    Please do not PM for support issues: a private solution doesn't benefit the community.

    Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: help - order number problems after upgrade

    Quote Originally Posted by Chrome Orange View Post
    ok it seems that my orders table needed the orders id to be set to autoincrement
    Yes, and in fact, if your orders table "lost" its auto-increment configuration, you might be advised to check out *all* your tables and make sure the appropriate ones have appropriate auto_increment settings in them.
    Sometimes doing export/imports between MySQL versions will drop that setting, leaving you with odd results.

    Quote Originally Posted by Chrome Orange View Post
    and I needed to add and orders_id field to the beginning of the $sql_data_array
    Depending on your module, that may or may not matter much.
    .

    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. After upgrade, telephone number field is empty
    By jarvis_ht2000 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 2
    Last Post: 14 Oct 2010, 04:18 AM
  2. Help with Order Status Issue after Upgrade
    By jill8026 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 3
    Last Post: 26 Jul 2010, 07:34 PM
  3. order not showing up after paypal payment after upgrade
    By ericw in forum General Questions
    Replies: 6
    Last Post: 25 May 2008, 06:54 PM
  4. Problems after MYSQL upgrade - Please help
    By gosvald in forum Installing on a Linux/Unix Server
    Replies: 1
    Last Post: 12 Jul 2007, 09:20 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