roedel Posted March 26, 2006 Posted March 26, 2006 Hello, i have one of the best contributions "bundled products" running on my site: http://www.oscommerce.com/community/contributions,2015 Now i switched over to the Search engine save URL option in my store and i get the following error message when i would like to display a bundled product: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and language_id = '2'' at line 7 SELECT pd.products_name, pb.*, p.products_bundle, p.products_id, p.products_price, p.products_image FROM products p INNER JOIN products_description pd ON p.products_id=pd.products_id INNER JOIN products_bundles pb ON pb.subproduct_id=pd.products_id WHERE pb.bundle_id = and language_id = '2' [TEP STOP] Is there a known fix for the problem? To get the Save URL's running on my server i added the following code in includes/application_top.php after: if (!isset($PHP_SELF)) $PHP_SELF = $HTTP_SERVER_VARS['PHP_SELF']; i added: if ($PHP_SELF != $SCRIPT_NAME) { $PHP_SELF = $SCRIPT_NAME.$PHP_SELF; } Dont know if this is related to my problem but it gets the save urls on my apache 1.3.3 server running. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.