This is a discussion on Getting error when I go to catagories or products from catalog side within the osCMax v2 Installation issues forums, part of the osCMax v2.0 Forums category; -------------------------------------------------------------------------------- All of a sudden I am getting this error when I try to go to any of my pages ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| -------------------------------------------------------------------------------- All of a sudden I am getting this error when I try to go to any of my pages in my catalog; 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_retail_prices 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 = '25' [TEP STOP] It is happening on multiple sites, so I think it may have to do with my server but I can figure out why, any help would greatly be appreciated. D |
| Sponsored Links | ||
| ||
| |
|
#2
| |||
| |||
| if it's on existing stores you have a problem. p.products_id is the auto increment key used to access the products in the product table (and the join key used on products to manufacturers table and products description table). Use a tool to look at the mysql database and see that they field exists in the table, then look to see if the table is corrupted in some way and try to repair it if the key filed exists or the tool shows the table is corrupted.
__________________ so endith the lesson<think>sometimes I just sit's and thinks</think> "Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB |
|
#3
| ||||
| ||||
| Ask your host if they just upgraded mysql. Common issue with mysql 5, as it changes the correct syntax for queries.
__________________ Michael Sasek osCMax Developer
|
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Database error on all catagories/products? | Redeye_Joe | osCommerce 2.2 Discussion | 0 | 06-17-2008 08:24 AM |
| How to small pictures of products (in catagories) | fantayapar | osCommerce 2.2 Modification Help | 1 | 07-12-2007 11:01 AM |
| valid XHTML Catalog Side 2.3---is this mod compatible with-- | Christy | osCMax v2 Customization/Mods | 2 | 11-04-2006 08:03 PM |
| catagories & products HELP!!! | krystaleyes | osCMax v2 Installation issues | 0 | 11-11-2005 11:44 AM |
| no 'new products' displayed in 'sub-catagories'? | killermonkey | osCommerce 2.2 Installation Help | 4 | 02-15-2003 10:00 AM |