PDA

View Full Version : Search problems


Andrea
07-25-2007, 04:23 PM
Strange behaviour I've noticed in my Omega. If you go to my site

http://portale.shift.it

and try to search for pdf or cab, for example, you didn't get any result but if you search for the same terms in the admin interface, you get to right results.

This is a shame since, for example, searching for PDF give you two interesting sites to go but they doesn't appear, at least if you are in the frontend, but they appear in the backend that is, for the end user, useless.

What can I do to fix this?

Thanks

Bakyt N.
07-26-2007, 04:05 AM
Andrea
There is a restriction in search.php

open search.php (frontend)
[Find the following snippet (approx. on line 51) ]

$len = utf8_strlen($what);
if($len < 4)


Change 4 to 3

that's all.

Andrea
07-26-2007, 10:28 AM
Thanks Jason! Now it works perfectly :)