0
Fatal error: Call to undefined function: str_ireplace() in /homepages/32/d252566705/htdocs/administrator/components/com_muscol/tables/album.php on line 116
Running Joomla 1.5.9 in Legacy Mode
Second question is where do I up load the mp3 so my users can download the files? I have upload a mp3 to the folder I created in the root called "songs" is that how this works?
Marky Mark
Running Joomla 1.5.9 in Legacy Mode
Second question is where do I up load the mp3 so my users can download the files? I have upload a mp3 to the folder I created in the root called "songs" is that how this works?
Marky Mark
Responses (3)
-
Accepted Answer
0hello Marky,
about the error: when do you get this error? I mena, doing wich action? saving an album?
anyway, this function is a PHP native function, so it's not a matter of the component, or even Joomla, but of your PHP installation. what PHP version are you running?
second:
no, you dont have to upload songs manually. the way you do it is like this:
- in the backend, create an album
- once the album is created, enter in it (in the backend) and go to "songs" tab. Click "Add song" button as many times as you like to create as many songs you want this album to have.
- once the song (or songs) is created, click on it to edit, and you'll se a form where you can add atributes such as lyrics or FILE. use this field to upload the song. Music Collection will upload the song to the folder "songs" and it will be available from the frontend, for registered users, to download or listen online.
good luck -
Accepted Answer
-
Accepted Answer
0ok, then its a PHP version problem. Music Collection needs PHP 5 to run properly
in this page you can see the minimum version required for native PHP functions: http://www.w3schools.com/php/php_ref_string.asp
you have one of two options:
1- update PHP to version 5!! of course, if you do not admin the server running php, you won't be able of doing this. so here's the second option:
go to line 116 on that file you get the error and replace "str_ireplace" for "str_replace". this second function is available from PHP 3
I hope this helps.
cheers
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 »