Forums / Basic Configuration / 1054 Unknown column 'p.zen_order_id' in 'where clause'

1054 Unknown column 'p.zen_order_id' in 'where clause'

Locked

Views: 1,672

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
22 Jul 2008, 11:22 PM
#1
alamocdc avatar

alamocdc

New Zenner

Join Date:
Jul 2008
Posts:
3
Plugin Contributions:
0

1054 Unknown column 'p.zen_order_id' in 'where clause'

I set my set up with Zen Cart several months ago and was surprised at how much easier it was than I expected. The customization took some time, but I found the documentation rather straight forward if I took my time.

I'm currently using version 1.3.6 and had my first order a few days ago. I'm using Paypal IPN and the money transfered to my Paypal account, but I got nothing telling me what the individual ordered. I did some snooping and found this error in the Paypal IPN link under Customers:

1054 Unknown column 'p.zen_order_id' in 'where clause'
in:
[select count(*) as total from paypal as p, orders as o where o.orders_id = p.zen_order_id and p.payment_status = 'Pending']
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 did a search on the error, but came up with nothing. Any ideas on what's wrong or how I can fix it? I was told it was a data base error, but I'm not a data base guy so...

TIA!!

23 Jul 2008, 12:14 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

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

That error is indicative of using files from different versions.....

Zen-Venom Get Bitten

23 Jul 2008, 3:54 AM
#3
alamocdc avatar

alamocdc

New Zenner

Join Date:
Jul 2008
Posts:
3
Plugin Contributions:
0

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

Hhmmm... I've only installed one, but stranger things have happened. So am I correct in assuming that an upgrade will correct the problem?

23 Jul 2008, 4:30 AM
#4
drbyte avatar

drbyte

Sensei

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

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

The situation has been discussed in other threads several times. Some are listed in the "Similar Threads" section below. Still more can be found by searching the forum for the error message.

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

23 Jul 2008, 1:04 PM
#5
alamocdc avatar

alamocdc

New Zenner

Join Date:
Jul 2008
Posts:
3
Plugin Contributions:
0

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

Thanks, I did a search using just 1054 and another using the full entry above but got no hits on either. I guess I should have kept trying. I guess I'll have to upgrade to fix the problem. Much appreciated!

23 Jul 2008, 1:18 PM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

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

Per DrByte:

Some are listed in the "Similar Threads" section below.

Zen-Venom Get Bitten