Forums / General Questions / 1054 Unknown column 'zen_order_id' in 'where clause'

1054 Unknown column 'zen_order_id' in 'where clause'

Locked

Views: 725

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
24 Apr 2010, 3:37 AM
#1
jchrinko avatar

jchrinko

New Zenner

Join Date:
Dec 2006
Posts:
10
Plugin Contributions:
0

1054 Unknown column 'zen_order_id' in 'where clause'

I have missed several orders.

Ok, in the admin CP I found a bit of information. When clicking on EDIT an order this is the error that appears when there is NO order information available.

1054 Unknown column 'zen_order_id' in 'where clause'
in:
[select * from paypal where zen_order_id = '342' 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.

Mind you.... this is only with a Paypal order. There is NO data regarding what has been ordered.

Can someone please assist??

24 Apr 2010, 3:57 AM
#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'

That error occurs when you've upgraded your database from 1.3.7 to 1.3.8 but haven't upgraded your PHP files yet.

You need to finish your upgrade, and then that error message will go away and things will work properly again.

There are many forum threads on the very same topic, with the very same solution. Some of them are mentioned at the bottom of this thread under "Similar Threads".

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