Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2007
    Location
    Edinburgh, Scotland
    Posts
    243
    Plugin Contributions
    1

    Default Nochex: 1054 Unknown column 'order_id' in 'where clause'

    Hi there,

    I've just upgraded to 1.3.8 and am having problems with the Nochex module. In 1.3.7.1 i had the Nochex module installed and working OK, however, after upgrade, i get the following error message when i try to view an order prior to the upgrade that was paid for via Nochex:

    1054 Unknown column 'order_id' in 'where clause'
    in:
    [select * from nochex_apc_transactions where order_id = '90140' order by nochex_apc_id DESC LIMIT 1]
    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.

    I believe that the problem has to do with the difference in the Nochex module code and the integrated Nochex module in 1.3.8 and the way they create tables.

    I am moving from Nochex to Paypal Website Payments Pro but will need to be able to access older orders paid for via Nochex on the new site. All of these changes have been done on a beta site.

    Any help on how to solve this problem would be much appreciated.

    Thanks,
    Fergus

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

    Default Re: Nochex: 1054 Unknown column 'order_id' in 'where clause'

    Go to Admin->Tools->Install SQL Patch
    and paste this into the query field, and click Send:
    Code:
    ALTER TABLE nochex_apc_transactions CHANGE COLUMN zen_order_id order_id int(11) NOT NULL default '0';
    .

    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
    Oct 2007
    Location
    Edinburgh, Scotland
    Posts
    243
    Plugin Contributions
    1

    Default Re: Nochex: 1054 Unknown column 'order_id' in 'where clause'

    That is absolutely FANTASTIC.

    Thank you very much indeed, your help is greatly appreciated.

    Fergus

 

 

Similar Threads

  1. 1054 Unknown column 'zen_order_id' in 'where clause'
    By jchrinko in forum General Questions
    Replies: 1
    Last Post: 24 Apr 2010, 04:57 AM
  2. 1054 Unknown column 'zen_order_id' in 'where clause'
    By mtrantas in forum Built-in Shipping and Payment Modules
    Replies: 21
    Last Post: 19 Apr 2009, 02:18 PM
  3. 1054 Unknown column 'p.zen_order_id' in 'where clause'
    By alamocdc in forum Basic Configuration
    Replies: 5
    Last Post: 23 Jul 2008, 02:18 PM
  4. 1054 Unknown column 'order_id' in 'where clause' using nochex payment module
    By PGlad in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 26 Mar 2008, 08:39 AM
  5. 1054 Unknown column 'products_id' in 'where clause'
    By Darkwander in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 15 Jun 2006, 10:59 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