Player does not work

Ax
Ax
Offline
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 http://www.joomlamusicsolutions.com/images/fbfiles/images/MusicPlayer.jpg
Attachments:
Responses (6)
  • Accepted Answer

    Wednesday, December 08 2010, 11:00 AM - #Permalink
    0
    the 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..
    The reply is currently minimized Show
  • Accepted Answer

    Ax
    Ax
    Offline
    Friday, December 17 2010, 12:57 AM - #Permalink
    0
    Not 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.

    http://www.joomlamusicsolutions.com/images/fbfiles/images/MC_Permissions-20101217.jpg
    Attachments:
    The reply is currently minimized Show
  • Accepted Answer

    Friday, December 17 2010, 05:36 PM - #Permalink
    0
    hello

    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 right ;) try 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.
    The reply is currently minimized Show
  • Accepted Answer

    Ax
    Ax
    Offline
    Friday, December 17 2010, 06:39 PM - #Permalink
    0
    Hi,

    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.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, December 17 2010, 06:41 PM - #Permalink
    0
    ok..
    if they where not the owners, I owe you a lunch then! ;)

    good to know you solved the issue

    GErmi
    The reply is currently minimized Show
  • Accepted Answer

    Ax
    Ax
    Offline
    Friday, December 17 2010, 06:50 PM - #Permalink
    0
    Thanks,
    I would just like a response to another request that I've done on the upload.
    Because I think it might be useful to other users, I am going to open a new topic with a different title as this is resolved.
    Thanks again.
    The reply is currently minimized Show
Your Reply