Results 1 to 9 of 9

Thread: Viewmusic.php BUG

  1. #1
    fatepower
    Guest

    Default Viewmusic.php BUG

    Hi all ppls
    I have seen that on the right side u can see link to the music file or Embed.
    But the URL aint rigth. For an examle so the url in the adress files is:
    http://www.pantheraonline.com/viewMusic.php?fileID=16
    But in the url box (the link box) the url is:
    http://www.pantheraonline.com/viewMusic.php?fileID=1
    Is there any fix for this? Its like it printing the profile id instead of the music id.
    Cuz im the first user, and i have id = 1 and u look on another file u see url with id = 46, but theres only 16 music files.
    SO what i think it print the profile id instead of the music id.
    You can try your self if u signup to my 6.01 site. U see the url in my comment.
    Last edited by fatepower; 09-20-2007 at 11:49 AM.

  2. #2
    fatepower
    Guest

    Default

    I fixed it by opening viewMusic.php then find:
    PHP Code:
            $sCode .= '<div>'._t("_URL").': <input type="text" onClick="this.focus(); this.select();" readonly="true" value="'.$site['url'].'viewMusic.php?fileID='.$aFile['medProfId'].'"/></div>'
    and replace with:
    PHP Code:
            $sCode .= '<div>'._t("_URL").': <input type="text" onClick="this.focus(); this.select();" readonly="true" value="'.$site['url'].'viewMusic.php?fileID='.$aFile['medID'].'"/></div>'
    I also saw that the problem is in the viewVideo.php so open that file and do the same with that. Change the medProfid to medID.

    Cheerz
    Last edited by fatepower; 09-20-2007 at 01:50 PM.

  3. #3
    PARFENON
    Guest

    Default

    thank you

  4. #4
    fatepower
    Guest

    Default

    Yea i also saw that u need to mod the file viewPhoto.php with the same thing. But the string looks kinda the same so just change the ProfmedID or something like that to ['medID']

    cheerz

  5. #5
    PARFENON
    Guest

    Default

    yes i knew tat ... it works now perfect... thanx agayn!


    greetz

  6. #6
    fatepower
    Guest

    Default

    Quote Originally Posted by PARFENON View Post
    yes i knew tat ... it works now perfect... thanx agayn!


    greetz
    Im glad that i could help

    Cheerz

  7. #7
    PARFENON
    Guest

    Default

    i have one problem more ... dont know whats wrong with watermark...

    i have uploaded one and acivated but still no changes ...

    maybe you know whats wrong ?

  8. #8
    fatepower
    Guest

    Default

    I dont know mate, i have never used it and i have readed that other members never has getted it to work. So me its wrong person to ask about that :P

    cheerz

  9. #9
    PARFENON
    Guest

    Default

    ok thx for answer ... now i know it

    greetz
    Last edited by PARFENON; 09-21-2007 at 12:15 PM. Reason: xxx

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •