Results 1 to 10 of 22

Threaded View

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

    Default Re: 1054 Unknown column 'zen_order_id' in 'where clause'

    Quote Originally Posted by Lead_Not_Follow View Post
    I can go in and edit any order not payed with via PayPal, however I get the above error on all PayPal orders.

    ...

    I just did a test order via PayPal and the order process works fine.
    It doesn't make sense that you can place an order via PayPal without error, but cannot edit/view the order details via the admin ... unless you have installed a 1.3.8 PayPal module somewhere, or have altered the database in some way.

    Anyway, you seem to believe that none of that has happened, so just go and manually fudge your database back to the old format and pray that everything else is fine. I DO NOT RECOMMEND THIS APPROACH, because I believe something else is wrong, but this is a bandage you can try at your own risk.
    Code:
    ALTER TABLE paypal CHANGE order_id  zen_order_id int(11) unsigned NOT NULL default '0';
    If that doesn't solve it, delete your database and your Zen Cart install, and start over from scratch.

    You might consider installing v1.3.8 instead, since 1.3.7 is more than a year old.
    Last edited by DrByte; 2 Feb 2008 at 10:54 PM. Reason: revised SQL
    .

    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. 1054 Unknown column 'zen_order_id' in 'where clause'
    By JDMEngineLand in forum Built-in Shipping and Payment Modules
    Replies: 6
    Last Post: 23 Feb 2010, 08:28 PM
  2. 1054 Unknown column 'zen_order_id' in 'where clause'
    By Lyon in forum General Questions
    Replies: 1
    Last Post: 17 Feb 2009, 08:00 PM
  3. 1054 Unknown column 'zen_order_id' in 'where clause'
    By atomic_s in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 9 Feb 2009, 11:11 AM
  4. 1054 Unknown column 'zen_order_id' in 'where clause'
    By heerosferret in forum General Questions
    Replies: 2
    Last Post: 16 Jan 2009, 11:21 PM
  5. 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

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