Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22
  1. #11
    Join Date
    Jan 2008
    Posts
    21
    Plugin Contributions
    0

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

    I think I'm going to just try to change the code first and see what happens (I'll of course do a backup first).

    If I was to find the code needed to change as you mentioned, where would I go about looking?

    I'm going to assume \includes\modules\payment\paypal but than where?

    Doing the upgrade to v1.3.8 and saving everything looks like it's more than I think I can handle at the moment...

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

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

    The SQL statement I posted earlier is something you would run via phpMyAdmin or Admin->Tools->Install SQL Patch
    .

    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. #13
    Join Date
    Jan 2008
    Posts
    21
    Plugin Contributions
    0

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

    Quote Originally Posted by DrByte
    Code:
    ALTER TABLE paypal CHANGE order_id  zen_order_id int(11) unsigned NOT NULL default '0';
    That did it!

    Thanks a TON! I really really really appreciate it!

    So I'm going to assume that since that fixed the problem that I should upgrade to v1.3.8 anyways?

  4. #14
    Join Date
    Dec 2007
    Location
    Sydney Australia
    Posts
    21
    Plugin Contributions
    0

    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.

    I appreciate the help. Let me know if you need any more info.

    Thanks!
    Exact same problem I am having at the moment.
    I installed 1.3.7 but updated to 1.3.8

  5. #15
    Join Date
    Dec 2007
    Location
    Sydney Australia
    Posts
    21
    Plugin Contributions
    0

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

    Quote Originally Posted by Lead_Not_Follow View Post
    That did it!

    Thanks a TON! I really really really appreciate it!

    So I'm going to assume that since that fixed the problem that I should upgrade to v1.3.8 anyways?
    Holy ########!!!

    That fixed it also ...
    thankyou very much.

  6. #16
    Join Date
    Apr 2008
    Posts
    8
    Plugin Contributions
    0

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

    hi
    i have the same problem with paypal and my mysql say this here after putting in the code:

    #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1



    what can i do?

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

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

    Quote Originally Posted by demotex View Post
    what can i do?
    The *best* way to deal with the "unknown column 'zen_order_id'" message is to upgrade properly to v1.3.8.
    *EVERY* other approach is playing with fire by having mixed versions of PHP vs database.
    .

    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.

  8. #18
    Join Date
    Apr 2008
    Posts
    8
    Plugin Contributions
    0

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

    hi drbyte
    i am already working with version 1.3.8a
    what can i do?

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

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

    "zen_order_id" was changed to "order_id" in v1.3.8. So, if you're getting errors about "zen_order_id", then you've got code on your site that doesn't match your database. Either you've missed something in an upgrade, or you've installed outdated addons or a combination thereof.
    .

    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.

  10. #20
    Join Date
    Apr 2008
    Posts
    8
    Plugin Contributions
    0

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

    hi
    i installed 1.3.8a and no addons
    is 1.3.8a the same like 1.3.8?

 

 
Page 2 of 3 FirstFirst 123 LastLast

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

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