Hi Walter,
Thanks for the reply, I’m still no further forward, especially as I can’t locate the MySQL error logs on the server.
I did try the query on my SBDesign server, but as it is running on the same Have-Host server with the same configuration of MySQL (version 5.0.69), php etc, it still returns the same error. Also there aren’t any error logs either. Very Strange.
Here is the query I am using…
SELECT ceswebproducts.prodline, ceswebproducts.prodsection, ceswebproducts.prodtitle, ceswebproducts.code, ceswebproducts.partnumber, ceswebproducts.proddescription, ceswebproducts.image, ceswebproducts.weight, 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`
The $item queries the Product Section column (prodsection), to refine the search the $inthere searches in the Product Title column (prodtitle) and the $line selects the Product Line (prodline) column, these results are then matched with the Part Number column on the Prices database which gives you the list price, web price and the saving.
It only uses 2 tables in one database, the longest line is about 153 characters long, and there are 6319 rows in both tables, so you can see that it isn’t a complex database or query.
I think I might have to move hosting for this client if I can’t get this resolved soon.
Steve.
On 28 Nov 2013, 12:31 am, waltd wrote:
Steve, that’s just nutty. If those 513 rows are selected from a single table (not a big hairy join across bunches of tables) then they would have to be extraordinarily wide rows (tens of thousands of columns per row) before you would possibly be near any reasonable limit for request size. This doesn’t sound like it’s the real problem at all to me. Have you looked in your error logs — particularly in MySQL’s logs? What is the query, and what is the result when you ask for more than 512 rows?
Walter
dynamo mailing list email@hidden Update your subscriptions at: http://freewaytalk.net/person/options