... further....
we have isolated the problem to:
\includes\modules\pages\pricelist\header_php.php
line: 245
Code:
$sql = "SELECT m.manufacturers_id, m.manufacturers_name FROM " . TABLE_MANUFACTURERS . " m, " . TABLE_PRODUCTS . " p WHERE m.manufacturers_id = p.manufacturers_id";
Or
Line: 335
Code:
## ##$query .= ' FROM ' . TABLE_PRODUCTS . ' p LEFT JOIN ' . TABLE_PRODUCTS_DESCRIPTION . ' pd USING(products_id) LEFT JOIN ' . TABLE_PRODUCTS_TO_CATEGORIES . ' pc USING(products_id) LEFT JOIN ' . TABLE_CATEGORIES . ' c USING(categories_id) WHERE pd.language_id="' . PL_LANG_ID . '" AND c.categories_id="' . $id . '"' . PL_SHOW_PROD_INACTIVE . PL_SHOW_CAT_INACTIVE;
nt: the solitary p's is these lines are the only occurences of such in the entire code SQL or PHP
I dont have anything in manufacturers_id at all and never have.. so i suspect it is line 335... how would I start to rectify this error?
::frust
Bookmarks