Can't download song on "view song" page

0
Running version 1.02

I updated from 1.00 to 1.01 and finally to 1.02.

Only issue I have is, for whatever reason the download song icon works in every page except the SONG VIEW page, where the lyrics and song review appear. I have the parameters of the component set to allow EVERYONE to view the player as well as download songs.


Links:

Album view (Here it works): [url]http://mixtapezone.com/index.php?option=com_muscol&view=album&id=1&Itemid=11[/url]

Song view: [url]http://mixtapezone.com/index.php?option=com_muscol&view=song&id=1&Itemid=11[/url]

On the second link you can see that it just takes you back to the homepage.
:(
Responses (3)
  • Accepted Answer

    Sunday, April 12 2009, 10:03 AM - #Permalink
    0
    sorry man, this is a small bug you just discovered.

    to solve it:

    open components/com_muscol/views/song/default.php with a text or code editor

    on line 30 you'll see this:

    id){
    $file_link = JRoute::_( 'index.php?option=com_muscol&view=file&format=raw&id='. $this->song->id ); ?>

    just replace it for

    song->id );
    if($user->id){ ?>

    it should work now
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, April 12 2009, 10:05 AM - #Permalink
    0
    damned, the fucking code doesnt show up :lol:

    again:

    you'll see this:

    if($user->id){
    $file_link = JRoute::_( 'index.php?option=com_muscol&view=file&format=raw&id='. $this->song->id ); ?>

    replace with this:

    $file_link = JRoute::_( 'index.php?option=com_muscol&view=file&format=raw&id='. $this->song->id );
    if($user->id){ ?>

    of course, do not delete the initial php tag, I just didn't write it here because this forum deletes it
    The reply is currently minimized Show
  • Accepted Answer

    Sunday, April 12 2009, 06:17 PM - #Permalink
    0
    thanks!

    Fixed.
    The reply is currently minimized Show
Your Reply