Quantcast
Channel: Internal Server Error problem
Viewing all articles
Browse latest Browse all 80

Re: Internal Server Error problem

$
0
0

An update:

I decided to create a new clean document with just that menu on the page. I created everything from scratch so that I knew that any error was down to the new configuration. At first I had the same error, but then I revised the query to add all the columns that I needed to choose from the ceswebproducts table:

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`

This query returned the correct products, so I thought if I used the same query on the other version it “should” work. I copied the query to the page and uploaded, but, unfortunately the Internal Server Error reappeared. It seems I’m back to square one. Could it be something that is in the original Freeway file or uploaded page that is messing with the output and causing the error.

The working page is here, it’s very basic but at least I know that the query works as it should.

http://www.cotswoldengineeringsupplies.co.uk/fw6update/index.php

I am using the Actions MySQL Connect to connect to the database, MySQL Get Records to query the database, plus PHP Block surrounding a table to output the results from the query to the page. There is also some other custom php bits to do a few other things.

I could rebuild the site using the working version as a base for the revised site, but if I can find what part of the original site is messing with the output then I can rebuild from there.

I’m almost there, just need a bit of lateral thinking to solve this problem…

Steve


dynamo mailing list email@hidden Update your subscriptions at: http://freewaytalk.net/person/options


Viewing all articles
Browse latest Browse all 80

Trending Articles