Playlist cookie/resource access problems?

0
Hi,

I see that someone else has had the same problem previously, but the thread ends without a solution so I can't draw anything from it.

Secondly I have to say - like the previous correspondent - that I cannot give you any back-end access to my site - legally I am not allowed to give any access to third parties under any circumstances.

So I understand you will not be able to give any definitive answers, but can you please offer me some guidelines based on the following:

The player above the playlist on my songwriter page is giving the error:

Task Queue failed at step 5

The player is properly installed as an extension, and is running to play individual songs on the individual songs pages, but not on the songwriter page where I have a complete list of songs, each of which has a player arrow alongside it which does not work. The player above these is giving the error.

Just discovered that the player is giving the same error on the album page where there is also a list of songs to play.

I've almost completed building my site and everything was working well until I installed either my security package or my cookie control extension - I can't tell which.

Is there a cookie that has to be accepted for the player to work, or some resource the player has to draw on which I may have blocked with my firewall?

There is nothing more to see than the error message I've described at the front end, so I don't see there would be any point in giving you page details (where the extension has been working happily behind root directory front-end password protection since I first installed it.)

I'm sure the error message will give you some clues, so could you please help me to troubleshoot this myself?

Thanks
Responses (14)
  • Accepted Answer

    Tuesday, November 27 2012, 06:15 PM - #Permalink
    0
    hello!

    well, you don't need to give me Joomla backend access, but if you can provide a frontend link to the album page that causes the issue would be great because I can see there myself...

    I'm thinking.. if this was working before it could be, indeed, a directory problem. is the system plugin we provide installed?

    Germi
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, November 28 2012, 07:49 AM - #Permalink
    0
    Thanks Germi,

    Sorry for the delay in replying but I was away all day yesterday.

    I can certainly provide details of the link, but at the moment the root of the hosting space is a protected directory so you will need some login details to even look at the pages. Because I think this is a public forum I'll send these details to you using your custom service form.

    Could you please clarify what the system plugin is that you refer to (filename), so I can be sure I'm answering the right question!

    I'll send the login details as soon as I've posted this message.

    Please note you may have to enter them TWICE!

    Phil
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, November 29 2012, 12:48 PM - #Permalink
    0
    Hi again,

    Did you get the login details I sent? I sent them using your custom service form immediately after posting, but I've not heard from you.

    I've checked my Joomla extensions and the following are all installed and operating:

    JW Player Module for Music Collection
    Music Collection
    Muscol Component
    System Music Collection

    I need to get my site online urgently now please (It's nearly a month since it was due to be launched) - can you please tell me what directories your system needs to access to get to mp3 tracks and to playlists? I can then allow this through my firewall. I think that's probably all that's needed.

    Urgent help appreciated.
    Thanks
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, November 29 2012, 12:49 PM - #Permalink
    0
    I'm not sure to have received it.. what's your email address?
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, November 29 2012, 12:58 PM - #Permalink
    0
    nevermind - I just found it!
    going to work on it now.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, November 29 2012, 01:02 PM - #Permalink
    0
    ok I can see the problem.

    this problem occurs sometimes when you have the option "append suffix to URLs" option set to ON on the SEF global configuration.

    there are two solutions:

    1) disable "append suffix to URLs"
    2) add just a line of code in a couple files. if you're ok with modifying PHP, we can go that way.
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, November 29 2012, 01:15 PM - #Permalink
    0
    That's very helpful.

    I do have "append suffix to URLs" set - and would prefer to keep it.

    I'm quite happy with editing php provide you can give clear instructions.

    Is it one of your own files that needs editing or a Joomla file - if so will it affect other extensions installed?

    But yes - do please let me know what wants editing.

    Thanks
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, November 29 2012, 01:38 PM - #Permalink
    0
    /components/com_muscol/views/playlist/view.html.php line 72

    you see this part (wihtin another function):

    JRoute::_('index.php?option=com_muscol&view=playlist&id='.$playlist->id.'&format=feed&type=xspf')

    just replace it for:

    JRoute::_('index.php?option=com_muscol&view=playlist&id='.$playlist->id.'&format=feed&type=xspf')."&format=feed"

    that's all. you have to append a "&format=feed" at the end of the "JRoute" call.
    you will have to do the same thing on /views/album/view.html.php, /views/search/view.html.php and /views/songs/view.html.php
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, November 29 2012, 03:04 PM - #Permalink
    0
    Thanks,

    I've easily modified:
    /components/com_muscol/views/playlist/view.html.php

    but
    /views/album/view.html.php and
    /views/search/view.html.php

    don't seem to include that statement starting JRoute::

    and although
    /views/songs/view.html.php

    has the statement in it, it also has other code appended to the end of the same statement, so I'm not sure where to insert the additional code fragment.

    Could you please have a look at this and clarify further?

    Thanks
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, November 29 2012, 03:08 PM - #Permalink
    0
    in album, it's in line 93
    in search, line 80

    if there is more code, like this:

    JRoute::_('index.php?searchword='.$searchword.'&artist_id='.$artist_id.'&genre_id='.$genre_id.'&option=com_muscol&view=search&search=songs&format=feed&type=xspf'.'&limitstart='.$pagination->limitstart)

    just add it right after that ")" like so:

    JRoute::_('index.php?searchword='.$searchword.'&artist_id='.$artist_id.'&genre_id='.$genre_id.'&option=com_muscol&view=search&search=songs&format=feed&type=xspf'.'&limitstart='.$pagination->limitstart)."&format=feed"
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, November 29 2012, 05:39 PM - #Permalink
    0
    Thanks Germi,

    I didn't have line numbers to work with on my Host's editor, and search came up with nothing - so this time I copied to my own text editor and then copied back so I could find the line numbers.

    In each case I found the bracket that corresponded with the first bracket after JRoute::_ and then put the extra snippet after the corresponding bracket.

    ... But I'm afraid it's not solved the problem.

    So I tried disabling Append suffix to URLs, but that didn'y make any difference either.

    I guess you may be asking yourself - did he edit the code properly? So I've zipped up copies of the edited files and attached them. Could you please check I've edited them properly.

    Otherwise - any other ideas?

    Thanks
    Phil [file name=copyhtmlphpfiles.zip size=7425]http://www.joomlamusicsolutions.com/images/fbfiles/files/copyhtmlphpfiles.zip[/file]
    Attachments:
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, November 29 2012, 07:52 PM - #Permalink
    0
    Phil, I answer you over the email :)
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, November 29 2012, 11:54 PM - #Permalink
    0
    Thanks Germi,

    There was apparently a problem uploading files. Once I re-uploaded them, the music players sprang into action!

    Thanks for all your help on this one.
    The reply is currently minimized Show
  • Accepted Answer

    RomaelZ
    RomaelZ
    Offline
    Tuesday, December 18 2012, 11:52 PM - #Permalink
    0
    Made these changes in PHP files on server. However, xml still appears when
    ?format=feed&type=xspf


    is appended to the URL of any album or artist.

    Also tried disabling appendix thing in configuration, but no joy.
    The reply is currently minimized Show
Your Reply