osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Error viewing products after wiping them all out.

This is a discussion on Error viewing products after wiping them all out. within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; Hello all, been a while.. Had everything working once upon a time, but needed to wipe out and redo my ...


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
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 01-08-2007, 07:08 PM
New Member
 
Join Date: Apr 2004
Location: Idaho, US
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
cdxrevvved
Default Error viewing products after wiping them all out.

Hello all, been a while.. Had everything working once upon a time, but needed to wipe out and redo my products database. So, I deleted everything in there, categories, products and all. Then I added in some new categories and products, and now, it will display the categories just fine, but I get an error message like the one below.

Looking over the database tables, everything appears in place just fine, no table configs have changed or anything. Any ideas what could be going on? I can do a table dump if needed.

I think this is the right forum for the version Im using, i cant find a version number anywhere.. Aside from where it says osCommerce ms2-max.

Thanks for you help!! Wanna get this back up by weeks end at the latest!

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 = '279'
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 01-08-2007, 08:05 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,494
Thanks: 73
Thanked 334 Times in 313 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Re: Error viewing products after wiping them all out.

See this:
Error #1054 caused by MySQL 5.0?
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 01-08-2007, 08:47 PM
New Member
 
Join Date: Apr 2004
Location: Idaho, US
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
cdxrevvved
Default Re: Error viewing products after wiping them all out.

Even though it was all working just perfect before i wiped out the products tonite? seems a little odd but worth a shot. =)

Umm, one other thing. Gotta link? cant seem to find the link to download the update..

Nvm. FOund it..

Last edited by cdxrevvved; 01-08-2007 at 08:56 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 01-08-2007, 09:01 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,494
Thanks: 73
Thanked 334 Times in 313 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Re: Error viewing products after wiping them all out.

If your server was recently upgraded to mysql 5 or php 5, the error would only crop up after the upgrade, so it is not strange at all really.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 01-08-2007, 09:10 PM
New Member
 
Join Date: Apr 2004
Location: Idaho, US
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
cdxrevvved
Default Re: Error viewing products after wiping them all out.

Catch is, I didnt do any upgrades. Ive been running this same setup for at LEAST 8 months now. The site worked fine till i removed all the products to get the inventory updated.

Ill install the patch tomorrow'ish and see if it fixes things for me. Currently Im running php 4.3.11 and mysql 5.0.21.

Tomorrow shall be the test I guess. If it works, I owe ya one.. =)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 01-08-2007, 09:50 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,494
Thanks: 73
Thanked 334 Times in 313 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Re: Error viewing products after wiping them all out.

Odd... You should have always gotten that error if you have been on mysql 5... I think you will be ok after the update.

Let me know if all goes well...or not.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 01-08-2007, 10:25 PM
New Member
 
Join Date: Apr 2004
Location: Idaho, US
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
cdxrevvved
Default Re: Error viewing products after wiping them all out.

Well, first thing I noticed in the read me was: "DO NOT INSTALL ON A PLAIN OSCOMMERCE MS2 SHOP!" .. well, thats what I have.. MS2-MAX.

So doing some searching I found this:
1054 - Unknown column 'p.products_id' in 'on clause' - AWH Forums

A one liner for the index.php page. Made 4 changes total in the file and works like a charm now!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 01-08-2007, 10:37 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,494
Thanks: 73
Thanked 334 Times in 313 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default Re: Error viewing products after wiping them all out.

MS2Max is not a plain oscommerce MS2 shop. It is the v1.x version of osCMax.

You posted to the wrong forum though... this is for discussing osCMax v2.0, and so I gave you the solution for v2.0... Next time make sure you post to the correct forum.

Glad you found the solution to your problem.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 01-08-2007, 11:13 PM
New Member
 
Join Date: Apr 2004
Location: Idaho, US
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
cdxrevvved
Default Re: Error viewing products after wiping them all out.

Ok. least I know which ver it is.. Still cant find a version number listed anywhere in the admin.. Ah well.. preciate the help!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

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
Viewing Files m_rockett osCommerce 2.2 Installation Help 2 05-06-2006 11:43 AM
Product picture viewing problems Migraine osCommerce 2.2 Modification Help 0 04-18-2005 04:42 AM
Easier way of viewing and processing orders? nfmg osCMax v1.7 Discussion 1 02-19-2005 11:08 AM
Getting 404 error when trying to view products bethphilbin osCommerce 2.2 Installation Help 8 01-19-2005 07:01 PM
Problem viewing Enlarged pictures pthurmond osCMax v1.7 Discussion 2 08-04-2004 03:51 AM


All times are GMT -8. The time now is 08:20 AM.


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