| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Search not working anymore... | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi,
Something strange happened... We haven't changed anything in the back end of our shop, but since a few days the search funtion isn't working anymore... or at least, it's not returning any results!!! And it worked like a charm before. This is the site I'm talking about: http://www.posters-affiches.com I don't know if anyone has had the same problem, but I hope someone has a solution. Thanks in advance, Guytje |
|||||||
#2
|
|||||||
|
|||||||
![]() I looked at the site an noticed two things...
(1) You have an error on the page. Check it out in IE and you will see the error in the lower lefthand corner. (2) Try changing your action back to: Code:
If all esle fails try reuploading your search.php file. It may have been corrupted.
__________________
Following the signature guidelines ![]() |
|||||||
#3
|
|||||||
|
|||||||
![]() This is really weird:
When I do a search, the result automatically generates a ?PHPSESSID=c1aacfb728c5a2d87fd7428bc66fa12b&substr ing= and then the substring... This should not be. It should be something like: http://www.posters-affiches.com/shop/customer/search.php?substring= Which works like a charm! Any idea??? Thanks, Guy |
|||||||
#4
|
|||||||
|
|||||||
![]() Na, that session ID is normal. It works fine on my site. I am betting your search.php file is corrupted.
Just a guess.
__________________
Following the signature guidelines ![]() |
|||||||
#5
|
|||||||
|
|||||||
![]() Well, I don't think that's true, because:
http://www.posters-affiches.com/shop/customer/search.php?substring= works fine But http://www.posters-affiches.com/shop/customer/search.php?PHPSESSID=c1aacfb728c5a2d87fd7428bc66fa 12b&substring= Doesn't yield any results! Any idea? Me |
|||||||
#6
|
|||||||
|
|||||||
![]() Since you haven't changed anything on the backend, I still think your search.php file is corrupted, but that's just a guess.
![]() I would contact x-cart, if you are still under their support, they can fix it for you.
__________________
Following the signature guidelines ![]() |
|||||||
#7
|
|||||||
|
|||||||
![]() I did it, and they had the matter fixed within a few hours! Am still at a loss about what the problem was...
But thanks for your concern. Cheers, Guy |
|||||||
#8
|
|||||||
|
|||||||
![]() Guy,
Excellent news. Looks like that session ID stayed in the URL after all. If you are curious about the problem, email them back and ask for an explanation. It can be a tremendous help for any future occurences, besides I am very interested in their answer. ![]()
__________________
Following the signature guidelines ![]() |
|||||||
#9
|
|||||||
|
|||||||
![]() Keep you posted!
![]() G. |
|||||||
#10
|
|||||||
|
|||||||
![]() Well, this is what they did:
$ have replaces the following lines in customer/search.php: ================================ $tmp=strstr($QUERY_STRING, "XCARTSESSID="); if (!empty($tmp)) $QUERY_STRING=ereg_replace("XCARTSESSID=([0-9a-zA-Z]*)", "", $QUERY_STRING); if(!empty($QUERY_STRING)) { ================================ with the following one line: if(isset($substring)) { Am don't know what/how... but it works like a charm ![]() Thanks still for the help. Cheers, Guy[/b] |
|||||||
|
|||
X-Cart forums © 2001-2020
|