Search function not working for dublebyte

0
I've purchased a pro version and installed it on Joomla 1.5.15 stable. However, when I search a album or song, it doesn't produce any results. I put saved all my albums and song names in Korean.

The link is http://www.hananym.com/index.php?searchword=%EC%86%8C%ED%96%A5&format_id=&genre_id=&option=com_muscol&search=albums&view=search&Itemid=

Please help.

Below are system info on my server:

PHP Built on: Linux gator1171.hostgator.com 2.6.28.9 #51 SMP Fri Jan 15 22:59:44 CST 2010 i686
Database Version: 5.1.30
Database Collation: utf8_unicode_ci
PHP Version: 5.2.12
Web Server: Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8i DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635
Web Server to PHP interface: cgi-fcgi
Joomla! Version: Joomla! 1.5.15 Stable [ Wojmamni Ama Mamni ] 05-November-2009 04:00 GMT
Responses (14)
  • Accepted Answer

    Thursday, January 28 2010, 06:33 PM - #Permalink
    0
    on current version you need to write something on the text field in order to search. selecting only format and/or genre wont return results

    remember that the keywords searched are those on the KEYWORDS field on the album
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, January 28 2010, 06:35 PM - #Permalink
    0
    of course I entered something on the text field. I am not that stupid.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, January 28 2010, 06:36 PM - #Permalink
    0
    hey, easy man
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, January 28 2010, 06:42 PM - #Permalink
    0
    even if I search for a word that is present in the KEYWORDS field for a album, nothing showed up.

    Also there are no KEYWORDS fields for songs. So I wonder how you can search for a song.

    Please help.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, January 28 2010, 06:43 PM - #Permalink
    0
    song search is by name

    what encoding do you use to show a page in Korean? it looks like its some encoding issue... can you past here how the URL looks like after performing a search?
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, January 28 2010, 06:45 PM - #Permalink
    0
    http://www.hananym.com/index.php?searchword=%EC%86%8C%ED%96%A5&format_id=&genre_id=&option=com_muscol&search=albums&view=search&Itemid=
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, January 28 2010, 06:51 PM - #Permalink
    0
    I already provided the encoding info. It is utf8_unicode_ci.

    Also if you click on "S" from the letter navigation bar, you will see a album by "소향".

    Thanks,
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, January 28 2010, 07:02 PM - #Permalink
    0
    I'm investigating it.

    I'm afraid the system does not handle korean encoding on search functions... I'll check what I can do. besides of that, do you have any problem while navigation through the collection?

    that artist appears under S because thats the letter you selected (you probably used the SAMPLE ARTIST, wich is S). if you want to be another letter, just change it on the artist form. but only A-Z characters are allowed for letter classification...
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, January 28 2010, 07:17 PM - #Permalink
    0
    The reason I showed you that there is an artist and album under "S" is just to show you that the word I searched are present.

    I don't have any problem with the aforementioned album apearing under the letter "S".

    Thanks,
    The reply is currently minimized Show
  • Accepted Answer

    Friday, January 29 2010, 05:26 PM - #Permalink
    0
    Hi Germi,

    Any updates on this yet? please advise.

    Thanks,
    The reply is currently minimized Show
  • Accepted Answer

    Friday, January 29 2010, 07:48 PM - #Permalink
    0
    HI,

    After furthing digging, I found out that the problem only occurs with Album search. There are not issues with Song search.

    I hope this hleps you to uncover the root cause of the issue.

    Thanks,
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, February 14 2010, 05:50 AM - #Permalink
    0
    Germi,

    Any updates on this yet? Please advise.

    thanks,
    The reply is currently minimized Show
  • Accepted Answer

    Monday, February 15 2010, 10:51 AM - #Permalink
    0
    I haven't found a solution for this yet... it looks like its some small problem with your database charset or something... :S

    just one thought: remember that the search is performed based on the KEYWORDS field of the album, so make sure that this field contains the album's name (and also artist name), separated by spaces " ".
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, June 01 2010, 05:40 PM - #Permalink
    0
    well, what happens is that the system crops the undesired characters. you can try this:
    on file /administrator/components/com_muscol/tables/album.php on line 145 you find this:

    $return = JFilterOutput::stringURLSafe($keywords);


    replace it for

    $return = $keywords;


    that will allow you to have turkish characters on the KEYWORDS field of the album, wich is the one used.

    then, on the file components/com_muscol/models/search.php line 242 you find this:

    $keywords = utf8_decode(trim($this->get_keywords($keywords)));


    replace it for

    $keywords = trim($this->get_keywords($keywords));


    to allow searching non-latin chars.
    this should solve the issue.

    REMEMBER that you will need to modify the KEYWORDS on the albums, because the non-latin chars have been cropped out!!!!! until you do that, the search will still return no results!!
    The reply is currently minimized Show
Your Reply