Shopping Cart Forum

Go Back   eShop Forums - eCommerce Help Forum for Shopping Cart Owners. > Shopping Cart Software > Zen Cart & osCommerce
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
Zen Cart & osCommerce Tips, advice and help on how to use the most popular free E-commerce shopping carts available.

Econsultancy SEO Best Practice Guide
Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-07-2009, 12:06 PM
bobbybrown bobbybrown is offline
Member
 
Join Date: Apr 2008
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Oscommerce difficulties...

Hey guys,
I've installed OScommerce to my site and got it all up and running, then found an error message.

This is the error:
1054 - Unknown column 'p.products_id' in 'on clause'

select count(p.products_id) as total from products_description pd, products p left join manufacturers m on p.manufacturers_id = m.manufacturers_id, products_to_categories p2c left join specials s on p.products_id = s.products_id where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '1' and p2c.categories_id = '58'

[TEP STOP]

I get it when trying to search for something or when clicking on the categories for my products, meaning that noone can access my products!

I've tried running querys in phpmyadmin but nothing works, I just get errors saying the fields don't exist.
I don't have a field in the products table called products_d.

I'm really confused why its happening, its a totally new fresh install of oscommerce.

If someone can help me get this sorted it would be really appreciated, I've tried everything I can think of.

I am running a template on the shop as it needs to be themed around lingerie. If I remove the template and let the shop run standard then everything is fine so I think its just something wrong with a file in the template. Maybe someone here would know if they saw the template and the site?

Thanks for reading guys.

Dan
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 23-07-2009, 12:01 PM
enigma1 enigma1 is offline
Asymmetrics
 
Join Date: Jan 2009
Posts: 29
Blog Entries: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I don't think you don't have a products_id in the products database table. Something like this will mean the database is corrupt and none of the pages would display without errors.

I believe your host upgraded the MySQL and you need to setup the latest osc updates. The catalog/index.php and catalog/advanced_search_results.php are just two of the files you need to modify for this.
__________________
Professional E-Commerce Integration and Services. PM for details or visit
Asymmetric Software
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 23-07-2009, 02:01 PM
Lawrence Lawrence is offline
Forum Admin
 
Join Date: Aug 2007
Location: Kenley, Surrey, UK
Posts: 1,345
Thanks: 3
Thanked 87 Times in 87 Posts
Default

It sounds as if your template requires additional DB fields. Have you checked that there isn't an SQL file that needs to be run to complete the template installation?

It's not a Template Monster template by any chance?
__________________
Lawrence
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Bookmarks


Thread Tools
Display Modes

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
OsCOMMERCE FREE TEMPLATES boraakhorde Zen Cart & osCommerce 0 05-06-2009 08:42 PM
Checkout by Amazon for osCommerce AmazonPaymentsTeam Zen Cart & osCommerce 8 07-05-2009 07:43 AM
OScommerce or zencart Rb2 eCommerce for Beginners 5 01-12-2007 10:52 PM
osCommerce v3 download Lawrence Zen Cart & osCommerce 0 22-09-2007 12:03 PM
Oscommerce v3 - anyone know anything about this? PeterC Zen Cart & osCommerce 1 05-09-2007 11:18 AM

Google
Home - Top

Edible Graphics, Affordable E-Commerce, Web Shops & Custom Form Scripts
Click here for domain name registration and web hosting
tech news, product reviews, the latest home and business technology, the latest in digital imaging


Content Relevant URLs by vBSEO 3.0.0