Forums / Built-in Shipping and Payment Modules / 1054 Unknown column 'zen_order_id' in 'where clause'

1054 Unknown column 'zen_order_id' in 'where clause'

Locked

Views: 1,588

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
31 Jan 2009, 7:22 AM
#1
atomic_s avatar

atomic_s

New Zenner

Join Date:
Nov 2007
Location:
Ukraine
Posts:
34
Plugin Contributions:
0

1054 Unknown column 'zen_order_id' in 'where clause'

I have paypal payment, but in my admin/customers/orders it shows this:

Invoice No. 749
1054 Unknown column 'zen_order_id' in 'where clause'
in:
[select * from paypal where zen_order_id = '749' order by paypal_ipn_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.
Date Purchased: Thursday 29 January, 2009
Payment Method: Checkout with PayPal

any ideas???
iam running zc 1.3.7
thanks

31 Jan 2009, 10:58 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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

atomic_s:

1054 Unknown column 'zen_order_id' in 'where clause'

iam running zc 1.3.7

The zen_order_id field was renamed in v1.3.8.
Thus, if you're getting that error, that means you've run the v1.3.8 database-upgrade script and/or a v1.3.8 paypal module ... but haven't properly upgraded all the PHP files on your site to also be running in v1.3.8.

Best course of action: complete your upgrade properly.

.
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 Feb 2009, 2:26 PM
#3
atomic_s avatar

atomic_s

New Zenner

Join Date:
Nov 2007
Location:
Ukraine
Posts:
34
Plugin Contributions:
0

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

Thanks DrByte, yes I wanted to make PDT work with my web site. You are right I will upgrade my website into 1.3.8a., but I am little bit worried of this upgrade. Anyway I will try. Thanks.

3 Feb 2009, 7:12 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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

Remember to test your upgrade in a separate site so you can test everything before you go live.
Discussing upgrade questions should be done in the appropriate section of the forum.

.
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.

9 Feb 2009, 10:11 AM
#5
atomic_s avatar

atomic_s

New Zenner

Join Date:
Nov 2007
Location:
Ukraine
Posts:
34
Plugin Contributions:
0

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

thanks DrByte.