osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

1052 error - new products & sppc

This is a discussion on 1052 error - new products & sppc within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; I'm getting a 1052 error: Code: 1052 - Column 'products_id' in from clause is ambiguous<br><br>select p.products_id, pd.products_name, IF(pg.customers_group_price IS NOT ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Installation issues

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 08-14-2007, 10:37 PM
caw caw is offline
New Member
 
Join Date: Jul 2007
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 0
caw is on a distinguished road
Default 1052 error - new products & sppc

I'm getting a 1052 error:

Code:
1052 - Column 'products_id' in from clause is ambiguous<br><br>select p.products_id, pd.products_name, IF(pg.customers_group_price IS NOT NULL,pg.customers_group_price, p.products_price) as products_price, p.products_tax_class_id, p.products_image, s.specials_new_products_price from products p, products_description pd, specials s LEFT JOIN products_groups pg using (products_id, customers_group_id) where p.products_status = '1' and p.products_id = s.products_id and pd.products_id = s.products_id and pd.language_id = '1' and s.status = '1' and s.customers_group_id= '1' order by s.specials_date_added desc limit 10
This error shows up (when you click on a product - product_info.php) in the column where the 'new products' box should be, and only when logged in as a wholesale customer. This error does not occur when not logged in or when logged in as a retail customer.

I haven't been able to find a fix for this in the forums.
My basic SQL knowledge isn't sufficient to figure this one out.

Thanks for the help...

Last edited by caw; 08-14-2007 at 11:02 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Hide products from customer groups for SPPC michael_s New osCommerce Contributions 0 06-16-2007 10:11 AM
sppc prices not shown altenter osCMax v2 Installation issues 3 05-20-2007 12:16 PM
Customer Loyalty & SPPC pinetreecandles osCMax v2 Features Discussion 1 05-14-2007 03:42 PM
Sppc pkirbyau osCMax v2 Installation issues 1 03-01-2007 07:40 AM
Add Multiple Products to Cart in columns for SPPC bkpie osCMax Projects Discussion 0 01-18-2007 09:25 AM


All times are GMT -8. The time now is 11:36 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax