Jump to content


Photo

Too short search bug


  • This topic is locked This topic is locked
10 replies to this topic

#1 Matthew.

Matthew.

    Official Spammer .Matt

  • Members
  • PipPipPipPip
  • 2,749 posts
  • Gender:Male
  • Location:England

Posted 05 August 2006 - 08:33 AM

Hello again ;)

Should i be getting "empty or too short search query" error when searching with 3 words?

http://www.pixel2lif...search hello/1/

It does it quite a bit, not just that search term, so my guess is its the wrong error message? Probably meant to be "no results"? Just my guess :o

#2 Dale71

Dale71

    Jedi In Training

  • Members
  • PipPip
  • 334 posts
  • Location:127.0.0.1
  • Interests:Stuff.

Posted 05 August 2006 - 09:32 AM

Yeh they prevent words shorter than 4 letters to be searched because they'd be so many results I think.

To get around this put quotes around the bug = "bug"

http://www.pixel2lif...mp;highlite=bug

#3 Matthew.

Matthew.

    Official Spammer .Matt

  • Members
  • PipPipPipPip
  • 2,749 posts
  • Gender:Male
  • Location:England

Posted 05 August 2006 - 09:43 AM

Thats the forum search Dale....not the site search.

+ As you can see using bug: http://www.pixel2lif...arch/all/bug/1/ works fine on the site search, so i doubt a 7,6,or 5 letter word should be prevented ;)

#4 Dale71

Dale71

    Jedi In Training

  • Members
  • PipPip
  • 334 posts
  • Location:127.0.0.1
  • Interests:Stuff.

Posted 05 August 2006 - 10:00 AM

Growl Damn, didn't read properly >:-(

#5 dEcade

dEcade

    P2L Staff

  • P2L Staff
  • PipPipPipPip
  • 1,850 posts
  • Gender:Male
  • Location:Saskatoon, Saskatchewan
  • Interests:Guitar, Programming, Storm Chasing, Games (Designing and playing), Hockey, Photography

Posted 05 August 2006 - 10:07 AM

You will get this error if the search term you used did not show up in their database.

dEcade

#6 Matthew.

Matthew.

    Official Spammer .Matt

  • Members
  • PipPipPipPip
  • 2,749 posts
  • Gender:Male
  • Location:England

Posted 05 August 2006 - 10:13 AM

Nope, we will get the

Nothing to Print...

(as seen here error if there is nothing in the db. As i said, my guess is mixed up messages ;)

#7 dEcade

dEcade

    P2L Staff

  • P2L Staff
  • PipPipPipPip
  • 1,850 posts
  • Gender:Male
  • Location:Saskatoon, Saskatchewan
  • Interests:Guitar, Programming, Storm Chasing, Games (Designing and playing), Hockey, Photography

Posted 05 August 2006 - 10:36 AM

Yes, but that is looking at the category, if you search something that isn't in the database it will give you:

Error: Empty or Too Short Search Query.


Just try typing random letters into the search bar and hit go.

dEcade

#8 Matthew.

Matthew.

    Official Spammer .Matt

  • Members
  • PipPipPipPip
  • 2,749 posts
  • Gender:Male
  • Location:England

Posted 05 August 2006 - 10:45 AM

Yes, but my point is, it shouldnt be producing that message, it should be "Nothing found" or something else.

That is what i ment by mixed up error messages. I realise what i causing the error, but am disputing the returned message. If nothing is found in the database no one wants to read "Error: Empty or Too Short Search Query" as that will make them think they have to use different words in the search when infact there is nothing to find.

It may be intentional, it may not be, so lets just wait for someone on the dev team who knows to reply.

Edited by .Matt, 05 August 2006 - 10:46 AM.


#9 NGPixel

NGPixel

    Senior Programmer

  • P2L Staff
  • PipPipPipPip
  • 1,410 posts
  • Gender:Male
  • Location:Montreal, Canada
  • Interests:Web Design : Coding : Animation

Posted 05 August 2006 - 10:51 AM

fixed ;)

The error is the same if your query is too short or no results were found.

#10 Matthew.

Matthew.

    Official Spammer .Matt

  • Members
  • PipPipPipPip
  • 2,749 posts
  • Gender:Male
  • Location:England

Posted 05 August 2006 - 11:24 AM

Ok i see :)

The new error message is much better thanks :)

Possible Error(s):

- No records corresponding to your query.
- Empty or Too Short Search Query.



#11 Faken

Faken

    Pimpmaster G

  • Admin
  • 5,966 posts
  • Gender:Male
  • Location:Montreal, Canada

Posted 06 August 2006 - 11:18 PM

Ok i see :)

The new error message is much better thanks :(

Possible Error(s):

- No records corresponding to your query.
- Empty or Too Short Search Query.


Ok, this seems cleared up, so I'll lock it up now :D

Thanks NG :)

Dan




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users