nishanth
nishanth
Offline
0
hi guys,

the MC component works fine for me, i have uploaded the music using file scanning it worked fine as well. but afterward i could able play the music online through JW player, its displays error #2032. i can also able to add the track on the play list but could able to play it online. also i cant download the songs as well, when i try to click on the download icon. it's giving this error on new page:
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /homepages/4/d318289315/htdocs/jtamil/components/com_muscol/views/file/view.raw.php on line 20

could anyone help me out please?

thank you
Responses (3)
  • Accepted Answer

    Wednesday, March 03 2010, 03:23 PM - #Permalink
    0
    can you provide us your Music COllection order ID? we can't find it on our system

    thanks
    The reply is currently minimized Show
  • Accepted Answer

    Ruth
    Ruth
    Offline
    Friday, May 07 2010, 09:32 AM - #Permalink
    0
    Hi Germi,

    I've got the same error on my site, I've uploaded the files via the GUI but there didn't seem to be any files in the "songs" folder. Therefore I uploaded the files to this folder manually via FTP (they weren't huge).

    For me, the problem seemed to be also that the system tries to guess the filename rather than actually use the name of the file uploaded.

    So, for example, with the filename 1-05 Brown Eyed Girl.mp3, and the title as Brown eyed girl, the system put the filename as browneyedgirl.mp3.

    As soon as I manually over-wrote the filenames to the actual file names, it worked just fine!

    Suggest this might be something to consider, because I didn't realise it had automatically chaged the file name from what I acutally uploaded - in any case why would it be sensible to do this??

    Ruth
    The reply is currently minimized Show
  • Accepted Answer

    Friday, May 07 2010, 09:50 AM - #Permalink
    0
    no, it does not try to "guess" the filename (that would be sooooo useless!! :lol: ) its just that if you use the uploader, it renames the file to avoid strange characters.

    in your case, what happens is that the system saved the "renamed" filename on the songs table, but the song wasnt actually been uploaded (possible reasons: 1) no writing permissions on the songs folder, or 2) filesize of the files being uploaded bigger that the max filesize allowed for your system, through the php variables "max_post_size" or "max_upload_filesize". I would bet my money that the reason is option 2 :) )

    then, when you uploaded the files bia FTP, the filename wasnt changed (of course) but the songs was still pointing to that unexisting "browneyedgirl.mp3"

    so, what you have to do it to change that field (on the song form, or album form > songs tab) for the REAL filename.

    do I make myself clear? :)

    to avoid mistakes or misspell the filename when typing it, there's the highly recommended - ultra useful option of using the "folder auto scan feature":

    you upload the files by FTP, well organized in FOLDERS (one folder = one album) and then just click on "create new album using this files"

    this way you wont make typing errors, and the files will for sure be there

    more info here: http://www.joomlamusicsolutions.com/en/features/folder-auto-scanning-in-music-collection-2-0.html
    The reply is currently minimized Show
Your Reply