X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Adavanced Search not working (https://forum.x-cart.com/showthread.php?t=1715)

tcatrainer 03-03-2003 07:44 PM

Adavanced Search not working
 
I am running 3.3.3

the search does not seem to search at all.
The entered text gives no results.

I noticed that my tables have the prefix
Code:

xcart_

but I changed this in the customer/search.php and I get sql errors
Code:

INVALID SQL: 1064 : You have an error in your SQL syntax near 'where categoryid=''' at line 1
SQL QUERY FAILURE: select category from where categoryid=''

INVALID SQL: 1064 : You have an error in your SQL syntax near ') from , , where .productid=.productid and .quantity=1 and .categoryid=.categor' at line 1
SQL QUERY FAILURE: select count(distinct .productid) from , , where .productid=.productid and .quantity=1 and .categoryid=.categoryid AND (.membership='' OR .membership='') and (.membership='' or .membership='') and (.product like '%valve%' or .descr like '%valve%') and .category like '%' and .forsale='Y' AND .avail='Y'


So I assume this is wrong but why isnt the search searching?

Also when edititing the code is it required to edit
provider/search.php
customer/search.php
admin/search.php

or just the customer/search.php?

http://www.aeroaccess.com/parts/customer/search.php

B00MER 03-03-2003 10:38 PM

http://www.blazingdragon.com/store/customer/search.php?substring=&price_search_1=&price_search _2=&in_category=&x=46&y=2

works fine for me in 3.3.3, yes all tables have xcart_ so thats not the issue. ;)


All times are GMT -8. The time now is 11:19 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.