0
Hello everyone,
I am new to Music Collection and PHP
I just setup music collection added three artists but when i try to do a search i get the following error:
Fatal error: Call to undefined function: str_ireplace() in /home/XYZ/XYZ/public_html/XYZ/components/com_muscol/models/search.php on line 259
Anybody has had this problem?
Thanks
Huerfanitos
I am new to Music Collection and PHP
I just setup music collection added three artists but when i try to do a search i get the following error:
Fatal error: Call to undefined function: str_ireplace() in /home/XYZ/XYZ/public_html/XYZ/components/com_muscol/models/search.php on line 259
Anybody has had this problem?
Thanks
Huerfanitos
Responses (10)
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
0wow.. that makes no sense.. this function is perfectly defined in PHP5! look:
http://php.net/manual/en/function.str-ireplace.php
in any case, you can try opening that file and replacing this function for str_replace -
Accepted Answer
-
Accepted Answer
0I have enabled the module.
Visit huerfanitos.net and hit the "coleccion" link in the menu at the left; that will show the search form in the content area.
I have only added three artists to the database:
Archae
Rocafuerte
Eduardo escalera
Do a search on any of them with the default filters.
Additionally, if i click in the corresponding letter (A,R,E) the artist shows up.
Let me know your findings.
Maybe I have not populated enough fileds within the artist's record? :dry:
Thanks,
Huerfanitos -
Accepted Answer
0its a bit strange.
let me tell you how it works: the system always searches on the KEYWORDS field, of the album form
maybe, for some reason, this field is emapty in your albums...
this is weird, because the system fills them up automaticaly when you create the album... it concats album name + artist name... -
Accepted Answer
0Solved!
You were right.
I read in other threads that keywords were needed for the search engine to work so I added keywords to the ARTIST but not the album.
By adding keywords to the album the search engine was able to find the artist, album, song.
But raised some other questions for me.
So the important keywords for the search engine are the ones that are in the record of the:
Album?
Artist?
Both?
Is there a particular reason why the search only uses keywords as a means of finding records instead querying other fields like artist name, album name, etc?
If you say that the system fills the keywords automatically when the album is created, then what went wrong? I know there are many variables but any hint or pointer to further investigate will be appreciated.
Thank You,
Huerfanitos -
Accepted Answer
0the search system is a bit particular.
the good thing is to have both album and artist name on the keywords.
search system looks for "entire" works.
so if you have "abbey road the beatles" and you type "abb" on the search, it will return nothing. you need to write, at least "abbey"
on the other hand, the order does not matter. it looks at every word independanly. so "beatles road" will return the album, as well, for instance.
Your Reply

Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »