0
Hi,
I installed the extension and everything is ok, except that the player does not work.
I created all the folders including /songs where the songs are actually loaded (see image), but if I try to hear the songs the player does not start.
How can I fix this?
I sent by mail the data access he back end of the site as administrator
Thanks for an answer.
This is the result of the the check I did following the instruction found in a similar topic on the forum and putting this url:
http://www.sharingcom.org/index.php?option=com_muscol&view=songs&id=3&Itemid=13format=feed&type=xspf
−playlist version="1"
title XSPF playlist /title
−trackList
−track
title Finally Made Me Happy /title
link/
annotation Macy Gray - The Very Best Of Macy Gray /annotation
creator Macy Gray /creator
−location
http://www.sharingcom.org/songs/finally-made-me-happy.mp3
/location
−image
http://www.sharingcom.org/images/albums/macygrey.jpg
/image
/track
/trackList
/playlist
http://www.sharingcom.org/images/albums/macygrey.jpg
I installed the extension and everything is ok, except that the player does not work.
I created all the folders including /songs where the songs are actually loaded (see image), but if I try to hear the songs the player does not start.
How can I fix this?
I sent by mail the data access he back end of the site as administrator
Thanks for an answer.
This is the result of the the check I did following the instruction found in a similar topic on the forum and putting this url:
http://www.sharingcom.org/index.php?option=com_muscol&view=songs&id=3&Itemid=13format=feed&type=xspf
−playlist version="1"
title XSPF playlist /title
−trackList
−track
title Finally Made Me Happy /title
link/
annotation Macy Gray - The Very Best Of Macy Gray /annotation
creator Macy Gray /creator
−location
http://www.sharingcom.org/songs/finally-made-me-happy.mp3
/location
−image
http://www.sharingcom.org/images/albums/macygrey.jpg
/image
/track
/trackList
/playlist
http://www.sharingcom.org/images/albums/macygrey.jpg

Responses (6)
-
Accepted Answer
0the problem seems to be that the XML playlist is not an XML file
for some reason, it is loading an HTML page.
it looks like there's the feed file missing.
can you check that /components/com_muscol/views/songs/view.feed.php exists?
by the way, if I try to acces a song directly, I get a FORBIDDEN error.. check the folder permissions, too.. -
Accepted Answer
0Not only the the player does not start, also the picture is not visible.
I checked /components/com_muscol/views/songs/view.feed.php and it exists.
I checked the permissions of the folders "albums" and "songs": they have User/Group permission 775 (Read - Write - Execute).
But the items in folders (images and songs) have permission only 600 (Owner) (see image).
If I change the permissions manually (via FTP) to the elements, a single song or a single image (inside the folders), the player starts and the image appears.
If I upload a new song it still have permission 600.
Obviously I can not change the permissions every time for each image or song that a user uploads.
How can I have permissions 775 for the individual items, songs and images?
I also asked my host and got this answer: "For a file to be readable from the web-server, it needs to have group read permission. So your component should not remove the default permission."
Thanks for an answer.
-
Accepted Answer
0hello
the component does not remove any default permission.. at all! that would be crazy..!!
this is something of your hosting configuration, I tell you... (I've seen this other times!)
probably it's something like that the "user" running your website (I'm refering to the UNIX user on server's side, nothing to do with frontned user) is saving this with only 600 permissions.
Music Collection (OR Joomla) does not take part of this process at all. you have to talk to your provider and tell him that configure that all the files writen in this folders need to be readable!!
just to prove I'm righttry to do this (or tell your provider to do it, he will know): check what are the OWNERS of that two folders (songs and albums). I GARANTEE you it will be different that the owners of all the other folders...
for instance, maybe the other fodlers are web:root
but this one is XXX:YYY
tell him to do a "chown" command to fix it up. do you know what I'm talking about? it is a folder permissions issue, that is for sure, and I bet my lunch it is related to the fact that the folder's owners are different than the rest. -
Accepted Answer
0Hi,
the ownership is the same, both for folder and for items, but you were wright about the permissions.
I went into File Manager (virtualmin control panel), I changed the permissions to the folders pointing to apply the changes to the directory and its files (it was set only for the directory).
After that, everything went ok.
Thank you. -
Accepted Answer
-
Accepted Answer
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 »