Search Results displaying all articles

Need some help with the script?

Search Results displaying all articles

Postby Ned Flanders » Wed Jul 01, 2009 2:08 pm

Yes, I haven't even solved my other major problems and a new one is already popping up. Yes, I'm loving it! :)

Could you guys please help with the following. Whenever I search, whatever I search on, search just returns all articles. When I select a specific category, search always displays all articles of just this one category. So at least the category selector is working. Thanks!
User avatar
Ned Flanders
 
Posts: 55
Joined: Mon May 11, 2009 10:28 pm
Location: Holy Kingdom

Postby cmd » Thu Jul 02, 2009 5:35 pm

What version of the script do you use?
This is a block of text that can be added to posts you make. There is a 255 character limit
User avatar
cmd
 
Posts: 5
Joined: Mon Jun 29, 2009 10:23 am
Location: Ukraine

Postby Ned Flanders » Thu Jul 02, 2009 7:04 pm

cmd wrote:What version of the script do you use?

The last one: 2.5.4. Perhaps should I overwrite the search.php-file with an older one?
User avatar
Ned Flanders
 
Posts: 55
Joined: Mon May 11, 2009 10:28 pm
Location: Holy Kingdom

Postby scottdallas » Fri Jul 03, 2009 1:14 am

No, that's probably not a good idea. I get what you're sayin but I'm not sure why it's happening. Is there anything else you can say about it? Anything else you notice? How it's setup?
Everyday I'm tumblin http://scodal.tumblr.com
User avatar
scottdallas
 
Posts: 2209
Joined: Thu May 04, 2006 6:46 pm
Location: US

Postby Ned Flanders » Fri Jul 03, 2009 1:52 am

scottdallas wrote:No, that's probably not a good idea. I get what you're sayin but I'm not sure why it's happening. Is there anything else you can say about it? Anything else you notice? How it's setup?


I have changed nothing, I'm actually using the file as it came in the 'package'. This is how I've included the file:

Code: Select all
....
elseif($_GET['go'] == "search"){
     include("cutenews/search.php");


So the search string I enter is being completely ignored.

Date and Category are working fine as search criteria. I have just redownloaded the original search.php file (just to make sure), but it didn't make a difference.
User avatar
Ned Flanders
 
Posts: 55
Joined: Mon May 11, 2009 10:28 pm
Location: Holy Kingdom


Return to Help



Who is online

Users browsing this forum: No registered users and 1 guest

cron