Hi,
I have recently come across this error when I click on a menu link to select a range of items (products) from the database.
To see this on the link, on the lefthand side under the Hydraulic Range heading, select HYDRAULIC COMPRESSION FITTINGS, CLAMPS & TUBE menu and the first item “Couplings”. This selects all the couplings in this range by looking for the word “Couplings” under the column heading ‘prodsection’
Here is the MySQL query: The $item is the search term from the menu, along with $line which is the product line.
"SELECT ceswebproducts.*, ceswebprices.listprice , ceswebprices.webprice, ceswebprices.yousave FROM ceswebproducts, ceswebprices
WHERE `ceswebproducts`.`prodsection` LIKE '%$item%'
AND `ceswebproducts`.`prodtitle` LIKE '%$inthere%'
AND `ceswebproducts`.`prodline` = '$line'
AND `ceswebproducts`.`partnumber` = `ceswebprices`.`partnumber`";
This query is working in on the current version of the site (the same url without the /2013-revised/test/), but now that I have created an updated version of the site (not yet live) using the same configuration of menu and database (although the product codes have changed the basic menu structure is the same), the query brings up this error.
I have run the same query on the server with phpadmin and it works fine.
It is the same on both the Freeway 5.65 version and the Freeway 6.12, which makes me think that it is something that is not quite right with the processing of the query from the HTML page.
I have found adding a space to the word Couplings on the database makes this work, but doesn’t help with other queries.
Can any one shed some light on this, it’s causing me some grief!
Thanks,
Steve
http://www.cotswoldengineeringsupplies.co.uk/2013-revised/test/
dynamo mailing list email@hidden Update your subscriptions at: http://freewaytalk.net/person/options